[Bug 1574351] Re: package libperl5.22 5.22.1-9 failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libperl5.22/changelog.Debian.gz', which is different from other instances of package libperl5.22:i386
Łukasz Zemczak
1574351 at bugs.launchpad.net
Thu Jul 19 09:15:34 UTC 2018
Hello Lazar, or anyone else affected,
Accepted perl into bionic-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/perl/5.26.1-6ubuntu0.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 on 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-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: perl (Ubuntu Bionic)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pkgbinarymangler in Ubuntu.
https://bugs.launchpad.net/bugs/1574351
Title:
package libperl5.22 5.22.1-9 failed to install/upgrade: trying to
overwrite shared '/usr/share/doc/libperl5.22/changelog.Debian.gz',
which is different from other instances of package libperl5.22:i386
Status in perl package in Ubuntu:
New
Status in pkgbinarymangler package in Ubuntu:
Fix Released
Status in perl source package in Bionic:
Fix Committed
Status in pkgbinarymangler source package in Bionic:
Fix Committed
Bug description:
[Impact]
* Pkgstripfiles generates different stripped documentation for
arch:any packages depending on if arch:all packages are built at the
same time. In practice it means that amd64 packages may end up
different file contents of doc files compared to other architectures
making multiarch installation of the affected packages impossible
without workarounds.
* To fix affected packages by a rebuild the pkgbinarymangler package
needs to be backported, too.
* The fix in pkgstripfiles is skipping symlinking documentation to
dependent packages with identical content when the dependent packages
are not built.
[Test Case]
* To test pkgbinarymangler rebuild perl i386 packages without arch:all packages with the fixed pkgbinarymangler package and observe the following message in the build log:
...
Skipping perl-modules-5.26 because it is not to be built
...
* Note that PPA builds skip the mangling steps thus the package needs to be built in sbuild/pbuilder/in the official archive with pkgbinarymangler added as an extra package in case of a local build.
* The resulting libperl5.2? package can also be analyzed to see changelog.Debian.gz not symlinked to perl-modules-5.2?'s changelog, but to check if the original bug is fixed just install libperl5.26:amd64 and libperl5.26:i386 using multiarch (here we assume the current architecture is amd64):
$ sudo dpkg --add-architecture i386
$ sudo apt update
$ sudo apt install libperl5.26:i386
[Regression Potential]
* The pkgbinarymangler fix may break the pkgstripfiles script causing
FTBFS of unrelated packages or could cause building not stripped
packages. The former problem would be caught early, while the latter
can be avoided by checking the build logs of a few other packages
rebuilt with the fixed pkgbinarymangler package.
[Original Bug Text]
Don't run aplication after upgrade from 14.04
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libperl5.22 5.22.1-9
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Sun Apr 24 21:08:20 2016
DpkgTerminalLog:
Preparing to unpack .../libperl5.22_5.22.1-9_i386.deb ...
Unpacking libperl5.22:i386 (5.22.1-9) ...
dpkg: error processing archive /var/cache/apt/archives/libperl5.22_5.22.1-9_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libperl5.22/changelog.Debian.gz', which is different from other instances of package libperl5.22:i386
DuplicateSignature:
Unpacking libperl5.22:i386 (5.22.1-9) ...
dpkg: error processing archive /var/cache/apt/archives/libperl5.22_5.22.1-9_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libperl5.22/changelog.Debian.gz', which is different from other instances of package libperl5.22:i386
ErrorMessage: trying to overwrite shared '/usr/share/doc/libperl5.22/changelog.Debian.gz', which is different from other instances of package libperl5.22:i386
InstallationDate: Installed on 2016-04-24 (0 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
dpkg 1.18.4ubuntu1
apt 1.2.10ubuntu1
SourcePackage: perl
Title: package libperl5.22 5.22.1-9 failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libperl5.22/changelog.Debian.gz', which is different from other instances of package libperl5.22:i386
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1574351/+subscriptions
More information about the foundations-bugs
mailing list