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 Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1764614/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs