Я хочу обновить debian wheezy до jessie. Но у программы console-setup есть проблемы со скриптом настройки.
Я отменил процесс обновления и запустил руководство по настройке:
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
Сценарий не заканчивается!
Вы знаете, почему этот скрипт не работает?
Тебе за твою помощь!