更新时出错

更新时出错
dpkg: error processing archive /var/cache/apt/archives/gstreamer1.0-plugins-bad_1.12.2-1+b1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstjpegformat.so', which is also in package gstreamer1.0-plugins-good:amd64 1.10.4-1ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../libgstreamer-plugins-bad1.0-0_1.12.2-1+b1_amd64.deb ...
Unpacking libgstreamer-plugins-bad1.0-0:amd64 (1.12.2-1+b1) over (1.10.4-1ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libgstreamer-plugins-bad1.0-0_1.12.2-1+b1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libgstbasecamerabinsrc-1.0.so.0', which is also in package libgstreamer-plugins-good1.0-0:amd64 1.10.4-1ubuntu1
Errors were encountered while processing:
 /var/cache/apt/archives/gstreamer1.0-plugins-bad_1.12.2-1+b1_amd64.deb
 /var/cache/apt/archives/libgstreamer-plugins-bad1.0-0_1.12.2-1+b1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

您下载的 deb 包中包含由 ubuntu repo 提供的另一个包中的程序。

您必须使用 Ubuntu 仓库中的软件包。或者下载并替换所有 gstreamer-plugin 软件包。

相关内容