ой проблема у меня такая возникла, както мне подкинули троянов, я вычистил их, а заодно и удалил случайно файл /usr/bin/perl
Походу это перл, вебмин сразу накрылся. по моему адресу, по которому обычно заходил вебмин перестал пахать. Слава богу ssh есть, подключился к ссаш и попытался переустановить перл, но вылезла ошибка, с которой я разобраться не могу:
***@oasis-media:~$ sudo aptitude reinstall perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages have been automatically kept back:
exim4-base exim4-config exim4-daemon-light libpq5 linux-libc-dev
php5-common php5-mysql
The following packages have been kept back:
apparmor apparmor-utils awstats bsdutils exim4 fuse-utils
libapache2-mod-php5 libc6 libc6-dev libc6-i686 libdbus-1-3 libfuse2
libkrb53 linux-image-2.6.24-28-server
linux-ubuntu-modules-2.6.24-28-server mount php5 php5-cgi php5-cli
php5-curl php5-gd php5-xsl tzdata util-linux util-linux-locales
The following packages will be REINSTALLED:
perl
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 32 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
/bin/sh: /usr/sbin/dpkg-preconfigure: Permission denied
Setting up perl (5.8.8-12ubuntu0.4) ...
/var/lib/dpkg/info/perl.postinst: 19: update-alternatives: Permission denied
dpkg: error processing perl (--configure):
subprocess post-installation script returned error exit status 126
Errors were encountered while processing:
perl
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up perl (5.8.8-12ubuntu0.4) ...
/var/lib/dpkg/info/perl.postinst: 19: update-alternatives: Permission denied
dpkg: error processing perl (--configure):
subprocess post-installation script returned error exit status 126
Errors were encountered while processing:
perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
***@oasis-media:~$