在 Trusty 上安装 clipgrab 时出错

在 Trusty 上安装 clipgrab 时出错

我想在 Trusty 上安装 clipgrab,但运行时出现以下错误sudo apt-get install clipgrab(我添加了 PPA 并运行apt-get update):

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  clipgrab
0 upgraded, 1 newly installed, 0 to remove and 351 not upgraded.
Need to get 0 B/203 kB of archives.
After this operation, 713 kB of additional disk space will be used.
(Reading database ... 247242 files and directories currently installed.)
Preparing to unpack .../clipgrab_3.4.2~trusty3_amd64.deb ...
Unpacking clipgrab (3.4.2~trusty3) ...
dpkg: error processing archive     /var/cache/apt/archives/clipgrab_3.4.2~trusty3_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/ffmpeg', which is also in package ffmpeg 7:2.3-1~trusty
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/clipgrab_3.4.2~trusty3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

据我所知,安装过程存在问题,因为 ffmpeg 已经存在。我该如何解决这个问题?

答案1

这看起来是 PPA 维护人员的打包不当,而不是您的过错。我会联系维护人员并通知他/她,然后:

  • 添加 ffmpeg 作为冲突,
  • 重命名该二进制文件,或者
  • 不包括该二进制文件(如果它与中的相同ffmpeg)。

相关内容