LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   update security with apt-get (http://www.linuxquestions.org/questions/debian-26/update-security-with-apt-get-183986/)

waffe 05-21-2004 01:52 AM

update security with apt-get
 
Hi I found these simple instructions on the net for updating my Debian Woody Linux box.

debian vi /etc/apt/sources.list
deb http://http.us.debian.org/debian testing main contrib non-free

debian# apt-get dist-upgrade
debian# apt-get update
debian# apt-get upgrade

Now when I run the first step apt-get says itís going to upgrade 199 packages and install 68 new packages totaling 117MB.

I have had some real bad times with apt-get in the past, very powerful way to bring your server down. :cry: So I am asking if this is the correct way to update my Debian box

Thanks,

WAFFE

TigerOC 05-21-2004 03:25 AM

I encountered a broken package in testing recently. It was not that it affected my system at all but the app is one I work with all the time and I had no access to it for 2 weeks while it was fixed. Someone on my local LUG gave an excellent tip - apt-get install apt-listbugs. What this does is tells you if there any reported bugs and the severity in the packages being upgraded before the upgrade is performed. If you feel unhappy about it then abort the upgrade at that stage. Debian is the greatest!

andmalc 05-21-2004 09:37 PM

Re: update security with apt-get
 
Quote:

Originally posted by waffe
Hi I found these simple instructions on the net for updating my Debian Woody Linux box.

debian vi /etc/apt/sources.list
deb http://http.us.debian.org/debian testing main contrib non-free

debian# apt-get dist-upgrade
debian# apt-get update
debian# apt-get upgrade

First run update, then dist-upgrade. You wouldn't run both upgrade and and dist-upgrade. Read the man page to learn what the difference is.

Also, get used to using aptitude instead of straight apt-get. This is now the recommended tool for console package management. You'll need to read the README in /usr/share/doc/aptitude to get the hang of it but you'll soon learn to love it.


All times are GMT -5. The time now is 09:12 PM.