package libkadm5srv-mit8 1.10.1+dfsg-6.1ubuntu1 failed to install/upgrade: libkadm5srv-mit8:all 1.12+dfsg-2ubuntu4 (Multi-Arch: no) kann nicht zusammen mit libkadm5srv-mit8 installiert werden, welches mehrere installierte Instanzen hat

Bug #1334052 reported by Andreas Weller
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
krb5 (Ubuntu)
Invalid
High
Unassigned
Trusty
Fix Released
High
Michael Vogt

Bug Description

Just update to Trusty and installer crashed

[Test Case]

Install precise.
On precise, enable multiple architectures (say amd64 and i386)
install libkadm5srv-mit8.

Update your sources.list to trusty, try installing libkadm5srv-mit8.
I'd expect that to fail.

Update your sources.list to also include trusty-proposed.
Upgrade libkadm5srv-mit8; I'd expect that to succeed.

I've phrased that in terms of manually changing sources.list rather than
using the release upgrader, because I don't know how to do a release
upgrade with proposed enabled. If there's an easy way to do that, then
I'd expect the following to work:

Install precise including both amd64 and i386 and install
libkadm5srv-mit8.
Do a release upgrade.
I'd expect it to fail.

Install precise including both amd64 and i386. Install
libkadm5srv-mit8. Do a release upgrade to trusty with proposed enabled.
I'd expect that to succeed.

[Other Info]

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: libkadm5srv-mit8 1.10.1+dfsg-6.1ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-30.54-generic 3.13.11.2
Uname: Linux 3.13.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Wed Jun 25 00:48:48 2014
DpkgTerminalLog:
 dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libkadm5srv-mit8_1.12+dfsg-2ubuntu4_all.deb (--unpack):
  libkadm5srv-mit8:all 1.12+dfsg-2ubuntu4 (Multi-Arch: no) kann nicht zusammen mit libkadm5srv-mit8 installiert werden, welches mehrere installierte Instanzen hat
DuplicateSignature: package:libkadm5srv-mit8:1.10.1+dfsg-6.1ubuntu1:libkadm5srv-mit8:all 1.12+dfsg-2ubuntu4 (Multi-Arch: no) kann nicht zusammen mit libkadm5srv-mit8 installiert werden, welches mehrere installierte Instanzen hat
ErrorMessage: libkadm5srv-mit8:all 1.12+dfsg-2ubuntu4 (Multi-Arch: no) kann nicht zusammen mit libkadm5srv-mit8 installiert werden, welches mehrere installierte Instanzen hat
InstallationDate: Installed on 2012-04-17 (798 days ago)
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327.1)
SourcePackage: krb5
Title: package libkadm5srv-mit8 1.10.1+dfsg-6.1ubuntu1 failed to install/upgrade: libkadm5srv-mit8:all 1.12+dfsg-2ubuntu4 (Multi-Arch: no) kann nicht zusammen mit libkadm5srv-mit8 installiert werden, welches mehrere installierte Instanzen hat
UpgradeStatus: Upgraded to trusty on 2014-06-24 (0 days ago)

Revision history for this message
Andreas Weller (weller-andreas-weller) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

This appears to hit a corner case with respect to multiarch, in that changing a package from Multi-Arch: same / Arch: any to Multi-Arch: no / Arch: all is not handled cleanly on upgrade.

As libkadm5srv-mit8 appears to now be a transitional package, the correct solution here would appear to be to make it Arch: any / Multi-Arch: same again.

Changed in krb5 (Ubuntu):
assignee: nobody → Michael Vogt (mvo)
status: New → Triaged
importance: Undecided → High
status: Triaged → Invalid
Changed in krb5 (Ubuntu Trusty):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Michael Vogt (mvo)
milestone: none → ubuntu-14.04.1
Changed in krb5 (Ubuntu):
assignee: Michael Vogt (mvo) → nobody
Revision history for this message
Sam Hartman (hartmans) wrote : Re: [Bug 1334052] Re: package libkadm5srv-mit8 1.10.1+dfsg-6.1ubuntu1 failed to install/upgrade: libkadm5srv-mit8:all 1.12+dfsg-2ubuntu4 (Multi-Arch: no) kann nicht zusammen mit libkadm5srv-mit8 installiert werden, welches mehrere installierte Instanzen hat

Since I'd really like to see the gss infinite loop patch into trusty
I'm going to update the branch for that to also include this fix and
build packages.
Expect a branch link in a few minutes.

Revision history for this message
Sam Hartman (hartmans) wrote :

See https://launchpad.net/~hartmans/+archive/ubuntu-fixes packages building. I had to upload with a different version number on the branch because that ppa already had a krb5 build.

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Andreas, or anyone else affected,

Accepted krb5 into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/krb5/1.12+dfsg-2ubuntu5 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 add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and 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 krb5 (Ubuntu Trusty):
milestone: ubuntu-14.04.1 → ubuntu-14.04.2
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Mathew Hodson (mhodson) wrote :

What is the test case for this SRU?

Revision history for this message
Sam Hartman (hartmans) wrote : Re: [Bug 1334052] Re: package libkadm5srv-mit8 1.10.1+dfsg-6.1ubuntu1 failed to install/upgrade: libkadm5srv-mit8:all 1.12+dfsg-2ubuntu4 (Multi-Arch: no) kann nicht zusammen mit libkadm5srv-mit8 installiert werden, welches mehrere installierte Instanzen hat

To test:

Install precise.
On precise, enable multiple architectures (say amd64 and i386)
install libkadm5srv-mit8.

Update your sources.list to trusty, try installing libkadm5srv-mit8.
I'd expect that to fail.

Update your sources.list to also include trusty-proposed.
Upgrade libkadm5srv-mit8; I'd expect that to succeed.

I've phrased that in terms of manually changing sources.list rather than
using the release upgrader, because I don't know how to do a release
upgrade with proposed enabled. If there's an easy way to do that, then
I'd expect the following to work:

Install precise including both amd64 and i386 and install
libkadm5srv-mit8.
Do a release upgrade.
I'd expect it to fail.

Install precise including both amd64 and i386. Install
libkadm5srv-mit8. Do a release upgrade to trusty with proposed enabled.
I'd expect that to succeed.

--Sam

Mathew Hodson (mhodson)
tags: removed: need-duplicate-check
Mathew Hodson (mhodson)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package krb5 - 1.12+dfsg-2ubuntu5

---------------
krb5 (1.12+dfsg-2ubuntu5) trusty; urgency=low

  * Use ADD_METHOD_NOLOOP rather than ADD_METHOD for new GSS-API entry
    points, avoids infinite recursive loop when a mechanism doesn't
    provide an entry point and does include calls back into the mechglue
    (LP: #1326500)
  * Make libkadm5srv-mit8 be arch: any multi-arch: same to work around
    upgrade bug (LP: #1334052)
  * Use tailq macros to work around GCC 4.8 optimizer bug and prevent
    infinite loop for database propagation (LP: #1347147)
 -- Sam Hartman <email address hidden> Wed, 30 Jul 2014 21:06:49 -0400

Changed in krb5 (Ubuntu Trusty):
status: Fix Committed → Fix Released
Mathew Hodson (mhodson)
description: updated
tags: removed: verification-needed
Mathew Hodson (mhodson)
tags: added: dist-upgrade
tags: added: packaging
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.