首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >处理gdk-psd psd时遇到错误。

处理gdk-psd psd时遇到错误。
EN

Ask Ubuntu用户
提问于 2014-06-10 19:05:03
回答 1查看 709关注 0票数 0

每当我安装/移除或其他使用dpkg的任何东西时,我都会收到这个错误.

代码语言:javascript
复制
Errors were encountered while processing:  gdk-pixbuf-psd E: Sub-process /usr/bin/dpkg returned an error code (1)

我试过:

代码语言:javascript
复制
sudo dpkg -r logmein-client 
sudo apt-get install -f

他们都不起作用。还试图使用删除它,但也会发生同样的错误。

我该怎么做才能摆脱它?

编辑:运行sudo apt安装-f的完整日志

代码语言:javascript
复制
Reading package lists... Done Building dependency tree        Reading
state information... Done 0 upgraded, 0 newly installed, 0 to remove
and 12 not upgraded. 1 not fully installed or removed. After this
operation, 0 B of additional disk space will be used. Setting up
gdk-pixbuf-psd (20081217) ...
/var/lib/dpkg/info/gdk-pixbuf-psd.postinst: 23:
/var/lib/dpkg/info/gdk-pixbuf-psd.postinst: cannot create
/usr/lib/gtk-2.0/2.10.0/loader-files.d/gdk-pixbuf-psd.loaders:
Directory nonexistent /var/lib/dpkg/info/gdk-pixbuf-psd.postinst: 23:
/var/lib/dpkg/info/gdk-pixbuf-psd.postinst: gdk-pixbuf-query-loaders:
not found dpkg: error processing package gdk-pixbuf-psd (--configure):
subprocess installed post-installation script returned error exit
status 127 Errors were encountered while processing:  gdk-pixbuf-psd
E: Sub-process /usr/bin/dpkg returned an error code (1)
EN

回答 1

Ask Ubuntu用户

发布于 2014-06-10 19:26:52

通过编辑这个文件修正了它:

代码语言:javascript
复制
/var/lib/dpkg/info/gdk-pixbuf-psd.postinst

我注释了第23行(在错误中表示),然后运行

代码语言:javascript
复制
sudo apt-get install -f

成功。之后,我使用删除了包

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/481526

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档