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

相关文章
|
5月前
|
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
76 2
|
6月前
|
Linux
报错 Package ‘oniguruma‘, required by ‘virtual:world‘, not found
报错 Package ‘oniguruma‘, required by ‘virtual:world‘, not found
354 0
|
11月前
Error: Plugin/Preset files are not allowed to export objects, only functions……
Error: Plugin/Preset files are not allowed to export objects, only functions……
|
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
8073 1
|
资源调度
No change to package.json was detected. No package manager install will be executed.怎么解决
这个提示是由于没有对 package.json 文件进行更改所导致的,因此无需运行包管理器的安装。
406 0
No package ‘gobject-introspection-1.0‘ found
No package ‘gobject-introspection-1.0‘ found
258 0
libcanberra development package not found
libcanberra development package not found
62 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
203 0
No package ‘polkit-gobject-1‘ found
No package ‘polkit-gobject-1‘ found
106 0
No package ‘vte-2.91‘ found
No package ‘vte-2.91‘ found
76 0