LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-08-2011, 10:53 PM   #1
wenall
LQ Newbie
 
Registered: May 2010
Posts: 6

Rep: Reputation: 0
How do I get the updates and security updates


It tells me that I need to do an update and a security update. I go to root, do an apt-get update, it goes thru the procedure which looks like it is obtaining the updates and all but when it reboots I still get the notification that I need to still do them.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-08-2011, 11:30 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by wenall View Post
It tells me that I need to do an update and a security update. I go to root, do an apt-get update, it goes thru the procedure which looks like it is obtaining the updates and all but when it reboots I still get the notification that I need to still do them.
You need to do this:

Code:
apt-get update && apt-get upgrade
update gets an updated package list

upgrade will actually update all the packages that you have that have an update available.
 
2 members found this post helpful.
Old 07-09-2011, 02:41 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
If you are new to Debian it would be helpful for you to take a look at:
Grokking Debian GNU/Linux - https://www.linuxquestions.org/quest...nu-linux-3073/

APT and Dpkg Quick Reference Sheet - http://www.cyberciti.biz/ref/apt-dpkg-ref.html
Quote:
apt-get update Updates packages listings from Debian mirrors, should be run at least once a day if you install anything that day, and every time after /etc/apt/sources.list is changed.

apt-get upgrade [-u] Upgrades all packages installed to newest versions available. Will not install new or remove old packages. If a package changes dependencies and requires installation of a new package, it will not be upgraded, it will be put on hold instead. apt-get upgrade will not upgrade packages put on hold (that is the meaning of hold). See below for how to manually put packages on hold. I suggest the `-u' option as well, because then you can see what packages are going to be upgraded.

apt-get dist-upgrade [-u] Similar to apt-get upgrade, except that dist-upgrade will install or remove packages to satisfy dependencies.
 
1 members found this post helpful.
Old 07-10-2011, 04:17 PM   #4
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
iirc, for security updates you need to add a line to /etc/apt/sources.list for a special repository.
I think its not there by default.
 
  


Reply



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
security updates for 10.2? l33t_c0w Slackware 4 02-15-2007 10:32 PM
Security Updates jakebhoy Mandriva 2 09-04-2005 06:41 PM
Security Updates Gonto Mandriva 4 04-15-2005 05:40 AM
Need Security Updates........I think. unixfreak Linux - Security 1 08-27-2004 12:30 PM
security updates Tigger Linux - Security 1 09-16-2003 09:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration