![从稳定版升级到测试版后,apt-get upgrade 不起作用:libc-bin 包出现错误循环](https://linux22.com/image/1573052/%E4%BB%8E%E7%A8%B3%E5%AE%9A%E7%89%88%E5%8D%87%E7%BA%A7%E5%88%B0%E6%B5%8B%E8%AF%95%E7%89%88%E5%90%8E%EF%BC%8Capt-get%20upgrade%20%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8%EF%BC%9Alibc-bin%20%E5%8C%85%E5%87%BA%E7%8E%B0%E9%94%99%E8%AF%AF%E5%BE%AA%E7%8E%AF.png)
我从 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
我的包裹。
我希望,是有用的。