有没有善良的灵魂能帮上忙?
我试图安装一个软件包,但是从终端收到了一个错误
sub-process /usr/bin/dpkg returned an error code (1)跑完后:
sudo dpkg --configure -a我得到以下终端输出:
dpkg: dependency problems prevent configuration of kdenlive:
kdenlive depends on melt-7; however:
Package melt-7 is not installed.
dpkg: error processing package kdenlive (--configure):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
kdenlive我试着移除和清除Kdenlive,但没有结果--包管理器似乎仍然坏了。
(埃塔:我通过PPA安装了Kdenlive )
尝试sudo apt安装-f将产生以下输出:
sudo apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libgdk-pixbuf2.0-0 liblept5 libmlt-data libopencv-calib3d4.5d libopencv-contrib4.5d libopencv-dnn4.5d
libopencv-features2d4.5d libopencv-flann4.5d libopencv-highgui4.5d libopencv-ml4.5d
libopencv-objdetect4.5d libopencv-video4.5d libtesseract4 melt
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libmlt7-data melt-7
The following NEW packages will be installed:
libmlt7-data melt-7
0 upgraded, 2 newly installed, 0 to remove and 145 not upgraded.
1 not fully installed or removed.
Need to get 0 B/121 kB of archives.
After this operation, 773 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 391414 files and directories currently installed.)
Preparing to unpack .../libmlt7-data_7.8.0-1~ubuntu22.04.1_all.deb ...
Unpacking libmlt7-data (7.8.0-1~ubuntu22.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libmlt7-data_7.8.0-1~ubuntu22.04.1_all.deb (--unpack):
trying to overwrite '/usr/share/mlt-7/avformat/blacklist.txt', which is also in package libmlt-data 7.4.0-1build1
Preparing to unpack .../melt-7_7.8.0-1~ubuntu22.04.1_amd64.deb ...
Unpacking melt-7 (7.8.0-1~ubuntu22.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/melt-7_7.8.0-1~ubuntu22.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/bin/melt-7', which is also in package melt 7.4.0-1build1
Errors were encountered while processing:
/var/cache/apt/archives/libmlt7-data_7.8.0-1~ubuntu22.04.1_all.deb
/var/cache/apt/archives/melt-7_7.8.0-1~ubuntu22.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)Ubuntu版本:Ubuntu22.04.1 LTS
PPA安装自:ppa:kdenlive/kdenlive稳定
对于如何解决这个问题,有什么建议吗?
发布于 2022-12-22 19:10:21
若要解决此问题,请运行以下命令。
sudo apt remove kdenlive libmlt7-data melt libmlt-data
sudo apt-get install kdenlive信用归于Reddit上的sniff122 122。
发布于 2022-10-10 03:55:05
sudo apt remove libmlt7-data melt-7 kdenlive sudo dkpg --configure -a sudo apt install -f
https://askubuntu.com/questions/1432573
复制相似问题