Sources.list (s)
Posted: 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:
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
Update Wed Sep 28, 20011:
Security and Multimedia repos must be changed. Edit your sources.list by typing the following command into the terminal:
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:
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)
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
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.
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
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
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
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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
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
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
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
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
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
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
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
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
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
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