Results 1 to 9 of 9

Thread: Ubuntu 10.04 to 12.04 Upgrade Fail

  1. #1
    Join Date
    Dec 2012
    Beans
    3

    Ubuntu 10.04 to 12.04 Upgrade Fail

    Set my parents up with Ubuntu a year or so ago and all has been going well until they attempted to upgrade to 12.04.

    I believe they left the computer and it powered off during the upgrade and will now not do any installs or upgrades.

    When opening Synaptic Package Manager it says there is 4 broken packages.

    These are
    Code:
    libc-dev-bin
    libc6-dev
    libnih1
    python-louis
    I have tried to "Fix Broken Packages" but i get this error.

    Code:
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies
    Does anyone have any suggestions ?

    Thanks
    Lee

  2. #2
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: Ubuntu 10.04 to 12.04 Upgrade Fail

    See if an update will do any good.

    Code:
    sudo apt-get update
    Could also try a dist-upgrade (#3)

    https://help.ubuntu.com/community/Ap...nance_commands

  3. #3
    Join Date
    Dec 2012
    Beans
    3

    Re: Ubuntu 10.04 to 12.04 Upgrade Fail

    Quote Originally Posted by ibjsb4 View Post
    See if an update will do any good.

    Code:
    sudo apt-get update
    Could also try a dist-upgrade (#3)

    https://help.ubuntu.com/community/Ap...nance_commands
    Tried apt-get update and it comes back and says DONE but made no difference that I could see.

    So i tried a distributuion upgrade and received
    Code:
    E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    Some other commands I read and tried,that may help have shown that liblouis0 is missing and will not install.

  4. #4
    Join Date
    Sep 2010
    Location
    Sweden
    Beans
    Hidden!

    Re: Ubuntu 10.04 to 12.04 Upgrade Fail

    I would recommend making a fresh install instead of actually updating the distribution - it's much simpler, assuming you can back-up any files you may want to save.

    Quote Originally Posted by leescotland View Post
    Code:
    E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you  root?
    Some other commands I read and tried,that may help have shown that liblouis0 is missing and will not install.
    It complains about permission. Either use sudo to run the command or elevate your privileges to root.

  5. #5
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Ubuntu 10.04 to 12.04 Upgrade Fail

    I think you need to boot into recovery mode first, not the normal mode. In the grub2 boot menu select the recovery mode entry (if the menu doesn't show by default hold Shift while booting).

    That will show you a recovery menu. Select Network to activate internet, then in the same menu Drop to root shell.

    That will open command prompt as root. To try to fix any broken packages and finish configuring pending packages that got interrupted, try this:
    Code:
    dpkg --configure -a
    apt-get install -f
    Note that in this root shell you don't need to use sudo in front of the command because you already are as root.

    See if that helped. If it still gives you error messages, you might need to delete the file that it reports as problematic, but be careful with it, depends what that file is.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  6. #6
    Join Date
    Oct 2006
    Beans
    58,286

    Re: Ubuntu 10.04 to 12.04 Upgrade Fail

    There are so many differences between 10.04 and 12.04 I'd recommend a clean install after backing up everything that needs to be kept.

    A reinstall usually sounds a bit like using a sledgehammer to crack what should be a fairly small nut, but in terms of time it is sometimes the most expeditious route.

  7. #7
    Join Date
    Dec 2012
    Beans
    3

    Re: Ubuntu 10.04 to 12.04 Upgrade Fail

    Well been sitting here for 4 hours playing about with everything I can possibley think of and searching for every suggestion I can find on what to do with it.]

    I am sad to say that I am in agreement that a clean install may be the only way to go. Could not help but hope someone might have that magic suggestion.

  8. #8
    Join Date
    Aug 2011
    Location
    Melbourne, Australia.
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Ubuntu 10.04 to 12.04 Upgrade Fail

    Quote Originally Posted by leescotland View Post
    Well been sitting here for 4 hours playing about with everything I can possibley think of and searching for every suggestion I can find on what to do with it.]

    I am sad to say that I am in agreement that a clean install may be the only way to go. Could not help but hope someone might have that magic suggestion.
    To me there is something "magical" about a clean installation -
    PopularPages: A very handy Documentation Search Tool used by many.
    PopularPages Wiki Thread
    My New Blog

  9. #9
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Ubuntu 10.04 to 12.04 Upgrade Fail

    Quote Originally Posted by leescotland View Post
    Well been sitting here for 4 hours playing about with everything I can possibley think of and searching for every suggestion I can find on what to do with it.]

    I am sad to say that I am in agreement that a clean install may be the only way to go. Could not help but hope someone might have that magic suggestion.
    Did you try the suggestion from my post? If you are only reading the emails without visiting the forum don't forget that you receive only the first reply. The other replies are on the forum until you visit it.

    If those commands didn't help, I am all for a clean install. I never do upgrades personally, only clean installs.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

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
  •