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

相关文章
|
4月前
|
Python
【Error】DeprecationWarning: executable_path has been deprecated, please pass in a Service object
【Error】DeprecationWarning: executable_path has been deprecated, please pass in a Service object
55 2
|
5月前
|
Linux
报错 Package ‘oniguruma‘, required by ‘virtual:world‘, not found
报错 Package ‘oniguruma‘, required by ‘virtual:world‘, not found
272 0
|
10月前
DeprecationWarning:current URL string parser is deprecated, and will be removed in a future version.
DeprecationWarning:current URL string parser is deprecated, and will be removed in a future version.
|
Python
Your requirements could not be resolved to an installable set of packages
Your requirements could not be resolved to an installable set of packages
7080 1
|
资源调度
No change to package.json was detected. No package manager install will be executed.怎么解决
这个提示是由于没有对 package.json 文件进行更改所导致的,因此无需运行包管理器的安装。
352 0
libcanberra development package not found
libcanberra development package not found
61 0
No package ‘gobject-introspection-1.0‘ found
No package ‘gobject-introspection-1.0‘ found
245 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
189 0
No package ‘vte-2.91‘ found
No package ‘vte-2.91‘ found
72 0
No package ‘dconf‘ found
No package ‘dconf‘ found
105 0