Sources.list (s)

Write tutorials here
More tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please, Before you post please read this

Sources.list (s)

Postby Gerd50 on Wed Aug 17, 2011 11:44 am

1. The sources.list and their possibilities at first is not easy to understand. There are the LMDE sources latest testing,
incoming testing and the Debian sources.

For a better understanding the Debian branches first:

oldstable - Codename 'squeeze'
stable - Codename 'wheezy'
testing - Codename 'jessie'
unstable - Codename 'sid'
experimental

In the sources.list both can be used, the branch designation or the codename. For example:

Code: Select all
deb http://ftp.debian.org/debian testing main contrib non-free

Code: Select all
deb http://ftp.debian.org/debian wheezy main contrib non-free

Both variables are tracking the same source.

The basic rule is, upgrades are possible. Downgrades impossible. For instance you can upgrade from testing to unstable, but
you can't or better should not downgrade from testing to stable!



1.1 - sources.list in a fresh installed system (201108 RC/201109 ISO)

This list hopefully guarantees a best as possible stable update system

Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import

deb http://debian.linuxmint.com/latest testing main contrib non-free
deb-src http://debian.linuxmint.com/latest testing main contrib non-free
 
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free
 
 # deb http://packages.linuxmint.com/ debian main upstream import backport romeo
 # deb-src http://packages.linuxmint.com/ debian main upstream import backport romeo


Update Wed Sep 28, 20011:
Security and Multimedia repos must be changed. Edit your sources.list by typing the following command into the terminal:


Code: Select all
gksu gedit /etc/apt/sources.list

You can delete the old content and copy and paste the following list. Don't forget to save and close the file.
Your sources.list now should look like this:

Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import

deb http://debian.linuxmint.com/latest testing main contrib non-free
deb-src http://debian.linuxmint.com/latest testing main contrib non-free

deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb-src http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free

# deb http://packages.linuxmint.com/ debian main upstream import backport romeo
# deb-src http://packages.linuxmint.com/ debian main upstream import backport romeo

backport romeo component is not enabled by default. It is used by Linux Mint to test packages before they are included in other components. As such it represents the unstable branch of Linux Mint. To enable it remove the # , to disable it, add it again by
using the gksu gedit command.

For more details see: viewforum.php?f=186


1.2 - sources.list in a fresh installed system (201012/201101/201104 Xfce ISO)

Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import
deb http://ftp.debian.org/debian testing main contrib non-free
deb-src http://ftp.de.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free
 
 # deb http://packages.linuxmint.com/ debian main upstream import backport romeo
 # deb-src http://packages.linuxmint.com/ debian main upstream import backport romeo


The multimedia source was changed to:

deb http://www.deb-multimedia.org testing main non-free

The package deb-multimedia-keyring must be installed!

1.3 - a sources.list with all repositories that can be used

Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import

deb http://ftp.debian.org/debian testing main contrib non-free
deb-src http://ftp.de.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
deb http://www.deb-multimedia.org testing main non-free
 
 # deb http://packages.linuxmint.com/ debian main upstream import backport romeo
 # deb-src http://packages.linuxmint.com/ debian main upstream import backport romeo
 
 # deb http://ftp.debian.org/debian unstable main contrib non-free
 # deb-src http://ftp.debian.org/debian unstable main contrib non-free
 
 # deb http://ftp.debian.org/debian experimental main contrib non-free
 # deb-src http://ftp.debian.org/debian experimental main contrib non-free
 
 # deb http://ftp.debian.org/debian stable main contrib non-free
 # deb-src http://ftp.debian.org/debian stable main contrib non-free
 
 # deb http://debian.linuxmint.com/incoming testing main contrib non-free
 # deb-src http://debian.linuxmint.com/incoming testing main contrib non-free
 
 # deb http://debian.linuxmint.com/incoming/security testing/updates main contrib non-free
 # deb-src http://debian.linuxmint.com/incoming/security testing/updates main contrib non-free
 # deb http://debian.linuxmint.com/incoming/multimedia testing main non-free
 
 # deb http://debian.linuxmint.com/latest testing main contrib non-free
 # deb-src http://debian.linuxmint.com/latest testing main contrib non-free

 # deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
 # deb-src http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
 # deb http://debian.linuxmint.com/latest/multimedia testing main non-free

