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

** Changed in: perl (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to perl 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:
  Confirmed
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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to