ambiguous package name 'libglib2.0-0' with more than one installed instance
2014-03-10 13:07
393 查看
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
解决办法:
$ 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
相关文章推荐
- An AVPlayerItem cannot be associated with more than one instance of AVPlayer
- An AVPlayerItem cannot be associated with more than one instance of AVPlayer
- An AVPlayerItem cannot be associated with more than one instance of AVPlayer'
- An AVPlayerItem cannot be associated with more than one instance of AVPlayer
- An AVPlayerItem cannot be associated with more than one instance of AVPlayer错误
- java.lang.IllegalArgumentException: Registered more than one instance with the s
- java.lang.IllegalArgumentException: Registered more than one instance with the same objectName
- An AVPlayerItem cannot be associated with more than one instance of AVPlayer
- More than one file was found with OS independent path
- JAX-RS(REST Web Services)2.0 can not be installed: One or more constraints have not been satisfied
- ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.al
- Found more than one concrete type for given DbContext Type (xxx.xxxx.xxx) define MultiTenancySideAttribute with Tenant
- 【错误】More than one row with the given identifier was found: 1, for class:
- more than one row with the given identifier was found
- Python-numpy逻辑报错:The truth value of an array with more than one element is ambiguous. Us
- More than one file was found with OS independent path 'META-INF/DEPENDENCIES'
- More than one file was found with OS independent path 'META-INF/DEPENDENCIES'
- Flex中TypeError: Error #1089: Assignment to lists with more than one item is not supported.
- 重建硬连接(hard link)Will not restore a file with more than one hard link (/etc/resolv.conf) No such file or directory
- Error:more than one library with package name