Announcement

Collapse
No announcement yet.

apt-get full-upgrade partial failure - left with bogus update messages [SOLVED]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    apt-get full-upgrade partial failure - left with bogus update messages [SOLVED]

    I did an 'apt-get full-upgrade' as usual, to grab the latest updates, and everything went as expected - until the flash plugin update.
    My net connection failed after the main package updates had been downloaded and just before the proprietary flash binary needed to be retrieved (it was the last to be fetched) - consequently that part failed.

    All other packages were updated correctly (since the binaries had been downloaded Ok) - but the minor niggle left is that I get bogus "X packages can be updated. Y updates are security updates." messages at logon.

    It's got to the state that current available updates are displayed followed by the count of updates which were available when the flash plugin update failed.

    Today, just before performing an update:
    Code:
    Linux MyServerName 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:24:35 UTC 2011 i686 GNU/Linux
    Ubuntu 10.04.2 LTS
    
    Welcome to Ubuntu!
     * Documentation: [url]https://help.ubuntu.com/[/url]
    
    5 packages can be updated.
    5 updates are security updates.
    
    Ubuntu 10.04.2 LTS
    
    Welcome to Ubuntu!
     * Documentation: [url]https://help.ubuntu.com/[/url]
    
    39 packages can be updated.
    27 updates are security updates.
    
    Last login: Wed May 4 01:10:42 2011 from SomeLanBox
    $
    Immediately after performing the 'real' current updates shown above (5 packages):
    Code:
    Linux MyServerName 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:24:35 UTC 2011 i686 GNU/Linux
    Ubuntu 10.04.2 LTS
    
    Welcome to Ubuntu!
     * Documentation: [url]https://help.ubuntu.com/[/url]
    
    Ubuntu 10.04.2 LTS
    
    Welcome to Ubuntu!
     * Documentation: [url]https://help.ubuntu.com/[/url]
    
    39 packages can be updated.
    27 updates are security updates.
    
    Last login: Wed May 4 13:50:14 2011 from SomeLanBox
    $
    I resolved the failed flash plugin installation with 'sudo apt-get install flashplugin-nonfree' but of course the bogus 'updates available' logon messages remain.

    How can I get things 'back in sync' and restore sensible update messages at logon?
    To err is human; to moo, bovine.

    #2
    Re: apt-get full-upgrade partial failure - now stuck with bogus update messages

    Check /etc/motd.tail if it contains the "outdated" lines that are appended to your message-of-the-day.

    Similar issue on this thread: http://kubuntuforums.net/forums/inde...opic=3114189.0

    Comment


      #3
      Re: apt-get full-upgrade partial failure - left with bogus update messages [SOLVED]

      Thank you so much kubicle - it is indeed very similar to the link you posted.
      I deleted /etc/motd.tail then recreated it with touch /etc/motd.tail
      Log out, log in - only the current "real" (today's) pending updates are now showing.

      Performed an update, logged out, logged in - no updates showing.
      I now get an accurate update status prompt at login.

      Fixed!

      To err is human; to moo, bovine.

      Comment

      Working...
      X