当前位置:   article > 正文

dpkg 安装程序出现问题_leaving unconfigured

leaving unconfigured

使用apt-get安装任何程序都会出现如下错误,dpkg 产生的

The following partially installed packages will be configured:
  gdebi gksu 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 102 not upgraded.
Need to get 0 B/71.8 kB of archives. After unpacking 0 B will be used.
dpkg: error processing package libgksu2-0 (--configure):
 package libgksu2-0 is not ready for configuration
 cannot configure (current status 'half-installed')
dpkg: dependency problems prevent configuration of gksu:
 gksu depends on libgksu2-0 (>= 2.0.8); however:
  Package libgksu2-0 is not installed.

dpkg: error processing package gksu (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gdebi:
 gdebi depends on gksu; however:
  Package gksu is not configured yet.

dpkg: error processing package gdebi (--configure):
 dependency problems - leaving unconfigured
No 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.
                                                                                      Errors were encountered while processing:
 libgksu2-0
 gksu
 gdebi
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package.  Trying to recover:
dpkg: dependency problems prevent configuration of gdebi:
 gdebi depends on gksu; however:
  Package gksu is not configured yet.

dpkg: error processing package gdebi (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gdebi
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
解决办法

dpkg: error processing package linux-image-generic (–configure): dependency problems - leaving unconfigured

https://askubuntu.com/questions/517857/dpkg-error-processing-package-linux-image-generic-configure-dependency-pro

I had this issue just now. What I did was purge the errant package using dpkg in my case then update and force the reinstall:

清除安装失败的包,然后更新

sudo dpkg --purge linux-image-3.13.0-35-generic
sudo apt-get update
sudo apt-get -f install
  • 1
  • 2
  • 3

The installation process may take a bit longer, but it worked in the end.

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/88664
推荐阅读
相关标签
  

闽ICP备14008679号