unmet dependencies during update of nspr4: libnspr4 : Breaks: evolution-plugins (< 3.2.0-0ubuntu2) but 2.32.2-0ubuntu7 is to be installed

Bug #1036794 reported by Ashutosh
130
This bug affects 18 people
Affects Status Importance Assigned to Milestone
nspr (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
High
Steve Langasek

Bug Description

[Impact]
An SRU of nspr to make CD-based upgrades work better from 10.04 to 12.04 has caused failures in other cases where users have continuously upgraded their systems from Ubuntu 9.04 or earlier and as a result have had old, obsolete evolution packages held back. These users can now not upgrade at all using update-manager.

[Test case]
1. Fish an old Ubuntu 9.04 CD out of the drawer and install in English. Make sure that the language-support-en package and language-support-translations-en are installed.
2. Manually upgrade to 10.04. Check that language-support-en is still installed.
3. Run update-manager -d to upgrade to 12.04. Verify that this upgrade fails.
4. Enable -proposed, so that precise-proposed will be used in the upgrade to 12.04.
5. Run update-manager -d again. Verify that the upgrade now succeeds.

Alternatively:
1. Get a 12.04 chroot
2. Add natty and jaunty (http://old-releases.ubuntu.com) to /etc/apt/sources.list
3. sudo apt-get install evolution-plugins/natty evolution-common/natty libnspr4/natty language-support-translations-en/jaunty language-support-en/jaunty language-support-writing-en/jaunty
4. Drop natty and jaunty from /etc/apt/sources.list
5. Check that system is broken in apt-get -f install or apt-get dist-upgrade
6. Get new libnspr4
7. Upgrade now works, removing language-support-translations-en and language-support-en

[Regression potential]
The risk of regression here is difficult to quantify without an exhaustive examination of all historic packages in Ubuntu that depended on one or more of these now-obsolete language support packages. Adding these Conflicts may result in other, different upgrade failures for yet another set of users. What can be said is that any user affected by either this regression, or a regression resulting from this change, had obsolete packages installed which should be removed from their system; and the only effective way to identify any such remaining cases is by making the upgrade to 12.04 refuse to work until they've been dealt with.

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

Please report this bug against the 'update-manager' package and include the following error message:
'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'

Package dependencies cannot be resolved

This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.

The following packages have unmet dependencies:

libnspr4:

Trace from Resolver:
Investigating (9) libnspr4 [ i386 ] < 4.8.9-1ubuntu2 -> 4.8.9-1ubuntu2.1 > ( libs )
Broken libnspr4:i386 Breaks on evolution-plugins [ i386 ] < 2.32.2-0ubuntu7 -> 3.2.3-0ubuntu6 > ( gnome ) (< 3.2.0-0ubuntu2)
  Considering evolution-plugins:i386 3 as a solution to libnspr4:i386 128
  Upgrading evolution-plugins:i386 due to Breaks field in libnspr4:i386
Investigating (9) evolution-plugins [ i386 ] < 2.32.2-0ubuntu7 -> 3.2.3-0ubuntu6 > ( gnome )
Broken evolution-plugins:i386 Depends on evolution [ i386 ] < none -> 3.2.3-0ubuntu6 > ( gnome ) (= 3.2.3-0ubuntu6)
  Considering evolution:i386 5 as a solution to evolution-plugins:i386 3
  Holding Back evolution-plugins:i386 rather than change evolution:i386
Done
Failed
The following packages have unmet dependencies:
 libnspr4 : Breaks: evolution-plugins (< 3.2.0-0ubuntu2) but 2.32.2-0ubuntu7 is to be installed

----------------
1. Description: Ubuntu 12.04.1 LTS
Release: 12.04
---------------
2. apt-cache policy libnspr4
libnspr4:
  Installed: 4.8.9-1ubuntu2
  Candidate: 4.8.9-1ubuntu2.1
  Version table:
     4.8.9-1ubuntu2.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
 *** 4.8.9-1ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status
----------------
3. Update Manager should work properly

4. Update Manager Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: update-manager 1:0.156.14.9
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic i686
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
CurrentDmesg.txt:
 [ 49.935139] r8169 0000:01:00.0: eth0: link up
 [ 49.935343] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 [ 51.500059] init: plymouth-stop pre-start process (1860) terminated with status 1
 [ 59.560012] lxcbr0: no IPv6 routers present
 [ 59.952011] eth0: no IPv6 routers present
Date: Wed Aug 15 00:22:38 2012
GsettingsChanges:
 com.ubuntu.update-manager first-run false
 com.ubuntu.update-manager launch-time 1344969604
 com.ubuntu.update-manager show-details true
 com.ubuntu.update-manager window-height 664
 com.ubuntu.update-manager window-width 525
PackageArchitecture: all
SourcePackage: update-manager
UpgradeStatus: Upgraded to precise on 2012-03-09 (158 days ago)

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

Thanks for your report.

Could you please attach the output of the command:
$ sudo apt-get -o Debug::pkgProblemResolver=true dist-upgrade

Thanks in advance.

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Ashutosh (ashutosh441) wrote : Re: [Bug 1036794] Re: Package dependencies cannot be resolved
Download full text (3.1 KiB)

Hi

Please find in attachment.

Thank you

Regards
Ashutosh

On 15 August 2012 01:05, Jean-Baptiste Lallement
<email address hidden>wrote:

> Thanks for your report.
>
> Could you please attach the output of the command:
> $ sudo apt-get -o Debug::pkgProblemResolver=true dist-upgrade
>
> Thanks in advance.
>
> ** Changed in: update-manager (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1036794
>
> Title:
> Package dependencies cannot be resolved
>
> Status in “update-manager” package in Ubuntu:
> Incomplete
>
> Bug description:
> Could not calculate the upgrade
>
> An unresolvable problem occurred while calculating the upgrade.
>
> Please report this bug against the 'update-manager' package and include
> the following error message:
> 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be
> caused by held packages.'
>
> Package dependencies cannot be resolved
>
> This error could be caused by required additional software packages
> which are missing or not installable. Furthermore there could be a
> conflict between software packages which are not allowed to be
> installed at the same time.
>
> The following packages have unmet dependencies:
>
> libnspr4:
>
> ----------------
> 1. Description: Ubuntu 12.04.1 LTS
> Release: 12.04
> ---------------
> 2. apt-cache policy libnspr4
> libnspr4:
> Installed: 4.8.9-1ubuntu2
> Candidate: 4.8.9-1ubuntu2.1
> Version table:
> 4.8.9-1ubuntu2.1 0
> 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main
> i386 Packages
> *** 4.8.9-1ubuntu2 0
> 500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386
> Packages
> 100 /var/lib/dpkg/status
> ----------------
> 3. Update Manager should work properly
>
> 4. Update Manager Could not calculate the upgrade
>
> An unresolvable problem occurred while calculating the upgrade.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 12.04
> Package: update-manager 1:0.156.14.9
> ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
> Uname: Linux 3.2.0-29-generic i686
> ApportVersion: 2.0.1-0ubuntu12
> Architecture: i386
> CurrentDmesg.txt:
> [ 49.935139] r8169 0000:01:00.0: eth0: link up
> [ 49.935343] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> [ 51.500059] init: plymouth-stop pre-start process (1860) terminated
> with status 1
> [ 59.560012] lxcbr0: no IPv6 routers present
> [ 59.952011] eth0: no IPv6 routers present
> Date: Wed Aug 15 00:22:38 2012
> GsettingsChanges:
> com.ubuntu.update-manager first-run false
> com.ubuntu.update-manager launch-time 1344969604
> com.ubuntu.update-manager show-details true
> com.ubuntu.update-manager window-height 664
> com.ubuntu.update-manager window-width 525
> PackageArchitecture: all
> SourcePackage: update-manager
> UpgradeStatus: Upgraded to precise on 2012-03-09 (158 days ago)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1036794/+subscrip...

Read more...

Changed in update-manager (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → High
description: updated
summary: - Package dependencies cannot be resolved
+ unmet dependencies during update of nspr4: libnspr4 : Breaks: evolution-
+ plugins (< 3.2.0-0ubuntu2) but 2.32.2-0ubuntu7 is to be installed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

For reference evolution-plugins 2.32.2-0ubuntu7 is a version from Natty and maybe a leftover from a previous upgrade.
Bug 1036743 contains an history of the upgrades of the system.

Revision history for this message
Victor Thompson (vthompson) wrote :

I had this same problem I resolved it by removing the evolution-plugins package from the stale distribution.

sudo apt-get remove evolution-plugins

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Steve Langasek (vorlon)
affects: update-manager (Ubuntu) → nspr (Ubuntu)
Changed in nspr (Ubuntu Precise):
status: New → Confirmed
Steve Langasek (vorlon)
Changed in nspr (Ubuntu Precise):
status: Confirmed → Triaged
importance: Undecided → High
Changed in nspr (Ubuntu):
status: Triaged → Invalid
Changed in nspr (Ubuntu Precise):
milestone: none → ubuntu-12.04.1
Steve Langasek (vorlon)
description: updated
Steve Langasek (vorlon)
Changed in nspr (Ubuntu Precise):
assignee: nobody → Steve Langasek (vorlon)
description: updated
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Ashutosh, or anyone else affected,

Accepted nspr into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/nspr/4.8.9-1ubuntu2.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in nspr (Ubuntu Precise):
status: Triaged → Fix Committed
tags: added: verification-needed
description: updated
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU verification for Precise:
I have reproduced the problem with libnspr4 4.8.9-1ubuntu2.1 in precise-updates and have verified that the version of libnspr4 4.8.9-1ubuntu2.2 in -proposed fixes the issue.

I did the following verification.
- Verification on Precise following the second test case in the description
- Verification on Lucid:
  - Installed language-support-translations-en/jaunty language-support-en/jaunty language-support-writing-en/jaunty
  - Without -proposed enabled, the calculation of the upgrade to Precise succeeds but evolution is removed
  - With -proposed enabled, the calculation of the upgrade to Precise succeeds and evolution is upgraded
- Verification on Oneiric:
  - I followed the same steps than test case 2 and upgraded to Precise
  - Without -proposed enabled, calculation of the upgrade failed
  - With -proposed enabled, calculation of the upgrade succeeds and the package language-support-translations-en and language-support-en are removed during the upgrade.

Marking as verification-done

tags: added: verification-done
removed: verification-needed
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nspr - 4.8.9-1ubuntu2.2

---------------
nspr (4.8.9-1ubuntu2.2) precise-proposed; urgency=low

  * Add additional Conflicts: on the obsolete evolution-documentation-*
    packages, which are held back on some users' systems despite being
    obsolete before 10.04; and also on the matching
    language-support-translations-* and language-support-* packages. This
    should ensure libnspr is getting upgraded, instead of evolution being
    held back. LP: #1036794.
 -- Steve Langasek <email address hidden> Wed, 15 Aug 2012 13:52:33 -0700

Changed in nspr (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Ashutosh (ashutosh441) wrote : Re: [Bug 1036794] Re: unmet dependencies during update of nspr4: libnspr4 : Breaks: evolution-plugins (< 3.2.0-0ubuntu2) but 2.32.2-0ubuntu7 is to be installed
Download full text (6.9 KiB)

indeed its all fixed now, just checked update-manager and it is working
seamlessly now, great work team, thanks to you all, saved me from a lot of
hassles, thank you all one again

On 16 August 2012 22:34, Launchpad Bug Tracker
<email address hidden>wrote:

> This bug was fixed in the package nspr - 4.8.9-1ubuntu2.2
>
> ---------------
> nspr (4.8.9-1ubuntu2.2) precise-proposed; urgency=low
>
> * Add additional Conflicts: on the obsolete evolution-documentation-*
> packages, which are held back on some users' systems despite being
> obsolete before 10.04; and also on the matching
> language-support-translations-* and language-support-* packages. This
> should ensure libnspr is getting upgraded, instead of evolution being
> held back. LP: #1036794.
> -- Steve Langasek <email address hidden> Wed, 15 Aug 2012
> 13:52:33 -0700
>
> ** Changed in: nspr (Ubuntu Precise)
> Status: Fix Committed => Fix Released
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1036794
>
> Title:
> unmet dependencies during update of nspr4: libnspr4 : Breaks:
> evolution-plugins (< 3.2.0-0ubuntu2) but 2.32.2-0ubuntu7 is to be
> installed
>
> Status in “nspr” package in Ubuntu:
> Invalid
> Status in “nspr” source package in Precise:
> Fix Released
>
> Bug description:
> [Impact]
> An SRU of nspr to make CD-based upgrades work better from 10.04 to 12.04
> has caused failures in other cases where users have continuously upgraded
> their systems from Ubuntu 9.04 or earlier and as a result have had old,
> obsolete evolution packages held back. These users can now not upgrade at
> all using update-manager.
>
> [Test case]
> 1. Fish an old Ubuntu 9.04 CD out of the drawer and install in English.
> Make sure that the language-support-en package and
> language-support-translations-en are installed.
> 2. Manually upgrade to 10.04. Check that language-support-en is still
> installed.
> 3. Run update-manager -d to upgrade to 12.04. Verify that this upgrade
> fails.
> 4. Enable -proposed, so that precise-proposed will be used in the
> upgrade to 12.04.
> 5. Run update-manager -d again. Verify that the upgrade now succeeds.
>
> Alternatively:
> 1. Get a 12.04 chroot
> 2. Add natty and jaunty (http://old-releases.ubuntu.com) to
> /etc/apt/sources.list
> 3. sudo apt-get install evolution-plugins/natty evolution-common/natty
> libnspr4/natty language-support-translations-en/jaunty
> language-support-en/jaunty language-support-writing-en/jaunty
> 4. Drop natty and jaunty from /etc/apt/sources.list
> 5. Check that system is broken in apt-get -f install or apt-get
> dist-upgrade
> 6. Get new libnspr4
> 7. Upgrade now works, removing language-support-translations-en and
> language-support-en
>
> [Regression potential]
> The risk of regression here is difficult to quantify without an
> exhaustive examination of all historic packages in Ubuntu that depended on
> one or more of these now-obsolete language support packages. Adding these
> Conflicts may result in other, different upgrade failures for yet another
> set of use...

Read more...

Revision history for this message
Dr. Clue (drclue) wrote :

Thus far things are looking good.
Enabled the proposed ,did a cycle ,
then got the regular precise back going again , update checks , installs etc seem
to be happy. Even after a reboot we're still here , and put propose back to sleep
and things. I'll give things a closer inspection next time I'm awake.

Looks like that all did the trick though :)

Revision history for this message
Peter Waters (waterspeterp) wrote :

I am still having a couple of issues running different parts - apologies for being rubbish, but can someone just list the commands I need to run/things I need to enable in one place so I can go through in order.

Thanks.

Revision history for this message
Stephanie L Poisson (bdearest) wrote :

I second what Peter says. I think I followed the steps outlined, but I'm not sure.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

The fix in nspr (4.8.9-1ubuntu2.2) is less than ideal as users will hit this:

The following extra packages will be installed:
  libnspr4
The following packages will be REMOVED:
  language-support-en language-support-fr
The following packages will be upgraded:
  libnspr4 libnspr4:i386 libnspr4-0d libnspr4-0d:i386

Which will result in a scary message from update-manager asking to do a "partial upgrade", and will probably break unattended-upgrades.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

The issue in comment #15 will affect anyone who has upgraded from lucid to precise, and anyone who has upgraded from natty to oneiric to precise, so it's not limited to people who have been updating since jaunty.

Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Ashutosh, or anyone else affected,

Accepted nspr into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/nspr/4.8.9-1ubuntu2.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: removed: verification-done
tags: added: verification-needed
Revision history for this message
Stéphane Graber (stgraber) wrote :

Tested the new nspr (ubuntu2.3) in 10.04.4 to 12.04 upgrade with media only, upgrade succeeded so the change doesn't regress the upgrade.

Changed in nspr (Ubuntu Precise):
status: Fix Released → Fix Committed
tags: added: verification-done
removed: verification-needed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

manual verification from oneiric to precise and lucid to precise with nspr 4.8.9-1ubuntu2.3 is ok.
calculation of the upgrade is successful, language-support-translations-en is removed during upgrade.
for oneiric if evolution-plugins/natty and evolution-common/natty are installed, evolution is installed during the upgrade instead of blocking it.
update-manager on precise with -proposed enabled with language-support-*-en installed doesn't show any scary popup.
automated test ran for desktop, server and server-tasks for lucid and oneiric to precise and nothing found.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nspr - 4.8.9-1ubuntu2.3

---------------
nspr (4.8.9-1ubuntu2.3) precise-proposed; urgency=low

  * language-support-LANG was still around in 11.04 so the previous change
    is requiring a dist-upgrade for any user who upgraded from 11.04 to 11.10
    and then to 12.04, instead of being limited to machines that were
    originally installed with 9.04 as was planned.
    Removing language-support-LANG from the Breaks, which should resolve the
    issue for these users while still removing language-support-translations
    on systems. (LP: #1036794)
 -- Stephane Graber <email address hidden> Fri, 17 Aug 2012 09:46:51 -0400

Changed in nspr (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Peter Waters (waterspeterp) wrote :

Hey,
Sorry to be a pain, but just to reiterate, can someone spell out what I need to enter to fix this, as I am still unable to resolve the issue.

Thanks.

Revision history for this message
Dave Cardos (nhh2oskr) wrote :

I was not able to excute the steps in the documention. It was probably because I did not undersatnd them well enough. While I'm a Linux user, I'm not all the knowledgable about admin tasks. It's a credit to the distribution that I have been able to use the system with very few issues for a numbers of years without having to know all that much about admin. In any case I did get through the update and I waited for another update to occur to be sure that issue was fixed and yes, all is well.

My feedback...
In cases like this a litltle more detail in the directions would be helpful for less expert users. If the specific example had been used in addition to the general directions, I think it would have solved my issue and maybe that for a few others, too.
I was very impressed by the response to the issue. Thank you!!

Dave

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nspr - 4.8.9-1ubuntu3

---------------
nspr (4.8.9-1ubuntu3) quantal; urgency=low

  * Reupload to quantal.

nspr (4.8.9-1ubuntu2.3) precise-proposed; urgency=low

  * language-support-LANG was still around in 11.04 so the previous change
    is requiring a dist-upgrade for any user who upgraded from 11.04 to 11.10
    and then to 12.04, instead of being limited to machines that were
    originally installed with 9.04 as was planned.
    Removing language-support-LANG from the Breaks, which should resolve the
    issue for these users while still removing language-support-translations
    on systems. (LP: #1036794)

nspr (4.8.9-1ubuntu2.2) precise-proposed; urgency=low

  * Add additional Conflicts: on the obsolete evolution-documentation-*
    packages, which are held back on some users' systems despite being
    obsolete before 10.04; and also on the matching
    language-support-translations-* and language-support-* packages. This
    should ensure libnspr is getting upgraded, instead of evolution being
    held back. LP: #1036794.

nspr (4.8.9-1ubuntu2.1) precise-proposed; urgency=low

  * Add Breaks: evolution-plugins (<< 3.2.0-0ubuntu2) to libnspr4,
    required to get the dist-upgrader to resolve lucid -> precise.
    (LP: #1029531)
 -- Steve Langasek <email address hidden> Wed, 12 Sep 2012 08:13:48 -0700

Changed in nspr (Ubuntu):
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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