Debian sarge sources.list e apt-get, first steps
Hi guys!
Maybe my question is too simple (excuse me). I've just completed the installation of Debian Sarge 3.1r0a (with kde) from a dvd disc. I want that my distro remains sarge because I will use it as a mini-server (web,mail,mysql,php,ftp,samba and something else) and so I moreover need stability and security. At this moment my sources.list contains just a reference to the dvd disc. How can I add official repositries (updated and fast)? Also repositries with non-gpl packets are good (I know this is out of "Debian philosophy" but they can be useful). Ehm... after modifying sources.list, is it enough to run apt-get update to update everything to the last sarge-stable version? Thank you very very much for any kind of suggestion! :) |
Add this in your /etc/apt/sources.list:
############## ### STABLE ### ############## #Stable Sarge deb ftp://ftp.it.debian.org/debian/ stable main contrib non-free #Stable Sarge Sources deb-src ftp://ftp.it.debian.org/debian/ stable main contrib non-free #Security Updates Stable deb http://security.debian.org/ stable/updates main contrib non-free And apt-get update after this to take into account this list Then apt-get upgrade to upgrade |
just a doubt
Thank you very very much!
Just a doubt::confused: I thought that apt-get upgrade should be used to convert a stable-sarge to an unstable-testing... I want to stay with sarge-stable! Last thing: what's the difference between apt-get upgrade and apt-get -f dist-upgrade Thanks again! |
No, its apt-get dist-upgrade that is prefered when changing between release. See this: http://wiki.arslinux.com/Debian
apt-get -f , I've never used because was never needed and I don't like a stupid algorithm choosing for me. If you will stay in sarge, I doubt you will have conflicts. Anyway aptitude has a better algorithm for resolving problems. |
Thanks!
Thanks! |
if you just keep your sources list as was posted above then you wont ever have packages other then from sarge. If you did an apt-get dist-upgrade this would bring tyour system completely uptodate with sarge so all packages that had updates for sarge available would be upgraded.
|
Quote:
|
if you type in a terminal man apt-get it will tell you all of the cmmands for apt-get and what they do.
|
Here is my sources.list
#deb file:///cdrom/ sarge main #deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-2 (20050607)]/ unstable contrib main #deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)]/ unstable contrib main ############## ### STABLE ### ############## #Stable Sarge deb ftp://ftp.it.debian.org/debian/ stable main contrib non-free #Stable Sarge Sources deb-src ftp://ftp.it.debian.org/debian/ stable main contrib non-free # FASTWEB deb http://debian.fastweb.it/debian/ stable main contrib non-free deb-src http://debian.fastweb.it/debian/ stable main contrib non-free #Security Updates Stable deb http://security.debian.org/ stable/updates main contrib non-free |
Just one change I would make:
Quote:
|
Quote:
Thank you very much! I modified my sources.list according to your suggestions (I also prefer to do dist upgrade manually). Thanks! |
All times are GMT -5. The time now is 08:26 PM. |