Announcement

Collapse
No announcement yet.

[SOLVED] Ubuntu 10.04.1 LTS AND 10.10 on same machine??

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

    [SOLVED] Ubuntu 10.04.1 LTS AND 10.10 on same machine??

    After an otherwise pretty successful upgrade, I get - and only on rescue-prompt - :
    ...
    ... 2.6.35-22 ....
    Ubuntu 10.10
    Welcome to Ubuntu!
    ...
    Ubuntu 10.04.1 LTS
    Welcome to Ubuntu!
    ...
    978 packages can be updated
    0 updates are security updates.

    And then, when I start the WiFi and make sudo apt-get update && udo apt-get upgrade, it says that there is nothing to be upgraded.
    And then I reboot, and everything is fine, except when I use Rescue.
    I would gladly disregard this, but I have as well some problems with GLX (speed) and sound (card not recognized).
    http://kubuntuforums.net/forums/inde...opic=3114088.0

    I'm really curious now where this could come from?
    All /etc/apt/sources.list lines contain 'maverick'.

    Uwe

    #2
    Re: Ubuntu 10.04.1 LTS AND 10.10 on same machine??

    apt-get upgrade won't upgrade packages that due to changed dependencies require installation of new packages and/or removal of installed packages, you need apt-get dist-upgrade to upgrade those packages:
    Code:
    sudo apt-get update && sudo apt-get dist-upgrade
    (since dist-upgrade may remove installed packages, you should review what it wants to remove before accepting the upgrade...so nothing critical will get removed.)

    Comment


      #3
      Re: Ubuntu 10.04.1 LTS AND 10.10 on same machine??

      Thanks, but I'm quite seasoned and did that, of course. No result: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      And the TWO Ubuntus are still there ...
      Question: Where could it have stored the 978 packages to be upgraded? I guess these are the ones associated with 10.04.1 LTS to 10.10.

      Comment


        #4
        Re: Ubuntu 10.04.1 LTS AND 10.10 on same machine??

        Ah, I'm sorry...I should have read your post more carefully.

        You mean that you get both:
        Ubuntu 10.10
        Welcome to Ubuntu!
        ...
        Ubuntu 10.04.1 LTS
        Welcome to Ubuntu!
        when booting into rescue mode?

        Comment


          #5
          Re: Ubuntu 10.04.1 LTS AND 10.10 on same machine??

          Originally posted by kubicle
          Ah, I'm sorry...I should have read your post more carefully.

          You mean that you get both:
          No worries, mate!
          Yes, I do get both. And I *guess* the 978 must have something to do with the odd 10.04.1 LTS (that I never installed). I really wonder where it keeps this information? and from where it calculates the 978 packages??

          Comment


            #6
            Re: Ubuntu 10.04.1 LTS AND 10.10 on same machine??

            I'd say your machine is fully upgraded, and it's just the motd (message-of-the-day) displayed on console logins that's bonkers (displaying both old "10.04+978 upgradeable packages" and new "10.10" information.

            the motd should be updated dynamically (created from files in /etc/update-motd.d/ and /etc/motd.tail), but something seems to be amiss here.

            motd creation should be handled by a pam module nowadays, so it might be an issue with the module in rescue mode or root login (if you only get that in the rescue mode). I'd still check what /etc/update.motd.d/ contains.

            Comment


              #7
              Re: Ubuntu 10.04.1 LTS AND 10.10 on same machine??

              Originally posted by kubicle
              I'd say your machine is fully upgraded, and it's just the motd (message-of-the-day) displayed on console logins that's bonkers (displaying both old "10.04+978 upgradeable packages" and new "10.10" information.

              I'd still check what /etc/update.motd.d/ contains.
              I'd have thought so ('fully upgraded') were it not for the padevchooser to hang, and the sluggish nvidia.

              $ cat /etc/update-motd.d/
              00-header 90-updates-available 99-footer
              10-help-text 91-release-upgrade
              20-cpu-checker 98-reboot-required

              $ cat /etc/update-motd.d/00-header
              #!/bin/sh
              uname -a
              printf "%s\n" "$(lsb_release -s -d)"
              $ cat /etc/update-motd.d/10-help-text
              #!/bin/sh
              if uname -r | grep -qs "\-server"; then
              echo
              echo "Welcome to the Ubuntu Server!"
              echo " * Documentation: http://www.ubuntu.com/server/doc"
              else
              echo
              echo "Welcome to Ubuntu!"
              echo " * Documentation: https://help.ubuntu.com/"
              fi
              $ cat /etc/update-motd.d/20-cpu-checker
              #!/bin/sh
              exec /usr/lib/update-notifier/update-motd-cpu-checker
              $ cat /etc/update-motd.d/90-updates-available
              #!/bin/sh
              exec /usr/lib/update-notifier/update-motd-updates-available
              $ cat /etc/update-motd.d/91-release-upgrade
              #!/bin/sh
              exec /usr/lib/update-manager/release-upgrade-motd
              $ cat /etc/update-motd.d/98-reboot-required
              #!/bin/sh
              exec /usr/lib/update-notifier/update-motd-reboot-required
              $ cat /etc/update-motd.d/99-footer
              #!/bin/sh
              # motd.tail is reserved for the admin to append static
              # trailing information to a dynamically generated
              # /etc/motd.
              #
              # To add dynamic information, add a numbered
              # script to /etc/update-motd.d/
              [ -f /etc/motd.tail ] && cat /etc/motd.tail || true

              $ lsb_release -a
              No LSB modules are available.
              Distributor ID: Ubuntu
              Description: Ubuntu 10.10
              Release: 10.10
              Codename: maverick

              $ uname -r
              2.6.35-22-generic

              $ cat /etc/motd.tail
              Ubuntu 10.04.1 LTS

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

              978 packages can be updated.
              0 updates are security updates.

              So here's the culprit.

              Where's the bug?

              Uwe

              Comment


                #8
                Re: Ubuntu 10.04.1 LTS AND 10.10 on same machine??

                Originally posted by udippel
                So here's the culprit.
                Yup, the /etc/motd.tail is the culprit

                The contents of that file gets appended via /etc/update-motd.d/99-footer to the dynamically created /etc/motd (which is actually a symlink to /var/run/motd).

                I can't really say why you have the lucid text in motd.tail (could be a left over from the old update-motd, but I can't remember whether lucid used the old update-motd)...in the new style of handling motd, motd.tail is a way for sysadmins to add static information to motd, and I think it's empty by default.

                As a quick solution, you can delete the text from /etc/motd.tail and test your motd with (for example):
                Code:
                run-parts /etc/update-motd.d
                I'd have thought so ('fully upgraded') were it not for the padevchooser to hang, and the sluggish nvidia.
                IMO, These issues are not related to this one.

                Comment


                  #9
                  Re: Ubuntu 10.04.1 LTS AND 10.10 on same machine??

                  Yes, it is okay now.
                  Thanks!

                  Uwe

                  Comment

                  Working...
                  X