LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-22-2011, 02:56 PM   #1
rsduhamel
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Rep: Reputation: 0
Security updates available but apt-get/aptitude makes no changes to the system.


I am running Ubuntu 10.04 Server in a virtual machine under vSphere. Network and Internet connection is good (can ping Google and can SSH to the server).

When I log in I see:
139 packages can be updated
94 updates are security updates
"apt-get update" and "aptitude update" seem to do what they should (hits for many urls).

If I type "apt-get upgrade" it prints:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
If I type "aptitude safe-upgrade" or "aptitude dist-upgrade" it prints:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing packages states... Done
If I log out and back in I see"
139 packages can be updated
94 updates are security updates
Where am I going wrong?
 
Old 04-22-2011, 03:46 PM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
I ran into this this morning. It turns out that there is recently discovered bug (April 19th, 2011) in the motd utility that performs this check. See this link: http://fossplanet.com/f10/%5Bbug-766...dating-125436/

The link shows that the temporary workaround is to delete /etc/motd.tail.
 
Old 04-22-2011, 05:29 PM   #3
rsduhamel
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Ah Ha! I thought it might be old information stuck in the motd.tail file.

Thanks for the quick reply.

I renamed instead of deleting my /etc/motd.tail, just in case.

To check if you really have updates available type /usr/lib/update-notifier/apt-check --human-readable

Last edited by rsduhamel; 04-22-2011 at 05:30 PM.
 
  


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
I bricked my NAS? :( aptitude, apt-get, apt-cache segfaults immediately omegaworks Linux - Server 5 11-07-2009 08:21 AM
aptitude instead of apt-get cccc Debian 2 07-19-2009 01:07 PM
Aptitude detailed information about updates (What changes made to packages) jimdaworm Debian 6 02-08-2009 05:19 AM
trouble getting security updates from sudo apt-get xyla Linux - Newbie 2 07-17-2008 05:31 PM
How to install _only_ security updates with apt-get? Lotharster Linux - Newbie 4 05-10-2006 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:15 AM.

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