Results 1 to 6 of 6

Thread: 10.10 Upgrade Complete but thinks it isn't...

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Beans
    10

    Re: 10.10 Upgrade Complete but thinks it isn't...

    Added info, as someone mentioned that I should check these files:

    % cat /etc/issue
    Ubuntu 10.10 \n \l
    % cat /etc/issue.net
    Ubuntu 10.10
    % cat /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=10.10
    DISTRIB_CODENAME=maverick
    DISTRIB_DESCRIPTION="Ubuntu 10.10"

  2. #2
    Join Date
    Aug 2007
    Beans
    10

    Re: 10.10 Upgrade Complete but thinks it isn't...

    I've found the source of the issue (though not the cause).

    The problem is that the file /etc/motd contains the connect message verbatim (including the text about the pending update).

    So, I have to figure out why that didn't get updated and then everything makes sense.

  3. #3
    Join Date
    Aug 2007
    Beans
    10

    Re: 10.10 Upgrade Complete but thinks it isn't...

    I spoke too soon. Clearing the /etc/motd file and then reconnecting to SSH shows that the /etc/motd file is refreshed on connection.

    I have made sure the update-motd package is installed. Now, after clearing the motd file, I get this pile of slop:

    Linux lucifer 2.6.35-22-generic #34-Ubuntu SMP Sun Oct 10 09:24:00 UTC 2010 i686 GNU/Linux
    Ubuntu 10.10

    Welcome to Ubuntu!
    * Documentation: https://help.ubuntu.com/

    Ubuntu 10.04.1 LTS

    Welcome to Ubuntu!
    * Documentation: https://help.ubuntu.com/

    New release 'maverick' available.
    Run 'do-release-upgrade' to upgrade to it.

    Last login: Tue Oct 12 15:26:52 2010 from x.x.x.x
    So, can someone just tell me how to fix the issue that's making the motd update think there are outstanding updates?

  4. #4
    Join Date
    Aug 2007
    Beans
    10

    Re: 10.10 Upgrade Complete but thinks it isn't...

    Okay don't worry guys, I got this one.

    The old contents of the motd file appeared to have been copied to /etc/motd.tail file during the upgrade process. As a result, every time the new /etc/motd file was generated, the last part of the building of the message (99-footer) was checking to see if motd.tail existed and, if so, including it. Thus, that old message was unconditionally being shown because nothing was clearing it from the motd.tail file.

    I cleared the motd.tail file and all resolved.

    Thanks for the help!

  5. #5
    Join Date
    Apr 2007
    Beans
    Hidden!

    Re: 10.10 Upgrade Complete but thinks it isn't...

    I had the same issue. Thanks for the tipp!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •