Upgrade from Ubuntu 11.10 “Oneiric” to Ubuntu 12.04 LTS “Precise” fails with error: “Couldn’t configure pre-depend libtinfo5 for libncurses5, probably a dependency cycle.”

…Of course, the error doesn’t come until after a few hours of downloading all of the new packages.

Yet another Ubuntu upgrade bug not solved in time for release.  The details are in the bug report here.  I don’t understand how this bug has been known since February and not fixed in time for release.

The workaround: Download and install the Ubuntu 12.04 versions of libtinfo5, libncurses5, and libncursesw5 (in that order).  You will have unresolved dependencies until you install all three, but you should be able to do them one by one with dpkg -i.  (Do not just double-click and use the graphical Ubuntu software manager; use dpkg -i from the terminal.) After they are installed, run the distribution upgrade like normal.

16 thoughts on “Upgrade from Ubuntu 11.10 “Oneiric” to Ubuntu 12.04 LTS “Precise” fails with error: “Couldn’t configure pre-depend libtinfo5 for libncurses5, probably a dependency cycle.””

  1. Worked for me thanks. Ya the fact the issue was known about and not fixed because it was a lot of work is frustrating.

  2. Oh here’s the bug report on it btw https://bugs.launchpad.net/ubuntu/+source/apt/+bug/924079.

  3. Yep, I already have the bug linked in the post. I tried one of the suggestions in it first (install 12.04’s apt and python-apt) but that didn’t solve the problem for me.

  4. To add to the frustration, now the server where http://packages.ubuntu.com/precise/libtinfo5 resides is down… Way to go, Canonical!

  5. Thanks! I was frustrated because of the same problem. It sucks, that the didn’t implement a fix for this issue while in the beta phase. it really does.

    Anyhow.. this worked for me now.

  6. Thanks, works for Ubuntu Studio as well!
    btw the whole reason I installed Ubuntu Studio 11.10 in the first place was because the LiveCD installer for 12.04 doesn’t allow a software RAID install, and there is no Alternate ISO for 12.04, so I installed 11.10 from the Alternate thinking a release upgrade would “just work”… o_0

Leave a Reply

Your email address will not be published. Required fields are marked *

*