I've got libgphoto2-port12_2.5.14
errors while apt upgrade
,
and they are not solved with apt -f install
.
I did not installed anything new, just perform the routinary update, upgrade.
I saw other similar question on Unmet dependencies - libgphoto2-port12 but it is on hold and I cannot the level to comment.
Tried all their "solutions" without success including sudo apt-get dist-upgrade -f
that solve to them.
My conf is:
$ uname -r
4.4.0-81-generic
$ lsb_release -a
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
The offending error is:
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libgphoto2-6:i386 : Depends: libgphoto2-port12:i386 (>= 2.5.10) but 2.5.9-3 is installed
libgphoto2-port12 : Breaks: libgphoto2-port12:i386 (!= 2.5.14+201706200750~ubuntu16.04.1) but 2.5.9-3 is installed
libgphoto2-port12:i386 : Breaks: libgphoto2-port12 (!= 2.5.9-3) but 2.5.14+201706200750~ubuntu16.04.1 is installed
E: Unmet dependencies. Try using -f.
If I try to force:
$ sudo apt -f install
....
(Reading database ... 438863 files and directories currently installed.)
Preparing to unpack .../libgphoto2-port12_2.5.14+201706200750~ubuntu16.04.1_i386.deb ...
Unpacking libgphoto2-port12:i386 (2.5.14+201706200750~ubuntu16.04.1) over (2.5.9-3) ...
dpkg: error processing archive /var/cache/apt/archives/libgphoto2-port12_2.5.14+201706200750~ubuntu16.04.1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/locale/fr/LC_MESSAGES/libgphoto2_port-12.mo', which is different from other instances of package libgphoto2-port12:i386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
/var/cache/apt/archives/libgphoto2-port12_2.5.14+201706200750~ubuntu16.04.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I need help as I cannot install any package. If someone considers that this is not ubuntu related, please, let me know which is the suitable forum. Thanks
sudo apt-get dist-upgrade -f
(like OP did to resolve the issue in the linked question) and, if that doesn't help,sudo apt-get install -f libgphoto2-port12:{amd64,i386}/xenial
? If neither helps please edit your question to include the output of both. Thanks.