从稳定版升级到测试版后,apt-get upgrade 不起作用:libc-bin 包出现错误循环

从稳定版升级到测试版后,apt-get upgrade 不起作用:libc-bin 包出现错误循环

我从 Debian 稳定版升级到了 Debian 测试版,现在我无法apt-get upgrade再这样做了。

当我这样做时出现此错误:

Processing triggers for libc-bin (2.27-6) ...
dpkg: cycle found while processing triggers:
 chain of packages whose triggers are or may be responsible:
  libc-bin -> man-db
 packages' pending triggers which are or may be unresolvable:
  man-db: /usr/share/man
  libc-bin: ldconfig
dpkg: error processing package man-db (--configure):
 triggers looping, abandoned
Processing triggers for libc-bin (2.27-6) ...
Processing triggers for libc-bin (2.27-6) ...
dpkg: cycle found while processing triggers:
 chain of packages whose triggers are or may be responsible:
  libc-bin -> libc-bin -> libc-bin
 packages' pending triggers which are or may be unresolvable:
  libc-bin: ldconfig
dpkg: error processing package libc-bin (--configure):
 triggers looping, abandoned
Errors were encountered while processing:
 man-db
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

我尝试的是:

  • apt-get upgrade -f
  • apt-get --reinstall install libc-bin

答案1

我遇到了同样的错误Debian 8,并因此解决了:

dpkg --configure --no-triggers libc-bin
apt-get install -f

然后,install还是upgrade我的包裹。

我希望,是有用的。

相关内容