This list is usable but should only be used by those who exactly know what they are doing. Active are the sources without #. To enable sources, remove the # . To comment out (disable) them add # again.


1.4 - sources.list for tester, bughunter who want to identify broken update pks before they are ported to the latest testing sources.

Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import

deb http://debian.linuxmint.com/incoming testing main contrib non-free
deb-src http://debian.linuxmint.com/incoming testing main contrib non-free
 
deb http://debian.linuxmint.com/incoming/security testing/updates main contrib non-free
deb-src http://debian.linuxmint.com/incoming/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/incoming/multimedia testing main non-free
 
 # deb http://packages.linuxmint.com/ debian main upstream import backport romeo
 # deb-src http://packages.linuxmint.com/ debian main upstream import backport romeo

For more details see: viewforum.php?f=187


1.5 - sources.list with the most important sources for a variable handling of upgrades/downgrades

Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import

deb http://ftp.debian.org/debian testing main contrib non-free
deb-src http://ftp.de.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
deb http://www.deb-multimedia.org testing main non-free
 
 # deb http://packages.linuxmint.com/ debian main upstream import backport romeo
 # deb-src http://packages.linuxmint.com/ debian main upstream import backport romeo
 
 # deb http://ftp.debian.org/debian unstable main contrib non-free
 # deb-src http://ftp.debian.org/debian unstable main contrib non-free
 
 # deb http://ftp.debian.org/debian experimental main contrib non-free
 # deb-src http://ftp.debian.org/debian experimental main contrib non-free
 
 # deb http://ftp.debian.org/debian stable main contrib non-free
 # deb-src http://ftp.debian.org/debian stable main contrib non-free


This list also should only be used by those, who know what they are doing. If it happened for example gnome 3 pks were installed,
but they are not wanted, you can get the old pks back by activating the stable sources. Or if you want more current pks than they
are in testing, activate the unstable sources.

Don‘t forget to comment out (disable) sources with # after each action and refresh synaptic. Who forgets it, risks a broken
system!


1.6 sources.list for LMDE with Debian stable (wheezy) repos

Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb http://www.deb-multimedia.org squeeze main non-free
# deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
# deb http://www.deb-multimedia.org squeeze-backports main

In order to run LMDE with Debian stable sources install 201012 Gnome 64-bit or 201101 Gnome 32-bit and change the
sources.list after installation.

1.7 sources.list for LMDE with unstable (sid) repos

Code: Select all
## sid ##
deb http://packages.linuxmint.com/ debian main upstream import backport romeo
deb http://ftp.debian.org/debian unstable main contrib non-free
deb http://www.deb-multimedia.org sid main non-free


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Some useful links that help explain sources and package management in Debian/LMDE:

# Apt-Pinning for Beginners - http://jaqque.sbih.org/kplug/apt-pinning.html
# aptitude user's manual - http://algebraicthunk.net/~dburrows/pro ... de/doc/en/
# Apt - Debian Wiki - http://wiki.debian.org/Apt
# Aptitude - Debian Wiki - http://wiki.debian.org/Aptitude
# SourcesList - Debian Wiki - http://wiki.debian.org/SourcesList
# Official Debian mirrors http://www.debian.org/mirror/list
# Also at http://ftp.debian.org/debian/README.mirrors.txt
Last edited by Gerd50 on Thu May 23, 2013 5:52 pm, edited 59 times in total.
I believe in everything, except humans.

LM9, Debian Testing Xfce, Debian Sid Xfce - CPU/Amd64 2,6Ghz, Graphics/Nvidia 9600 GT, Sound/SB Audigy4 emu10K1
User avatar
Gerd50
Level 5
Level 5
 
Posts: 738
Joined: Wed Jul 22, 2009 3:42 pm
Location: Fishtown, Germany

Linux Mint is funded by ads and donations.
 

Re: The sources.list and their variables

Postby twa on Wed Aug 17, 2011 12:36 pm

Gerd50,
super !! many thanks for having translated it in english (I saw your web site in german).
:D
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread.
User avatar
twa
Level 4
Level 4
 
Posts: 231
Joined: Fri Sep 17, 2010 8:11 am
Location: Somewhere in the sky

Re: The sources.list and their variables

Postby Gerd50 on Wed Aug 17, 2011 12:57 pm

Thanks for your response twa :)
I believe in everything, except humans.

LM9, Debian Testing Xfce, Debian Sid Xfce - CPU/Amd64 2,6Ghz, Graphics/Nvidia 9600 GT, Sound/SB Audigy4 emu10K1
User avatar
Gerd50
Level 5
Level 5
 
Posts: 738
Joined: Wed Jul 22, 2009 3:42 pm
Location: Fishtown, Germany

Re: The sources.list and their variables

Postby AbeOwitz on Thu Aug 18, 2011 5:10 pm

This was useful, thanks!
AbeOwitz
Level 1
Level 1
 
Posts: 6
Joined: Fri Aug 12, 2011 9:30 pm

Re: The sources.list and their variables

Postby ProTacticus on Fri Aug 19, 2011 5:14 pm

Very well, thank you :)

Also, you can look this:

http://sites.google.com/site/mydebiansourceslist/
User avatar
ProTacticus
Level 1
Level 1
 
Posts: 8
Joined: Mon Aug 01, 2011 5:56 pm

Re: The sources.list and their variables

Postby Gerd50 on Fri Aug 19, 2011 5:35 pm

I am pleased, that you find it useful :D and yes, the super sources.list by craigevil is worth to study it :)
I believe in everything, except humans.

LM9, Debian Testing Xfce, Debian Sid Xfce - CPU/Amd64 2,6Ghz, Graphics/Nvidia 9600 GT, Sound/SB Audigy4 emu10K1
User avatar
Gerd50
Level 5
Level 5
 
Posts: 738
Joined: Wed Jul 22, 2009 3:42 pm
Location: Fishtown, Germany

Re: The sources.list and their variables

Postby Gerd50 on Sun Aug 21, 2011 6:12 pm

After twa reported problems with the 1.1 list

viewtopic.php?f=141&t=79803

i revised point 1.2 . For those who have installed LMDE with 201012/201101 ISO and changed their sources.list to the
latest/incoming testing sources, please take a look at it.
Last edited by Gerd50 on Mon Aug 22, 2011 10:57 am, edited 1 time in total.
I believe in everything, except humans.

LM9, Debian Testing Xfce, Debian Sid Xfce - CPU/Amd64 2,6Ghz, Graphics/Nvidia 9600 GT, Sound/SB Audigy4 emu10K1
User avatar
Gerd50
Level 5
Level 5
 
Posts: 738
Joined: Wed Jul 22, 2009 3:42 pm
Location: Fishtown, Germany

Re: The sources.list and their variables

Postby gavinhc on Mon Aug 22, 2011 9:35 am

It might be worthwhile to include a section at the end for other repositories that people may be interested in. My first suggestion for that list would be:
Code: Select all
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release

which offers quickly updated builds of Iceweasel. If you want to live even closer to the bleeding edge, replace "release" with "beta" or "aurora" to get beta and alpha builds respectively.
AMD Athlon II X4 630, 4 GB DDR3 RAM, Nvidia GeForce GT 430 - 64-bit LMDE (Gnome3) tracking testing, 64-bit Archlinux, 32-bit Windows XP
Aluminum Unibody MacBook - MacOS X 10.7 "Lion"
gavinhc
Level 2
Level 2
 
Posts: 82
Joined: Sat Oct 16, 2010 1:53 pm
Location: Canada

Re: The sources.list and their variables

Postby jlsmith722 on Tue Aug 23, 2011 11:37 am

Gerd50:
Thanks for your work on compiling the various sources lists. It will save me a lot time. I am sure others who are experimenting will also find this very useful.
[size=85]Being intelligent is not a felony. But most societies evaluate it as at least a misdemeanor.
Robert Heinlein
User avatar
jlsmith722
Level 1
Level 1
 
