Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!
0 Пользователей и 1 Гость просматривают эту тему.
me@me:~$ sudo apt-get remove nut-client[sudo] password for me: Reading package lists... DoneBuilding dependency tree Reading state information... DoneThe following packages will be REMOVED: nut-client0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.1 not fully installed or removed.After this operation, 454 kB disk space will be freed.Do you want to continue? [Y/n] Y(Reading database ... 621425 files and directories currently installed.)Removing nut-client (2.7.1-1ubuntu5) ...Failed to stop nut-client.service: Unit nut-client.service not loaded.invoke-rc.d: initscript nut-client, action "stop" failed.dpkg: error processing package nut-client (--remove): subprocess installed pre-removal script returned error exit status 5insserv: warning: script 'eTSrv' missing LSB tags and overridesFailed to start nut-client.service: Unit nut-client.service failed to load: No such file or directory.invoke-rc.d: initscript nut-client, action "start" failed.dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 6Errors were encountered while processing: nut-clientE: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg -r nut-client
me@me:~$ sudo dpkg -r nut-client[sudo] password for me: (Reading database ... 621425 files and directories currently installed.)Removing nut-client (2.7.1-1ubuntu5) ...Failed to stop nut-client.service: Unit nut-client.service not loaded.invoke-rc.d: initscript nut-client, action "stop" failed.dpkg: error processing package nut-client (--remove): subprocess installed pre-removal script returned error exit status 5insserv: warning: script 'eTSrv' missing LSB tags and overridesFailed to start nut-client.service: Unit nut-client.service failed to load: No such file or directory.invoke-rc.d: initscript nut-client, action "start" failed.dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 6Errors were encountered while processing: nut-client
me@me:~$ ls /var/lib/dpkg/info/nut-clientls: cannot access /var/lib/dpkg/info/nut-client: No such file or directory
me@me:~$ sudo ls -l /var/lib/dpkg/info/nut-client*-rw-r--r-- 1 root root 85 окт. 12 14:26 /var/lib/dpkg/info/nut-client.conffiles-rw-r--r-- 1 root root 1751 окт. 16 19:03 /var/lib/dpkg/info/nut-client.list-rw-r--r-- 1 root root 1946 окт. 12 14:27 /var/lib/dpkg/info/nut-client.md5sums-rwxr-xr-x 1 root root 2387 окт. 12 14:26 /var/lib/dpkg/info/nut-client.postinst-rwxr-xr-x 1 root root 515 окт. 12 14:26 /var/lib/dpkg/info/nut-client.postrm-rwxr-xr-x 1 root root 966 окт. 12 14:26 /var/lib/dpkg/info/nut-client.preinst-rwxr-xr-x 1 root root 394 окт. 12 14:26 /var/lib/dpkg/info/nut-client.prerm
sudo rm -f /var/lib/dpkg/info/nut-client*
Страница сгенерирована за 0.017 секунд. Запросов: 20.