package libnss3 2:3.23-0ubuntu0.14.04.1 [modified: usr/share/doc/libnss3/changelog.Debian.gz] failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libnss3/changelog.Debian.gz', which is different from other instances of package libnss3:i386

Bug #1638689 reported by Jim Lawrence
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nss (Ubuntu)
New
High
Unassigned

Bug Description

sudo aptitude upgrade
...
Unpacking libapt-pkg4.12:amd64 (1.0.1ubuntu2.15) over (1.0.1ubuntu2.14) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libnss3_2%3a3.23-0ubuntu0.14.04.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up libapt-pkg4.12:amd64 (1.0.1ubuntu2.15) ...
Setting up libnspr4:i386 (2:4.12-0ubuntu0.14.04.1) ...
dpkg: dependency problems prevent configuration of libnss3-1d:i386:
 libnss3-1d:i386 depends on libnss3 (= 2:3.23-0ubuntu0.14.04.1); however:
  Version of libnss3:i386 on system is 2:3.16.3-1ubuntu1.

dpkg: error processing package libnss3-1d:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: error processing package libnss3:amd64 (--configure):
 package libnss3:amd64 2:3.23-0ubuntu0.14.04.1 cannot be configured because libnss3:i386 is at a different version (2:3.16.3-1ubuntu1)
dpkg: error processing package libnss3:i386 (--configure):
 package libnss3:i386 2:3.16.3-1ubuntu1 cannot be configured because libnss3:amd64 is at a different version (2:3.23-0ubuntu0.14.04.1)
dpkg: dependency problems prevent configuration of libnss3-nssdb:
 libnss3-nssdb depends on libnss3 (= 2:3.23-0ubuntu0.14.04.1); however:
  Package libnss3:amd64 is not configured yet.

dpkg: error processing package libnss3-nssdb (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Errors were encountered while processing:
 libnss3-1d:i386
 libnss3:amd64
 libnss3:i386
 libnss3-nssdb

************************
Description: Ubuntu 14.04.5 LTS
Release: 14.04

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: libnss3 2:3.23-0ubuntu0.14.04.1 [modified: usr/share/doc/libnss3/changelog.Debian.gz]
ProcVersionSignature: Ubuntu 3.19.0-68.76~14.04.1-generic 3.19.8-ckt22
Uname: Linux 3.19.0-68-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
Date: Wed Nov 2 12:32:54 2016
DuplicateSignature: package:libnss3:2:3.23-0ubuntu0.14.04.1 [modified: usr/share/doc/libnss3/changelog.Debian.gz]:trying to overwrite shared '/usr/share/doc/libnss3/changelog.Debian.gz', which is different from other instances of package libnss3:i386
ErrorMessage: trying to overwrite shared '/usr/share/doc/libnss3/changelog.Debian.gz', which is different from other instances of package libnss3:i386
InstallationDate: Installed on 2015-09-22 (407 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.7
 apt 1.0.1ubuntu2.14
SourcePackage: nss
Title: package libnss3 2:3.23-0ubuntu0.14.04.1 [modified: usr/share/doc/libnss3/changelog.Debian.gz] failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libnss3/changelog.Debian.gz', which is different from other instances of package libnss3:i386
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jim Lawrence (jlawrenc1) wrote :
Revision history for this message
Nish Aravamudan (nacc) wrote :

Hello,

Do you have any local modifications to the file /usr/share/doc/libnss3/changelog.Debian.gz ?

Thanks,
Nish

Changed in nss (Ubuntu):
status: New → Incomplete
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Nish, the trouble with this bug is these lines:

DuplicateSignature: package:libnss3:2:3.23-0ubuntu0.14.04.1 [modified: usr/share/doc/libnss3/changelog.Debian.gz]:trying to overwrite shared '/usr/share/doc/libnss3/changelog.Debian.gz', which is different from other instances of package libnss3:i386
ErrorMessage: trying to overwrite shared '/usr/share/doc/libnss3/changelog.Debian.gz', which is different from other instances of package libnss3:i386

This happens a lot more often than you'd suspect -- I don't know why so many users have both i386 and amd64 versions of packages installed, nor why they would get updates for these packages out-of-sync like this. (After all, we publish updates for all arches simultaneously, unless an oddball arch like s390 or ppc64el or armhf just plain can't build the fixes.. it's rare.)

Thanks

tags: removed: need-duplicate-check
Robie Basak (racb)
Changed in nss (Ubuntu):
importance: Undecided → High
status: Incomplete → New
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.