Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-10-2008, 08:37 AM
|
#1
|
|
Member
Registered: Jul 2007
Location: Cantina on Mos Eisley
Distribution: Slackware, Ubuntu
Posts: 39
Rep:
|
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.
|
|
|
|
04-10-2008, 08:51 AM
|
#2
|
|
Senior Member
Registered: Dec 2005
Posts: 1,643
Rep: 
|
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 
|
|
|
|
04-10-2008, 09:14 AM
|
#3
|
|
Member
Registered: Jul 2007
Location: Cantina on Mos Eisley
Distribution: Slackware, Ubuntu
Posts: 39
Original Poster
Rep:
|
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.
|
|
|
|
04-10-2008, 09:38 AM
|
#4
|
|
Member
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 605
Rep:
|
Quote:
Originally Posted by RexCoeus
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.
|
|
|
|
04-11-2008, 02:51 AM
|
#5
|
|
Senior Member
Registered: Dec 2005
Posts: 1,643
Rep: 
|
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/)
|
|
|
|
04-12-2008, 10:22 AM
|
#6
|
|
Member
Registered: Jul 2007
Location: Cantina on Mos Eisley
Distribution: Slackware, Ubuntu
Posts: 39
Original Poster
Rep:
|
Thanks for your help everyone.
|
|
|
|
04-12-2008, 11:07 AM
|
#7
|
|
Member
Registered: Jan 2007
Location: Wyoming
Distribution: PCLOS,Mepis, Win 7
Posts: 53
Rep:
|
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.
|
|
|
|
04-12-2008, 11:14 AM
|
#8
|
|
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:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:47 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|