Posts: 48
Joined: Fri Mar 05, 2010 9:38 am

Re: The sources.list and their variables

Postby jae70888 on Tue Aug 23, 2011 11:19 pm

Thanks.. I had Gnome and XFCE before.. And on this release the kernel wouldn't update. Now I know why. Thanks again..
jae70888
Level 1
Level 1
 
Posts: 2
Joined: Tue Aug 23, 2011 11:15 pm

Re: The sources.list and their variables

Postby craigevil on Sat Aug 27, 2011 11:21 am

Some useful links that help explain sources and package management in Debian/LMDE.


# Apt-Pinning for Beginners - http://jaqque.sbih.org/kplug/apt-pinning.html
# aptitude user's manual - http://algebraicthunk.net/~dburrows/pro ... de/doc/en/
# Apt - Debian Wiki - http://wiki.debian.org/Apt
# Aptitude - Debian Wiki - http://wiki.debian.org/Aptitude
# SourcesList - Debian Wiki - http://wiki.debian.org/SourcesList
# Official Debian mirrors http://www.debian.org/mirror/list
# Also at http://ftp.debian.org/debian/README.mirrors.txt
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: The sources.list and their variables

Postby Gerd50 on Sat Aug 27, 2011 11:57 am

Thanks for the links craigevil. I copied them into the first post in order to have everything important on one view :)
I believe in everything, except humans.

LM9, Debian Testing Xfce, Debian Sid Xfce - CPU/Amd64 2,6Ghz, Graphics/Nvidia 9600 GT, Sound/SB Audigy4 emu10K1
User avatar
Gerd50
Level 5
Level 5
 
Posts: 738
Joined: Wed Jul 22, 2009 3:42 pm
Location: Fishtown, Germany

Re: The sources.list and their variables

Postby Gerd50 on Mon Aug 29, 2011 7:11 pm

Because of this

viewtopic.p ... 10&start=0
viewtopic.p ... 03&start=0

and some other reports i've added a note to point 1.1. The Debian multimedia sources may cause problems with unmet
dependencies contained in latest testing.
I believe in everything, except humans.

LM9, Debian Testing Xfce, Debian Sid Xfce - CPU/Amd64 2,6Ghz, Graphics/Nvidia 9600 GT, Sound/SB Audigy4 emu10K1
User avatar
Gerd50
Level 5
Level 5
 
Posts: 738
Joined: Wed Jul 22, 2009 3:42 pm
Location: Fishtown, Germany

Re: The sources.list and their variables

Postby Gerd50 on Tue Aug 30, 2011 6:02 am

Something new for the incoming testing repos point 1.4:

clem wrote on Tue Aug 30:

Update Pack 3 is ready for you to test ;)

WARNING: LMDE Update Packs now cover not only the Debian repository, but also the "Security" and "Multimedia" repos. Make absolutely sure you're pointing to these three repositories (and not to the original debian, security or multimedia repos):

deb http://debian.linuxmint.com/incoming testing main contrib non-free
deb http://debian.linuxmint.com/incoming/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/incoming/multimedia testing main non-free
I believe in everything, except humans.

LM9, Debian Testing Xfce, Debian Sid Xfce - CPU/Amd64 2,6Ghz, Graphics/Nvidia 9600 GT, Sound/SB Audigy4 emu10K1
User avatar
Gerd50
Level 5
Level 5
 
Posts: 738
Joined: Wed Jul 22, 2009 3:42 pm
Location: Fishtown, Germany

Re: The sources.list and their variables

Postby gosa on Fri Sep 02, 2011 9:12 am

Very nice thread, this will be very useful.

Thanks!
gosa
Level 4
Level 4
 
Posts: 304
Joined: Mon Nov 01, 2010 5:12 am
Location: Spain

Re: The sources.list and their variables

Postby Gerd50 on Sat Sep 17, 2011 6:01 pm

Who installed the new 201109 release and updated the system, even it's not recommended

viewtopic.php?f=141&t=81449

can change the sources.list to that one in point 1.4 and should be fine for now. You can switch back to latest when
the mint team announces update pack 3 is available for the latest repos.

How the sources.list for 201109 should look like in it's basics i will report here in point 1.1 when update pack 3 is
available for latest.
I believe in everything, except humans.

LM9, Debian Testing Xfce, Debian Sid Xfce - CPU/Amd64 2,6Ghz, Graphics/Nvidia 9600 GT, Sound/SB Audigy4 emu10K1
User avatar
Gerd50
Level 5
Level 5
 
Posts: 738
Joined: Wed Jul 22, 2009 3:42 pm
Location: Fishtown, Germany

Re: The sources.list and their variables

Postby bodam on Wed Sep 21, 2011 7:07 pm

I saw the email related to the Update Pack 3 testers telling them to start using these repos exclusively and no longer use any of the debian ones.

deb http://debian.linuxmint.com/incoming testing main contrib non-free
deb http://debian.linuxmint.com/incoming/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/incoming/multimedia testing main non-free

I saw all of the sources options discussed in this thread but now I'm confused. If I wanted to use the latest repos only, does it follow that I should basically have only of these in my sources?

deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
bodam
Level 1
Level 1
 
Posts: 13
Joined: Fri Aug 19, 2011 12:11 am

Re: The sources.list and their variables

Postby Gerd50 on Thu Sep 22, 2011 5:15 am

Hello bodam,

yes, the latest list you've posted will be the basic sources.list when Update Pack 3 is available for latest. Security and
multimedia will become part of “Linux Mint Debian Latest” together with the arrival of UP 3. Up to then you should be
fine with the incoming testing repos.
I believe in everything, except humans.

LM9, Debian Testing Xfce, Debian Sid Xfce - CPU/Amd64 2,6Ghz, Graphics/Nvidia 9600 GT, Sound/SB Audigy4 emu10K1
User avatar
Gerd50
Level 5
Level 5
 
Posts: 738
Joined: Wed Jul 22, 2009 3:42 pm
Location: Fishtown, Germany

Re: The sources.list and their variables

Postby craig10x on Thu Sep 22, 2011 12:19 pm

I recently installed the latest lmde re-spin iso and am pointed to the default "latest" for updates...i did do the small update 2 pack using the original source list that it came with...should i be ok when pack3 becomes available for latest (when the sources will change)?

Also, Clem mentioned that he is going to try to have the sources change over automatically for the update pack3 when it hits "latest" but in case he is unable to do that, and it had to be done manually, can you explain to me how to do it?

would i just go to edit on the update manager software sources and copy and paste the source lines you show above? Or do you do it in the terminal?
If in terminal, what would the commands be?

and then, after the new sources are added to the list...would i then delete the two older (pointed to debian testing) source lines?

please give me a simple outline for this (just in case) :wink:
craig10x
Level 7
Level 7
 
Posts: 1502
Joined: Fri Jul 03, 2009 12:44 pm

Re: The sources.list and their variables

Postby Gerd50 on Thu Sep 22, 2011 4:14 pm

All i know about UP2/UP3 is what's written in the Blog craig

Starting with Update Pack 3, “Security” and “Multimedia” become part of “Linux Mint Debian Latest”. When Update Pack 3 is made available, your sources will need to change and all of them will then point at Linux Mint. In the meantime, it is recommended not to apply updates coming from “Security” and “Multimedia”, as they might not be compatible with the packages in Update Pack 2.


If you want to go the safe way up to then if UP3 will be available for latest, disable Security and Multimedia sources.

To change the content of my sources.list i use 'gksu gedit etc/apt/sources.list'. If UP3 will be available i'll show up the new
list in point 1.1 above and you then can copy and paste it to your list. The old lines can be deleted then.
I believe in everything, except humans.

LM9, Debian Testing Xfce, Debian Sid Xfce - CPU/Amd64 2,6Ghz, Graphics/Nvidia 9600 GT, Sound/SB Audigy4 emu10K1
User avatar
Gerd50
Level 5
Level 5
 
Posts: 738
Joined: Wed Jul 22, 2009 3:42 pm
Location: Fishtown, Germany

Linux Mint is funded by ads and donations.
 
Next

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests