资讯专栏INFORMATION COLUMN

解决Ubuntu12.04下some packages not fully installed or

lily_wang / 2732人阅读

摘要:前几天把的内核从升级到了,内核升级后还顺便使用升级了几个包便忙其他的去了,过了一会发现好像卡住了,于是就直接把它关掉了。

前几天把Ubuntu12.04的内核从3.11.0-15升级到了3.11.0-26,内核升级后还顺便使用Update Manager升级了几个包便忙其他的去了,过了一会发现Update Manager好像卡住了,于是就直接把它关掉了。等下次开机时进入了最新升级后的内核系统,在终端使用apt-get install ***安装软件时屏幕打印出了下面的错误信息:

  

11 packages not fully installed or removed.

  

dpkg: error processing libdrm2:amd64 (--configure):
package libdrm2:amd64 2.4.52-1~precise2 cannot be configured because libdrm2:i386 is at a different version (2.4.52-1~precise1)
dpkg: error processing libdrm-intel1:amd64 (--configure):
package libdrm-intel1:amd64 2.4.52-1~precise2 cannot be configured because libdrm-intel1:i386 is at a different version (2.4.52-1~precise1)
dpkg: dependency problems prevent configuration of libdrm-nouveau1a:amd64:
libdrm-nouveau1a:amd64 depends on libdrm2 (>= 2.4.3); however:
Package libdrm2:amd64 is not configured yet.
dpkg: error processing libdrm-nouveau1a:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: error processing libdrm-radeon1:amd64 (--configure):
package libdrm-radeon1:amd64 2.4.52-1~precise2 cannot be configured because libdrm-radeon1:i386 is at a different version (2.4.52-1~precise1)
dpkg: error processing libxfixes3:amd64 (--configure):
package libxfixes3:amd64 1:5.0-4ubuntu4.3 cannot be configured because libxfixes3:i386 is at a different version (1:5.0-4ubuntu4.2)
dpkg: error processing libxi6:amd64 (--configure):
package libxi6:amd64 2:1.7.1.901-1ubuntu1~precise2 cannot be configured because libxi6:i386 is at a different version (2:1.7.1.901-1ubuntu1~precise1)
dpkg: dependency problems prevent configuration of google-chrome-stable:
google-chrome-stable depends on libxfixes3 (>= 1:5.0); however:
Package libxfixes3:amd64 is not configured yet.
google-chrome-stable depends on libxi6 (>= 2:1.2.99.4); however:
Package libxi6:amd64 is not configured yet.
dpkg: error processing google-chrome-stable (--configure):
dependency problems - leaving unconfigured
dpkg: error processing libdrm-nouveau2:amd64 (--configure):
No apport report written because the error message indicates its a followup error from a previous failure. package libdrm-nouveau2:amd64 2.4.52-1~precise2 cannot be configured because libdrm-nouveau2:i386 is at a different version (2.4.52-1~precise1)
dpkg: dependency problems prevent configuration of flashplugin-installer:
flashplugin-installer depends on libxfixes3; however:
Package libxfixes3:amd64 is not configured yet.
flashplugin-installer depends on libxi6; however:
Package libxi6:amd64 is not configured yet.
dpkg: error processing flashplugin-installer (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxfixes-dev:
libxfixes-dev depends on libxfixes3 (= 1:5.0-4ubuntu4.3); however:
Package libxfixes3:amd64 is not configured yet.
dpkg: error processing libxfixes-dev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxi-dev:
libxi-dev depends on libxi6 (= 2:1.7.1.901-1ubuntu1~precise2); however:
Package libxi6:amd64 is not configured yet.
libxi-dev dependsNo apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because MaxReports is reached already on libxfixes-dev (>= 1:5.0-4ubuntu4.2~); however:
Package libxfixes-dev is not configured yet.
dpkg: error processing libxi-dev (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libdrm2:amd64
libdrm-intel1:amd64
libdrm-nouveau1a:amd64
libdrm-radeon1:amd64
libxfixes3:amd64
libxi6:amd64
google-chrome-stable
libdrm-nouveau2:amd64
flashplugin-installer
libxfixes-dev
libxi-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)

解决方法:

sudo dpkg --force-depends --purge libdrm2:amd64
sudo dpkg --force-depends --purge libdrm2:i386
......
依次把上面列出的未完全安装的包移除掉,然后再使用sudo apt-get install -f修复系统依赖就好了,再次调用apt-get install ***发现恢复正常了。

文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。

转载请注明本文地址:https://www.ucloud.cn/yun/23390.html

相关文章

  • MySQL Community Server 5.7.18 deb安装以及实现主从复制

    摘要:执行免密码登陆报错。从库也需要修改配置文件,同样增加最后两行,注意要不同。重启两台服务器服务,。检查下从库的配置信息,注意和两个配置项必须为,否则存在问题。配置完成,进行下测试。查询下从库信息。 1.从oracle官网下载mysql安装包。 mysql-server_5.7.18-1ubuntu16.04_amd64.deb-bundle.tar 2.解压缩安装包。 tar -xf ...

    J4ck_Chan 评论0 收藏0
  • MySQL Community Server 5.7.18 deb安装以及实现主从复制

    摘要:执行免密码登陆报错。从库也需要修改配置文件,同样增加最后两行,注意要不同。重启两台服务器服务,。检查下从库的配置信息,注意和两个配置项必须为,否则存在问题。配置完成,进行下测试。查询下从库信息。 1.从oracle官网下载mysql安装包。 mysql-server_5.7.18-1ubuntu16.04_amd64.deb-bundle.tar 2.解压缩安装包。 tar -xf ...

    appetizerio 评论0 收藏0
  • Involute Calculator User Guide Document

    摘要:窗体版下载地址百度网盘提取密码对于中国大陆的用户,由于一些显而易见的原因,您不能访问几乎全部的谷歌服务。为此,我们在国内酷安网发布了此应用。 Involute Calculator User Guide Document 窗体版下载地址:百度网盘 提取密码:2trx 1. Introduction This involute calculator is the first all o...

    刘明 评论0 收藏0
  • 定制ubuntu14.04启动光盘并启用cairo-dock

    摘要:生成各个文件的值重新制作使用测试如果要测试安装就必须准备一个硬盘是分配的内存安装之后会发现已经被替换成了登陆之后 参考: forum.ubuntu.com.cn/viewtopic.php?f=161&t=134333&sid=55794fb361a69f92a1f7656ed77659fd 不修改initrd和kernel image的情况; ) 取出iso内容 do mkdi...

    freewolf 评论0 收藏0
  • 在 Linux 上部署 Docker

    摘要:参考官网用户指南环境依赖位及以上以上版本位在上安装支持以下的版本先决条件需要在位版本的上安装。在低于版本的内核上运行会丢失一部分功能。依据你的发行版本,在下表中找到对应条目。这个将决定将搜索的包。 参考 Docker 官网用户指南:https://docs.docker.com/engine/installation/linux/ 环境依赖 Linux:64 位 Kernel 3.1...

    xingqiba 评论0 收藏0

发表评论

0条评论

lily_wang

|高级讲师

TA的文章

阅读更多
最新活动
阅读需要支付1元查看
<