package libperl5.26 5.26.0-8ubuntu1 [modified: usr/share/doc/libperl5.26/changelog.Debian.gz] failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libperl5.26/changelog.Debian.gz', which is different from other instances of package libperl5.26:amd64

Bug #1764614 reported by Mike2A
66
This bug affects 11 people
Affects Status Importance Assigned to Milestone
perl (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Gestionnaire de mise à jour
Echec de traitement du paquet
l'installation ou la desinstallation du paquet a échoué

ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: libperl5.26 5.26.0-8ubuntu1 [modified: usr/share/doc/libperl5.26/changelog.Debian.gz]
ProcVersionSignature: Ubuntu 4.13.0-38.43-generic 4.13.16
Uname: Linux 4.13.0-38-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu3.8
Architecture: amd64
Date: Tue Apr 17 04:25:22 2018
DuplicateSignature:
 package:libperl5.26:5.26.0-8ubuntu1 [modified: usr/share/doc/libperl5.26/changelog.Debian.gz]
 Unpacking libperl5.26:amd64 (5.26.0-8ubuntu1.1) over (5.26.0-8ubuntu1) ...
 dpkg: error processing archive /var/cache/apt/archives/libperl5.26_5.26.0-8ubuntu1.1_amd64.deb (--unpack):
  trying to overwrite shared '/usr/share/doc/libperl5.26/changelog.Debian.gz', which is different from other instances of package libperl5.26:amd64
ErrorMessage: trying to overwrite shared '/usr/share/doc/libperl5.26/changelog.Debian.gz', which is different from other instances of package libperl5.26:amd64
InstallationDate: Installed on 2017-11-15 (152 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageVersions:
 dpkg 1.18.24ubuntu1
 apt 1.5.1
SourcePackage: perl
Title: package libperl5.26 5.26.0-8ubuntu1 [modified: usr/share/doc/libperl5.26/changelog.Debian.gz] failed to install/upgrade: trying to overwrite shared '/usr/share/doc/libperl5.26/changelog.Debian.gz', which is different from other instances of package libperl5.26:amd64
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Mike2A (mike2a) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in perl (Ubuntu):
status: New → Confirmed
Revision history for this message
Mike B. (mcbarron) wrote :

Some additional attempts to fix failed for me - I'm stuck and cannot update or remove anything.

~| sudo apt install perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
perl is already the newest version (5.26.0-8ubuntu1.1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libperl5.26 : Breaks: libperl5.26:i386 (!= 5.26.0-8ubuntu1) but 5.26.0-8ubuntu1.1 is to be installed
 libperl5.26:i386 : Breaks: libperl5.26 (!= 5.26.0-8ubuntu1.1) but 5.26.0-8ubuntu1 is to be installed
 perl : Depends: libperl5.26 (= 5.26.0-8ubuntu1.1) but 5.26.0-8ubuntu1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

~| sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libperl5.26
The following packages will be upgraded:
  libperl5.26
1 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
3 not fully installed or removed.
Need to get 0 B/3,544 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 647747 files and directories currently installed.)
Preparing to unpack .../libperl5.26_5.26.0-8ubuntu1.1_amd64.deb ...
Unpacking libperl5.26:amd64 (5.26.0-8ubuntu1.1) over (5.26.0-8ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libperl5.26_5.26.0-8ubuntu1.1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libperl5.26/changelog.Debian.gz', which is different from other instances of package libperl5.26:amd64
Errors were encountered while processing:
 /var/cache/apt/archives/libperl5.26_5.26.0-8ubuntu1.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Mike B. (mcbarron) wrote :

Found a FIX! Just need to move/backup the shared doc file that was causing the problem and all is right again.

~| sudo mv /usr/share/doc/libperl5.26 /usr/share/doc/libperl5.26.barron
~| sudo apt --fix-broken install

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libperl5.26:i386
The following NEW packages will be installed:
  libperl5.26:i386
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
3 not fully installed or removed.
Need to get 0 B/3,169 kB of archives.
After this operation, 16.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 647255 files and directories currently installed.)
Preparing to unpack .../libperl5.26_5.26.0-8ubuntu1.1_i386.deb ...
Unpacking libperl5.26:i386 (5.26.0-8ubuntu1.1) ...
Setting up perl-modules-5.26 (5.26.0-8ubuntu1.1) ...
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
Setting up libperl5.26:amd64 (5.26.0-8ubuntu1.1) ...
Setting up libperl5.26:i386 (5.26.0-8ubuntu1.1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up perl (5.26.0-8ubuntu1.1) ...
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...

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.