软件最新选项会自动下载GIMP的升级版本。
但是在安装时出现了错误。如何进行升级?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
gimp
Suggested packages:
gimp-help-en gimp-help libgimp-perl gimp-gap gimp-console
The following packages will be upgraded:
gimp
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,388 kB of archives.
After this operation, 324 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 151157 files and directories currently installed.)
Preparing to replace gimp 2.6.11-2ubuntu4 (using .../gimp_2.7.4-2011102201~oo_amd64.deb) ...
Unpacking replacement gimp ...
dpkg: error processing /var/cache/apt/archives/gimp_2.7.4-2011102201~oo_amd64.deb (--unpack):
trying to overwrite '/usr/lib/gimp/2.0/plug-ins/file-xmc', which is also in package gimp-plugin-registry 3.5.4-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/gimp_2.7.4-2011102201~oo_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
正在读取状态信息... 完成 您可能需要运行 'apt-get -f install' 命令来修复这些问题: 以下软件包存在未满足的依赖关系: gimp:依赖于 libgimp2.0 (<= 2.6.11-z),但将安装 2.7.4-2011102201
oo 版本 依赖于 gimp-data (<= 2.6.11-z),但将安装 2.7.4-2011102201oo 版本 E: 存在未满足的依赖关系。请尝试使用 'apt-get -f install' 命令,不指定任何软件包(或指定解决方案)。 - Manish Variaapt-get -f install
, 然后运行它会出现相同的错误。 - Manish Variasudo apt-get clean
来清除缓存。 - Bruno Pereiraapt-get -f install
。读取软件包列表... 完成 构建依赖关系树 读取状态信息... 完成 您可能需要运行'apt-get -f install'来纠正这些问题: 以下软件包有未满足的依赖关系: gimp-gmic:依赖于gimp(>= 2.6),但不会安装 E: 未满足的依赖关系。尝试使用无软件包的'apt-get -f install'(或指定解决方案)。执行apt-get -f install
后, 它再次下载了该软件包并出现相同的错误。 - Manish Variasudo apt-get -f install
时,它自动下载了依赖文件并移除了所有的GIMP软件包。非常感谢一切! - Manish Varia