如何解决“dpkg:error handling存档/var/cache/apt/archives/libvlccore9_4.0.0~rc1~~git20171225+r73378+113~ubuntu16.04.1_amd64.deb(unpack)”

运行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: gstreamer1.0-plugins-base:i386 libcdparanoia0:i386 libdbusmenu-qt2:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libopus0:i386 liborc-0.4-0:i386 libqt4-opengl:i386 libqtwebkit4:i386 libtheora0:i386 libvisual-0.4-0:i386 libvlccore8 libxss1:i386 libxv1:i386 linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic linux-headers-4.4.0-96 linux-headers-4.4.0-96-generic linux-headers-4.4.0-97 linux-headers-4.4.0-97-generic linux-headers-4.4.0-98 linux-headers-4.4.0-98-generic linux-image-4.4.0-101-generic linux-image-4.4.0-96-generic linux-image-4.4.0-97-generic linux-image-4.4.0-98-generic linux-image-extra-4.4.0-101-generic linux-image-extra-4.4.0-96-generic linux-image-extra-4.4.0-97-generic linux-image-extra-4.4.0-98-generic sni-qt:i386 vlc-plugin-notify vlc-plugin-samba vlc-plugin-video-splitter vlc-plugin-visualization Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libvlccore9 The following NEW packages will be installed: libvlccore9 0 upgraded, 1 newly installed, 0 to remove and 25 not upgraded. 14 not fully installed or removed. Need to get 0 B/472 kB of archives. After this operation, 1,240 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 462617 files and directories currently installed.) Preparing to unpack .../libvlccore9_4.0.0~rc1~~git20171225+r73378+113~ubuntu16.04.1_amd64.deb ... Unpacking libvlccore9:amd64 (4.0.0~rc1~~git20171225+r73378+113~ubuntu16.04.1) ... dpkg: error processing archive /var/cache/apt/archives/libvlccore9_4.0.0~rc1~~git20171225+r73378+113~ubuntu16.04.1_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libvlccore.so.9.0.0', which is also in package libvlccore8:amd64 3.0.0~~git20171210+r73147+99~ubuntu16.04.1 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/libvlccore9_4.0.0~rc1~~git20171225+r73378+113~ubuntu16.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)" 

尝试了几个选项,无法修复它。 任何帮助赞赏!

谢谢

有同样的问题,这解决了它:

sudo dpkg -P libvlccore8

然后再次sudo apt-get -f install