Page 1 of 4

Sources.list (s)

Posted: Wed Aug 17, 2011 11:44 am
by Gerd50
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: http://forums.linuxmint.com/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: http://forums.linuxmint.com/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

Re: The sources.list and their variables

Posted: Wed Aug 17, 2011 12:36 pm
by twa
Gerd50,
super !! many thanks for having translated it in english (I saw your web site in german).
:D

Re: The sources.list and their variables

Posted: Wed Aug 17, 2011 12:57 pm
by Gerd50
Thanks for your response twa :)

Re: The sources.list and their variables

Posted: Thu Aug 18, 2011 5:10 pm
by AbeOwitz
This was useful, thanks!

Re: The sources.list and their variables

Posted: Fri Aug 19, 2011 5:14 pm
by ProTacticus
Very well, thank you :)

Also, you can look this:

http://sites.google.com/site/mydebiansourceslist/

Re: The sources.list and their variables

Posted: Fri Aug 19, 2011 5:35 pm
by Gerd50
I am pleased, that you find it useful :D and yes, the super sources.list by craigevil is worth to study it :)

Re: The sources.list and their variables

Posted: Sun Aug 21, 2011 6:12 pm
by Gerd50
After twa reported problems with the 1.1 list

http://forums.linuxmint.com/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.

Re: The sources.list and their variables

Posted: Mon Aug 22, 2011 9:35 am
by gavinhc
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.

Re: The sources.list and their variables

Posted: Tue Aug 23, 2011 11:37 am
by jlsmith722
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.

Re: The sources.list and their variables

Posted: Tue Aug 23, 2011 11:19 pm
by jae70888
Thanks.. I had Gnome and XFCE before.. And on this release the kernel wouldn't update. Now I know why. Thanks again..

Re: The sources.list and their variables

Posted: Sat Aug 27, 2011 11:21 am
by craigevil
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

Re: The sources.list and their variables

Posted: Sat Aug 27, 2011 11:57 am
by Gerd50
Thanks for the links craigevil. I copied them into the first post in order to have everything important on one view :)

Re: The sources.list and their variables

Posted: Mon Aug 29, 2011 7:11 pm
by Gerd50
Because of this

http://forums.linuxmint.com/viewtopic.p ... 10&start=0
http://forums.linuxmint.com/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.

Re: The sources.list and their variables

Posted: Tue Aug 30, 2011 6:02 am
by Gerd50
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

Re: The sources.list and their variables

Posted: Fri Sep 02, 2011 9:12 am
by gosa
Very nice thread, this will be very useful.

Thanks!

Re: The sources.list and their variables

Posted: Sat Sep 17, 2011 6:01 pm
by Gerd50
Who installed the new 201109 release and updated the system, even it's not recommended

http://forums.linuxmint.com/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.

Re: The sources.list and their variables

Posted: Wed Sep 21, 2011 7:07 pm
by bodam
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

Re: The sources.list and their variables

Posted: Thu Sep 22, 2011 5:15 am
by Gerd50
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.

Re: The sources.list and their variables

Posted: Thu Sep 22, 2011 12:19 pm
by craig10x
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:

Re: The sources.list and their variables

Posted: Thu Sep 22, 2011 4:14 pm
by Gerd50
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.