执行sudo apt-get -f install,出现一下错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
firefox-locale-zh-hans libexif-dev:i386 libgphoto2-dev:i386
libieee1284-3-dev:i386 libjbig-dev:i386 liblzma-dev:i386 libtiff5-dev:i386
libtiffxx5:i386 libusb-1.0-0-dev:i386 libv4l-dev:i386 libv4l2rds0:i386
linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libpostproc52
The following NEW packages will be installed:
libpostproc52
0 upgraded, 1 newly installed, 0 to remove and 241 not upgraded.
39 not fully installed or removed.
Need to get 0 B/30.6 kB of archives.
After this operation, 100 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing archive /var/cache/apt/archives/libpostproc52_6%3a0.git20120821-4_amd64.deb (--unpack):
libpostproc52:amd64 6:0.git20120821-4 (Multi-Arch: no) is not co-installable with libpostproc52 which has multiple installed instances
Errors were encountered while processing:
/var/cache/apt/archives/libpostproc52_6%3a0.git20120821-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
解决方法:
sudo dpkg --purge libpostproc52:i386
====>
(Reading database ... 479018 files and directories currently installed.)
Removing libpostproc52:i386 (6:0.8.10-0ubuntu0.13.10.1) ...
Purging configuration files for libpostproc52:i386 (6:0.8.10-0ubuntu0.13.10.1) ...
然后在执行sudo apt-get -f instal,OK
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
firefox-locale-zh-hans libexif-dev:i386 libgphoto2-dev:i386
libieee1284-3-dev:i386 libjbig-dev:i386 liblzma-dev:i386 libtiff5-dev:i386
libtiffxx5:i386 libusb-1.0-0-dev:i386 libv4l-dev:i386 libv4l2rds0:i386
linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libpostproc52
The following NEW packages will be installed:
libpostproc52
0 upgraded, 1 newly installed, 0 to remove and 241 not upgraded.
39 not fully installed or removed.
Need to get 0 B/30.6 kB of archives.
After this operation, 100 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing archive /var/cache/apt/archives/libpostproc52_6%3a0.git20120821-4_amd64.deb (--unpack):
libpostproc52:amd64 6:0.git20120821-4 (Multi-Arch: no) is not co-installable with libpostproc52 which has multiple installed instances
Errors were encountered while processing:
/var/cache/apt/archives/libpostproc52_6%3a0.git20120821-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
解决方法:
sudo dpkg --purge libpostproc52:i386
====>
(Reading database ... 479018 files and directories currently installed.)
Removing libpostproc52:i386 (6:0.8.10-0ubuntu0.13.10.1) ...
Purging configuration files for libpostproc52:i386 (6:0.8.10-0ubuntu0.13.10.1) ...
然后在执行sudo apt-get -f instal,OK