APT ERROR (с момента установки multiscan: i386): установленный подпроцесс сценарий после установки дал значение ошибки 1 [дубликат]

На этот вопрос уже есть ответ здесь:

У меня большая проблема с управлением пакетами (apt). Я попытался установить multiscan: i386 , и с тех пор я всегда получаю ошибки, когда использую команды, связанные с управлением пакетами.

Не знаю, имеет ли это значение, но у меня i7-4720HQ, Ubuntu 17.10.1, 64-битная архитектура, и я обычно устанавливаю пакеты amd64.

me@LINUX:~$ sudo apt remove multiscan
[sudo] password for me: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  multiscan:i386
0 upgraded, 0 newly installed, 1 to remove and 1647 not upgraded.
1 not fully installed or removed.
After this operation, 98.3 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 459704 files and directories currently installed.)
Removing multiscan:i386 (0.8.5-1) ...
install-info: No dir file specified; try --help for more information.
dpkg: error processing package multiscan:i386 (--remove):
 subprocess installed pre-removal script returned error exit status 1
install-info: No dir file specified; try --help for more information.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 multiscan:i386
0
задан 5 May 2018 в 23:37

1 ответ

Я сделал это:

me@LINUX:~$ sudo rm /var/lib/dpkg/info/multiscan.postinst -f
me@LINUX:~$ sudo rm /var/lib/dpkg/info/multiscan.md5sums -f
me@LINUX:~$ sudo rm /var/lib/dpkg/info/multiscan.list -f
me@LINUX:~$ sudo rm /var/lib/dpkg/info/multiscan.prerm -f
me@LINUX:~$ sudo dpkg --remove --force-remove-reinstreq multiscan
(Lese Datenbank ... 459694 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von multiscan:i386 (0.8.5-1) ...
2
ответ дан 29 October 2019 в 23:35

Другие вопросы по тегам:

Похожие вопросы: