Sources.list (s)

Archived topics about LMDE 1 and LMDE 2
Gerd50

Sources.list (s)

Post 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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 60 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
twa

Re: The sources.list and their variables

Post by twa »

Gerd50,
super !! many thanks for having translated it in english (I saw your web site in german).
:D
Gerd50

Re: The sources.list and their variables

Post by Gerd50 »

Thanks for your response twa :)
AbeOwitz

Re: The sources.list and their variables

Post by AbeOwitz »

This was useful, thanks!
ProTacticus

Re: The sources.list and their variables

Post by ProTacticus »

Very well, thank you :)

Also, you can look this:

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

Re: The sources.list and their variables

Post by Gerd50 »

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

Re: The sources.list and their variables

Post 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.
Last edited by Gerd50 on Mon Aug 22, 2011 10:57 am, edited 1 time in total.
gavinhc

Re: The sources.list and their variables

Post 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.
jlsmith722

Re: The sources.list and their variables

Post 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.
jae70888

Re: The sources.list and their variables

Post by jae70888 »

Thanks.. I had Gnome and XFCE before.. And on this release the kernel wouldn't update. Now I know why. Thanks again..
craigevil

Re: The sources.list and their variables

Post 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
Gerd50

Re: The sources.list and their variables

Post by Gerd50 »

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

Re: The sources.list and their variables

Post 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.
Gerd50

Re: The sources.list and their variables

Post 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
gosa
Level 4
Level 4
Posts: 317
Joined: Mon Nov 01, 2010 5:12 am
Location: Spain

Re: The sources.list and their variables

Post by gosa »

Very nice thread, this will be very useful.

Thanks!
Gerd50

Re: The sources.list and their variables

Post 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.
bodam

Re: The sources.list and their variables

Post 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
Gerd50

Re: The sources.list and their variables

Post 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.
craig10x

Re: The sources.list and their variables

Post 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:
Gerd50

Re: The sources.list and their variables

Post 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.
Locked

Return to “LMDE Archive”