Error updating xubuntu 18.04 LTS bionic. Cannot overwrite libperl5.26:i386

Bug #1773152 reported by Mark Beardsley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
perl (Ubuntu)
New
Undecided
Unassigned

Bug Description

Whenever I try to update my system, the following error message is reported;

E: /var/cache/apt/archives/libperl5.26_5.26.1-6_i386.deb: trying to overwrite shared '/usr/share/doc/libperl5.26/changelog.Debian.gz', which is different from other instances of package libperl5.26:i386

The error survives any attempt I make to fix broken packages as advised if I try to perform and apt-get update operation in a terminal window. The text of the pasted into the window above was displayed in a pop-up window when using Synaptic Package Manager to perform an update of the system.

Below is the full text displayed in the 'Details' section of the package manager;

(Reading database ... 214046 files and directories currently installed.)
Preparing to unpack .../libperl5.26_5.26.1-6_i386.deb ...
Unpacking libperl5.26:i386 (5.26.1-6) ...
dpkg: error processing archive /var/cache/apt/archives/libperl5.26_5.26.1-6_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libperl5.26/changelog.Debian.gz', which is different from other instances of package libperl5.26:i386
Errors were encountered while processing:
 /var/cache/apt/archives/libperl5.26_5.26.1-6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of libsnmp30:i386:
 libsnmp30:i386 depends on libperl5.26 (>= 5.26.0~rc1); however:
  Package libperl5.26:i386 is not installed.

dpkg: error processing package libsnmp30:i386 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
dpkg: dependency problems prevent configuration of libhpmud0:i386:
 libhpmud0:i386 depends on libsnmp30 (>= 5.7.3+dfsg-1.8ubuntu3~dfsg); however:
  Package libsnmp30:i386 is not configured yet.

dpkg: error processing package libhpmud0:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libsane-hpaio:i386:
 libsane-hpaio:i386 depends on libhpmud0; however:
  Package libhpmud0:i386 is not configured yet.

dpkg: error processing package libsane-hpaio:i386 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libsnmp30:i386
 libhpmud0:i386
 libsane-hpaio:i386

Revision history for this message
Mark Beardsley (markbrd) wrote :

Please ignore my report and close this bug report. I no longer regard this as a bug because a trivial fix exists.

Opening Synaptic Package Manager and the application reports a broken package. Using the application to fix that broken package does not actually resolve the issue. However by simply marking the libperl5 package for re-installation, accepting the prompt to do the same for it's dependents and then applying this change does resolve the issue. Also, accept my apologies for wasting anyone's time.

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.