LinuxQuestions.org
Register a domain and help support LQ
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 04-10-2008, 09:37 AM   #1
RexCoeus
Member
 
Registered: Jul 2007
Location: Cantina on Mos Eisley
Distribution: Slackware, Ubuntu
Posts: 39

Rep: Reputation: 15
updating debian


Hello everyone... I installed a debian 4.0r3 net install about a month ago, and I haven't gotten any updates since the install. I know that with a net install it downloads the latest packages automatically, but there have been multiple security advisories I have yet to patch.

My question is this... do the "apt-get upgrade" "apt-get update" commands download and install updates for packages and security advisories. I'm getting the feeling that they do not, as I haven't had an update for a while now. If not, what is the proper method to update packages/advisories. Should I go to the debian site and download each advisory individually? Thanks for the help.
 
Old 04-10-2008, 09:51 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,684

Rep: Reputation: 124Reputation: 124
Well, first of all, I'd suggest that you reverse the order of those commands: first the update, then the upgrade To be done quickly, do as root:
Code:
apt-get update && apt-get dist-upgrade
This updates everything on your machine, including the critical elements of your distro, an ordinairy apt-get update doesn't
 
Old 04-10-2008, 10:14 AM   #3
RexCoeus
Member
 
Registered: Jul 2007
Location: Cantina on Mos Eisley
Distribution: Slackware, Ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
Sorry about that, type on my part. I think my problem lies in /etc/apt/sources.list. I have a feeling that the file isn't configured properly. Here is what I have:


deb http://http.us.debian.org/debian stable main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free


Do those look right to you? When I run apt-get update, it seems to download updates to the package list, but when I run apt-get upgrade after it doesn't install any new packages. I'm 99% sure I'm NOT up-to-date with everything, so there has to be some kind of error on my part that I'm not seeing. Thanks for your help.
 
Old 04-10-2008, 10:38 AM   #4
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 625

Rep: Reputation: 32
Quote:
Originally Posted by RexCoeus View Post
Hello everyone... I installed a debian 4.0r3 net install about a month ago, and I haven't gotten any updates since the install. I know that with a net install it downloads the latest packages automatically, but there have been multiple security advisories I have yet to patch.

My question is this... do the "apt-get upgrade" "apt-get update" commands download and install updates for packages and security advisories. I'm getting the feeling that they do not, as I haven't had an update for a while now. If not, what is the proper method to update packages/advisories. Should I go to the debian site and download each advisory individually? Thanks for the help.
Debian Stable is just that....no updated except for security.....If this is not a production box, you can try debian Lenny (testing) and you will have updates and new packages almost daily.
 
Old 04-11-2008, 03:51 AM   #5
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,684

Rep: Reputation: 124Reputation: 124
Utanja is right, Debian Stable only gets sporadic updates. For daily use you don't want to run the risk of breaking something on your machine, that's why the Debian dev's call it Testing and Unstable: it has a reason

Anyway, your sources.list looks OK to me, but check the sticky on that subject to see if yours can be improved. (imho it can, by adding the multi-media repo: http://www.debian-multimedia.org/)
 
Old 04-12-2008, 11:22 AM   #6
RexCoeus
Member
 
Registered: Jul 2007
Location: Cantina on Mos Eisley
Distribution: Slackware, Ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks for your help everyone.
 
Old 04-12-2008, 12:07 PM   #7
Bill_Hwy
Member
 
Registered: Jan 2007
Location: Wyoming
Distribution: PCLOS,Mepis, Win 7
Posts: 53

Rep: Reputation: 15
I just did the update/upgrade thing for my Debian. here are two lines you might try in the sources.list:

deb http://ftp.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib

Comment out everything else... I got about 500 meg of new stuff. The fact that the new stuff is coming from "testing" (Lenny) doesn't seem to make any difference. Debian's "testing" is more stable than the "stable" version of a lot of distros. I have seen no ill effects in my installation.
 
Old 04-12-2008, 12:14 PM   #8
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
I trust the OP would realize that by following Bill_Hwy's advice, he will no longer be running Etch (Stable). OTOH, it's not really a full upgrade to Lenny either. My own advice would be to complete the full-upgrade to Lenny, but make sure you know what you're doing. Don't mess with your sources.list just to get some updates. That file is the heart and soul of Debian, and changing it without understanding what you are doing is a sure fire road to disaster.
 
  


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
Updating Debian Etch to Debian Lenny bartock Debian 4 02-09-2008 09:15 AM
Updating more debian machines at once ? sarajevo Debian 2 03-04-2007 07:17 AM
Updating Grub - Debian ghughes20 Linux - Newbie 3 10-25-2005 11:36 AM
Updating debian for glib6 RRolleston Debian 1 12-19-2004 05:38 PM
Debian Menus not updating reyemarr Debian 0 03-22-2004 07:27 AM


All times are GMT -5. The time now is 10:02 AM.

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