發布者認證信息(營業執照和身份證)未完善,請登錄后完善信息登錄
解决Ubuntu16.04下some packages not fully installed or removed问题-亿华网

久久天天躁狠狠躁夜夜,国精品无码一区二区三区左线,色综合网天天综合色中文,国产suv精品一区二区883,午夜精品一区二区三区的区别

首頁 » 資訊 » 編程開發 » LINUX > 解決Ubuntu16.04下some packages not fully installed or removed問題

解決Ubuntu16.04下some packages not fully installed or removed問題

  發布時間 : 2017-05-06 21:43:40 143
內容提要
前幾天把Ubuntu12.04的內核從3.11.0-15升級到了3.11.0-26,內核升級后還順便使用Update Manager升級了幾個包便忙***的去了
 前幾天把Ubuntu12.04的內核從3.11.0-15升級到(dao)了3.11.0-26,內核升(sheng)級后還順便使用Update Manager升級(ji)了(le)(le)(le)幾個包便忙(mang)***的去了(le)(le)(le),過了(le)(le)(le)一會發現Update Manager好像卡住(zhu)了,于是就直接把它關(guan)掉(diao)了。等下次開機時進入了最新(xin)升級(ji)后的內核系(xi)統(tong),在(zai)終端使用apt-get install ***安(an)裝(zhuang)軟件時(shi)屏(ping)幕(mu)打印出(chu)了下面的錯誤(wu)信息:

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 ***發現恢復正常了。

layui

微(wei)信掃(sao)碼(ma)關注 億(yi)華(hua)聯眾(zhong) 公眾(zhong)號

頭條推薦