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) -- 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/1764614 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 Status in perl package in Ubuntu: Confirmed 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) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1764614/+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