LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 05-21-2004, 12:52 AM   #1
waffe
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 69

Rep: Reputation: 15
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. So I am asking if this is the correct way to update my Debian box

Thanks,

WAFFE
 
Old 05-21-2004, 02:25 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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!
 
Old 05-21-2004, 08:37 PM   #3
andmalc
LQ Newbie
 
Registered: Nov 2003
Distribution: Debian
Posts: 19

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
Can't update security (apt-get) eeried Linux - Newbie 0 07-14-2004 03:50 PM
Does 'apt-get update' update the database used by 'apt-cache'? davidas Debian 5 04-20-2004 01:27 AM
apt-get doesnt get security update gongli Debian 4 04-14-2004 08:56 PM
Slackware Security Update: GDM security update phoeniXflame Slackware 2 08-26-2003 04:21 PM


All times are GMT -5. The time now is 05:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration