安装 melt 7 时如何解决此问题

安装 melt 7 时如何解决此问题

安装 melt 7 时如何解决此问题

Unpacking libmlt7-data (7.10.0-1~ubuntu22.10.1) over (7.8.0-1~ubuntu22.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libmlt7-data_7.10.0-1~ubuntu22.10.1_all.deb (--unpack):
 trying to overwrite '/usr/share/mlt-7/avformat/blacklist.txt', which is also in package libmlt-data 7.8.0+us-0ubuntu1
Preparing to unpack .../melt-7_7.10.0-1~ubuntu22.10.1_amd64.deb ...
Unpacking melt-7 (7.10.0-1~ubuntu22.10.1) over (7.8.0-1~ubuntu22.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/melt-7_7.10.0-1~ubuntu22.10.1_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/melt-7', which is also in package melt 7.8.0+us-0ubuntu1
Errors were encountered while processing:
 /var/cache/apt/archives/libmlt7-data_7.10.0-1~ubuntu22.10.1_all.deb
 /var/cache/apt/archives/melt-7_7.10.0-1~ubuntu22.10.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

sudo dpkg -i --force-overwrite /var/cache/apt/archives/libmlt7-data_7.10.0-1~ubuntu22.10.1_all.deb

相关内容