/usr/sbin/dpkg-preconfigure: line 6: BEGIN: command not found

Вот такие ошибки вывалились при работе с системой :

/usr/sbin/dpkg-preconfigure: line 6: BEGIN: command not found
/usr/sbin/dpkg-preconfigure: line 7: qq{: command not found
/usr/sbin/dpkg-preconfigure: line 8: use: command not found
/usr/sbin/dpkg-preconfigure: line 9: use: command not found
/usr/sbin/dpkg-preconfigure: line 10: syntax error near unexpected token `('
/usr/sbin/dpkg-preconfigure: line 10: ` use Debconf::Log qw(:all);'
(Reading database … 26269 files and directories currently installed.)
Preparing to replace libc6 2.7-18lenny4 (using …/libc6_2.7-18lenny7_amd64.deb) …
/usr/share/debconf/frontend: line 5: use: command not found
/usr/share/debconf/frontend: line 6: use: command not found
/usr/share/debconf/frontend: line 7: use: command not found
/usr/share/debconf/frontend: line 8: syntax error near unexpected token `('
/usr/share/debconf/frontend: line 8: `use Debconf::AutoSelect qw(:all);'

Что очень интересно, ведь судя по

dpkg -l | grep perl

все пакеты установлены корректно.

Фикс :

apt-get install perl

командой будут установлены пара пакетов перла, после чего ошибка исчезнет.

Tags: ,

Leave a Reply