当我想rawtherapee
从软件中心安装时,它会以这条消息结束
install Archives() failed: (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 262697 files and directories currently installed.)
Unpacking rawtherapee (from .../rawtherapee_3.0.0~dfsg1-1build1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/rawtherapee_3.0.0~dfsg1-1build1_amd64.deb (--unpack):
trying to overwrite '/usr/share/rawtherapee/images/curveType-NURBS.png', which is also in package rawtherapee-data 4.0.9-2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/rawtherapee_3.0.0~dfsg1-1build1_amd64.deb
Error in function:
有人能帮忙吗?
答案1
该文件是ubuntu 12.04 存储库中/usr/share/rawtherapee/images/curveType-NURBS.png
默认版本的一部分(就您而言);但您似乎也有可用的,它是 Ubuntu 12.10 Quantal rawtherapee 版本的一部分,如上所述rawtherapee
rawtherapee_3.0.0~dfsg1-1build1_amd64.deb
rawtherapee-data 4.0.9-2
这里。因此你似乎有两个可用的不相容程序的各个版本都会尝试互相替换,因此会出现安装错误。
这是 dpkg 可能出现的问题,并且有记录这里详细。
首先,尝试:
sudo apt-get -f install
如果不成功,以下命令可以解决问题:
sudo dpkg -i --force-overwrite /var/cache/apt/archives/rawtherapee_3.0.0~dfsg1-1build1_amd64.deb
sudo apt-get -f install