how to update packages in debian?
Hello,
I recently installed Debain v3.1 Sarge edition and i must tell yout hat i am new to linux world. Can you please tell me what is the proper way to update any modules or libraries? For example in my debian linux i have libxml2 of v2.6.16-7 (i get this info when i run the command: dpkg -l | grep libxml) and now the latest available one is libxml2-2.6.23.tar.gz. So if i want to update this library then how to do it? Thanks in advance |
Using Sarge, you're going to have a rock solid stable distro. However, you're not going to have the "latest and greatest".
If you want to have the latest and greatest, edit your /etc/apt/sources.list file and replace every "stable" with "unstable" and every "sarge" with "sid". Then type as root apt-get update && apt-get dist-upgrade. But be aware that occasionally things might break. Unstable is actually as stable as most normal distro's like Fedora or Ubuntu. |
Thanks for the quick reply, my original /etc/apt/sources.list looks like following:
Code:
#deb file:///cdrom/ sarge main Code:
#deb file:///cdrom/ sarge main Code:
latitude:~# apt-get update |
Hi,
It's a bit different with unstable. Try this: Code:
deb http://ftp.fi.debian.org/debian/ unstable main non-free contrib |
There is no security updates for unstable. Not that it isn't secure, but the security team only does a little bit in testing and really works on stable, as that is the intended server version. You should comment out the security lists in sources.list, and that will make it a bit nicer. You also should take out the cdrom source, as the disk you have is stable, and you are now upgraded to unstable. Here is a copy of my sources.list:
Code:
deb http://ftp.debian.org/debian/ unstable main non-free contrib Peace, JimBass |
Yes i got it worked... many thanks for the help.. pljvaldez, PMorph and JimBass.
Peace out... |
All times are GMT -5. The time now is 08:04 AM. |