ambiguous package name 'libglib2.0-0' with more than one installed instance

简介:
ambiguous package name 'libglib2.0-0' with more than one installed instance

解决办法:

$ sudo vi /var/lib/dpkg/triggers/File

按a或i进入编辑模式

Replace the following lines:

/usr/lib/x86_64-linux-gnu/gio/modules libglib2.0-0
/usr/lib/gio/modules libglib2.0-0
/usr/share/glib-2.0/schemas libglib2.0-0

With this:

/usr/lib/x86_64-linux-gnu/gio/modules libglib2.0-0:amd64
/usr/lib/gio/modules libglib2.0-0:amd64
/usr/share/glib-2.0/schemas libglib2.0-0:amd64

按Esc键退出编辑模式

:wq (保存并退出)


$ sudo dpkg --configure -a 

本文转自linux博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/1371708如需转载请自行联系原作者


yangzhimingg

相关文章
“Could not find suitable distribution for Requirement.parse(‘XXXX‘)”的问题
“Could not find suitable distribution for Requirement.parse(‘XXXX‘)”的问题
397 0
|
8月前
|
Linux
报错 Package ‘oniguruma‘, required by ‘virtual:world‘, not found
报错 Package ‘oniguruma‘, required by ‘virtual:world‘, not found
449 0
Error: Plugin/Preset files are not allowed to export objects, only functions……
Error: Plugin/Preset files are not allowed to export objects, only functions……
|
资源调度
No change to package.json was detected. No package manager install will be executed.怎么解决
这个提示是由于没有对 package.json 文件进行更改所导致的,因此无需运行包管理器的安装。
439 0
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
335 0
libcanberra development package not found
libcanberra development package not found
73 0
No package ‘glib-2.0‘ found/No package ‘gobject-2.0‘ found
No package ‘glib-2.0‘ found/No package ‘gobject-2.0‘ found
218 0
No package ‘polkit-gobject-1‘ found
No package ‘polkit-gobject-1‘ found
116 0
|
Java
The type XXX cannot be resolved. It is indirectly referenced from required .class files
The type XXX cannot be resolved. It is indirectly referenced from required .class files
147 0
package has no installation candidate
package has no installation candidate
99 0