我想升级debian wheezy给jessie。 但程序控制台安装程序在其configuration脚本中存在问题。
我取消了升级过程并启动了configuration手册:
dpkg --configure -D2 console-setup console-setup (1.123) wird eingerichtet ...
这个脚本不会结束。 我编辑了这个脚本(/var/lib/dpkg/info/console-setup.postinst),因为这一行:
dpkg --configure -D2 console-setup console-setup (1.123) wird eingerichtet ... --> D000002: fork/exec /var/lib/dpkg/info/console-setup.postinst ( configure 1.88 )
我添加了这一行:set -ex
现在我得到这个结果:
/var/lib/dpkg/info/console-setup.postinst + . /usr/share/debconf/confmodule + [ ! ] + PERL_DL_NONLAZY=1 + export PERL_DL_NONLAZY + [ ] + exec /usr/share/debconf/frontend /var/lib/dpkg/info/console-setup.postinst Use of uninitialized value $action in string eq at /usr/share/debconf/frontend line 27. + . /usr/share/debconf/confmodule + [ ! 1 ] + [ -z ] + exec + [ ] + exec + DEBCONF_REDIR=1 + export DEBCONF_REDIR + CONFIGDIR=/etc/console-setup + CONFIGFILE=/etc/default/console-setup + [ ! -L /usr/share/doc/console-setup ] + [ = configure -a ! -L /etc/default/console-setup ] + setupcon --save-only + setupcon
脚本不会结束!
你知道为什么这个脚本不起作用吗?
你的帮助!