Announcement

Collapse
No announcement yet.

Problems upgrading from 7.04

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

    Problems upgrading from 7.04

    Hello,

    I'm still running 7.04 on my desktop because the distribution update keeps failing. During "Preparing the Upgrade" it gets to downloading file 61 of 63 and then just hangs. Eventually it asks me if I want to submit a bug report, which I did the first time, which was (I think) a couple of months ago now.

    I think the Adept package manager has a similar issue when I click on "Fetch Updates". It gets to 99% hangs around for about 5 minutes, then goes back to the main screen.

    Does anyone know what wrong, or should I give up, download a CD, backup my home directory and install from scratch?

    Thanks!

    Paul
    ~~~~

    #2
    Re: Problems upgrading from 7.04

    Hi,

    I did a successful update from 07.04 to 07.10. Could you post your /etc/fstab please? Also, have you done a
    Code:
    sudo apt-get install -f
    to make sure your apt is okay?
    Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

    Comment


      #3
      Re: Problems upgrading from 7.04

      Wow!

      That was a seriously fast reply - thank you!

      Fstab follows:

      # /etc/fstab: static file system information.
      #
      # <file system> <mount point> <type> <options> <dump> <pass>
      proc /proc proc defaults 0 0
      # /dev/sda3
      UUID=611be44c-c822-4b1d-b8b3-d19798910a34 / ext3 defaults,errors=remount-ro 0 1
      # /dev/sda1
      UUID=ACE45377E453432E /media/sda1 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
      # /dev/sda2
      UUID=a5cf9106-34d6-438e-a1c6-d76f784afc15 none swap sw 0 0
      /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0

      I cannot do the apt-get right now because even after cancelling the distribution-upgrade it says that another process is using the database. Right now I'm downloading a CD image, but I shall reboot and try again when it is finished.

      Thanks again!

      Paul
      ~~~~

      Comment


        #4
        Re: Problems upgrading from 7.04

        I am sorry, I didn't mean /etc/fstab - my mistake - I meant /etc/apt/sources.list... Could you post that?

        Which process could be using apt? Any idea? To find out do a
        Code:
        ps aux|grep apt
        It should come up with two processes, one is the act of finding it and the other the process which is using it. Post the outcome of that as well...
        Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

        Comment


          #5
          Re: Problems upgrading from 7.04

          Hi Toad,

          Okay, I messed up. I hadn't fully killed the upgrade process. Here is the output from the apt-get that you asked me to run.

          root@concorde:~# apt-get install -f
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          root@concorde:~#

          sources.list follows:

          # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
          # newer versions of the distribution.

          deb http://gb.archive.ubuntu.com/ubuntu/ feisty main restricted
          deb-src http://gb.archive.ubuntu.com/ubuntu/ feisty main restricted

          ## Major bug fix updates produced after the final release of the
          ## distribution.
          deb http://gb.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
          deb-src http://gb.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

          ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
          ## team, and may not be under a free licence. Please satisfy yourself as to
          ## your rights to use the software. Also, please note that software in
          ## universe WILL NOT receive any review or updates from the Ubuntu security
          ## team.
          deb http://gb.archive.ubuntu.com/ubuntu/ feisty universe
          deb-src http://gb.archive.ubuntu.com/ubuntu/ feisty universe

          ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
          ## team, and may not be under a free licence. Please satisfy yourself as to
          ## your rights to use the software. Also, please note that software in
          ## multiverse WILL NOT receive any review or updates from the Ubuntu
          ## security team.
          deb http://gb.archive.ubuntu.com/ubuntu/ feisty multiverse
          deb-src http://gb.archive.ubuntu.com/ubuntu/ feisty multiverse

          ## Uncomment the following two lines to add software from the 'backports'
          ## repository.
          ## N.B. software from this repository may not have been tested as
          ## extensively as that contained in the main release, although it includes
          ## newer versions of some applications which may provide useful features.
          ## Also, please note that software in backports WILL NOT receive any review
          ## or updates from the Ubuntu security team.
          # deb http://gb.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
          # deb-src http://gb.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

          deb http://security.ubuntu.com/ubuntu feisty-security main restricted
          deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
          deb http://security.ubuntu.com/ubuntu feisty-security universe
          deb-src http://security.ubuntu.com/ubuntu feisty-security universe
          deb http://security.ubuntu.com/ubuntu feisty-security multiverse
          deb http://archive.ubuntu.com/ubuntu/ feisty-proposed restricted main multiverse universe
          deb http://archive.ubuntu.com/ubuntu/ feisty-updates restricted main multiverse universe
          deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse
          deb http://antesis.freecontrib.org/mirrors/ubuntu/plf/ breezy free non-free

          Does this help at all?

          Thanks again!

          Paul
          ~~~~

          Comment


            #6
            Re: Problems upgrading from 7.04

            Thank you. And yes, it does. All your repositories are still pointing to feisty! Now you should change all the feisty entries to read gutsy and then attempt a
            Code:
            sudo apt-get dist-upgrade
            Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

            Comment


              #7
              Re: Problems upgrading from 7.04

              Okay, did that and this is what happened:

              root@concorde:~# sudo apt-get dist-upgrade
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              Calculating upgrade... Done
              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

              Which I suspect is not what you imagined would happen.

              As I write this I'm running adept again. Once again its stopped after 99% of downloading the updates.... So, I still don't know how many packages it wants to upgrade.

              I'll let you know what happens.

              Paul
              ~~~~

              Comment


                #8
                Re: Problems upgrading from 7.04

                Okay, its now working. Looks like part of the problem was that there was an old breezy contrib repository in my sources.list. Just commenting that out made things much better.

                Thanks very much for your help!

                Paul
                ~~~~

                Comment


                  #9
                  Re: Problems upgrading from 7.04

                  Glad it worked. I also forgot to say that after having changed everything from "feisty" to "gutsy" you should have run "sudo apt-get update" first! Only then does "sudo apt-get dist-upgrade" work.
                  Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                  Comment

                  Working...
                  X