Upgrade from 10.10 to 11.04 fails: sunbird/karmic holds back libnss3

Bug #760713 reported by Rengarajan
36
This bug affects 9 people
Affects Status Importance Assigned to Milestone
nss (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: update-manager

I am trying to upgrade from 10.10 to 11.04 but the upgrade process fails while "calculating changes". Here is the full error message:

An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

 This can be caused by:
 * Upgrading to a pre-release version of Ubuntu
 * Running the current pre-release version of Ubuntu
 * Unofficial software packages not provided by Ubuntu

If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report.

Related branches

Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :
Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :
Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :
Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :
Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :
Revision history for this message
RedSingularity (redsingularity) wrote :

Thanks for reporting this. Can you attach your sources.list file?

Changed in update-manager (Ubuntu):
status: New → Incomplete
tags: added: maverick2natty
Revision history for this message
Michael Vogt (mvo) wrote :

One issue that I see here is that libnss3 is making trouble in the apt.log. We have a old version in dapper with a epoch so that may cause problems.
$ rmadison libnss3
   libnss3 | 3.12.9+ckbi-1.82-0ubuntu1 | natty | amd64, i386
   libnss3 | 2:1.firefox1.5.dfsg+1.5.0.3-0ubuntu3 | dapper | amd64, i386, powerpc

Revision history for this message
Michael Vogt (mvo) wrote :

It appears this all starts with:

Investigating (0) libnss3-1d [ amd64 ] < 3.12.9+ckbi-1.82-0ubuntu0.10.10.1 -> 3.12.9+ckbi-1.82-0ubuntu1 > ( libs )
Broken libnss3-1d:amd64 Depends on libnss3 [ amd64 ] < none -> 3.12.9+ckbi-1.82-0ubuntu1 > ( libs ) (= 3.12.9+ckbi-1.82-0ubuntu1)
  Considering libnss3:amd64 21 as a solution to libnss3-1d:amd64 22
  Holding Back libnss3-1d:amd64 rather than change libnss3:amd64

Could you please attach /etc/apt/preferences and attach the output of
$ apt-cache policy libnss3

Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :
Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :

rajan@rajan-960:build$ apt-cache policy libnss3
libnss3:
  Installed: (none)
  Candidate: (none)
  Version table:

Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :

I don't see the file named /etc/apt/preferences on my machine.

Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :

Here is the output for libnss3-1d package:

rajan@rajan-960:build$ apt-cache policy libnss3-1d
libnss3-1d:
  Installed: 3.12.9+ckbi-1.82-0ubuntu0.10.10.1
  Candidate: 3.12.9+ckbi-1.82-0ubuntu0.10.10.1
  Version table:
 *** 3.12.9+ckbi-1.82-0ubuntu0.10.10.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ maverick-security/main amd64 Packages
        100 /var/lib/dpkg/status
     3.12.7-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks, I just cloned your package selection and oddly enough the upgrade seems to be working for me.

Revision history for this message
Michael Vogt (mvo) wrote :

Could you try again too? Maybe it was archive churn?

Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :

I tried it again and still get same errors.

Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :

Not sure if you need me to try anything else. One other info that may be useful to you is that, I installed google-chrome browser from: http://dl.google.com/linux/chrome/deb/.

Revision history for this message
RedSingularity (redsingularity) wrote :

Is that a PPA you set up on the machine's sources.list?

Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :

Yes it is in my sources.list. I tried removing it from my sources.list and uninstalling google-chrome before I did the upgrade but that didn't work either.

Revision history for this message
RedSingularity (redsingularity) wrote :

Installing google chrome may have brought dependencies that are causing the problem. Lets check:

apt-cache depends chromium-browser

Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :

rajan@rajan-960:~$ apt-cache depends google-chrome-stable
google-chrome-stable
  Depends: ca-certificates
  Depends: libasound2
    liboss-salsa-asound2
  Depends: libatk1.0-0
  Depends: libbz2-1.0
  Depends: libc6
  Depends: libcairo2
  Depends: libcurl3
  Depends: libfontconfig1
  Depends: libfreetype6
  Depends: libgcc1
  Depends: libgconf2-4
  Depends: libglib2.0-0
  Depends: libgtk2.0-0
  Depends: libjpeg62
  Depends: libnspr4-0d
  Depends: libnss3-1d
  Depends: libpango1.0-0
  Depends: libpng12-0
  Depends: libstdc++6
  Depends: libxslt1.1
  Depends: libxss1
  Depends: lsb-base
  Depends: wget
  Depends: xdg-utils
  Depends: zlib1g
  PreDepends: dpkg
  Conflicts: <google-chrome>
    google-chrome-beta
    google-chrome-unstable
  Replaces: <google-chrome>
    google-chrome-beta
    google-chrome-stable
    google-chrome-unstable

Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :

Here is the output for chromium-browser (I only have installed google-chrome-stable package from google PPA and NOT chromium browser)

rajan@rajan-960:~$ apt-cache depends chromium-browser
chromium-browser
  Depends: libasound2
  Depends: libbz2-1.0
  Depends: libc6
  Depends: libcairo2
  Depends: libcups2
  Depends: libdbus-1-3
  Depends: libdbus-glib-1-2
  Depends: libexpat1
  Depends: libfontconfig1
  Depends: libfreetype6
  Depends: libgcc1
  Depends: libgconf2-4
  Depends: libgcrypt11
  Depends: libgdk-pixbuf2.0-0
  Depends: libglib2.0-0
  Depends: libgtk2.0-0
  Depends: libjpeg62
  Depends: libnspr4-0d
  Depends: libnss3-1d
  Depends: libpango1.0-0
  Depends: libpng12-0
  Depends: libstdc++6
  Depends: libx11-6
  Depends: libxdamage1
  Depends: libxext6
  Depends: libxrender1
  Depends: libxss1
  Depends: libxtst6
  Depends: zlib1g
  Depends: xdg-utils
  Depends: chromium-browser-inspector
 |Depends: chromium-codecs-ffmpeg
  Depends: chromium-codecs-ffmpeg-extra
  PreDepends: lzma
  Recommends: chromium-browser-l10n
  Conflicts: <chromium-testsuite>
  Replaces: <chromium-testsuite>
    chromium-browser

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I think that the problem comes from sunbird.
You have a version karmic and there is a rule "Replaces: libnss3" which holds back libnss3. Because libnss3-1d is renamed to libnss3 during the upgrade to Natty the upgrade fails.
If you remove sunbird and its dependencies you should be able to upgrade.

Note that sunbird has been removed from the archive since Lucid and is available as Thunderbird Lightning extension.

Changed in update-manager (Ubuntu):
importance: Undecided → Low
summary: - Upgrade from 10.10 to 11.04 fails
+ Upgrade from 10.10 to 11.04 fails: sunbird/karmic holds back libnss3
Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :

Removing sunbird did resolve the issue. My upgrade is going through now.

Changed in update-manager (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Rengarajan (rengarajan-iyengar) wrote :

Not sure how to close this bug. I marked it as Invalid. If thats not the right status, please change it to an appropriate status. Thanks.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I'm setting to triage because it might a corner case and rare bug, but it is valid and some users may be affected when upgrading pre-lucid systems.

Changed in update-manager (Ubuntu):
status: Invalid → Triaged
Revision history for this message
Michael Vogt (mvo) wrote :

I upgraded a new libnss3 now with a explicit conflict to ensure its upgraded early.

affects: update-manager (Ubuntu) → nss (Ubuntu)
Changed in nss (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nss - 3.12.9+ckbi-1.82-0ubuntu2

---------------
nss (3.12.9+ckbi-1.82-0ubuntu2) natty; urgency=low

  * add explicit conflict to sunbird for systems that have this
    package leftover from karmic days (LP: #760713)
 -- Michael Vogt <email address hidden> Wed, 20 Apr 2011 13:45:50 +0200

Changed in nss (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Johann Petrak (johann-petrak) wrote :

How can this be fixed? I am having the same problem and when you look into ubuntuforums.org or forums of other languages you will find countless others with the same problem. The error message does nothing to help the user figure out what is wrong in all this cases.

This is a serious issue.

Revision history for this message
ChrisHannam (chrishannam) wrote :

I had this issue after upgrading to Natty. Only fix I found was to run the following:

sudo apt-get autoclean

And for good measure:

rm /etc/apt/sources.list.d/google-chrome.list*

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.