Ubuntu 16.04 LTS
apt-get install -f
Результат:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gcc-5-base:i386 linux-headers-4.4.0-141 linux-headers-4.4.0-141-generic linux-headers-4.4.0-142 linux-headers-4.4.0-142-generic linux-headers-4.4.0-143 linux-headers-4.4.0-143-generic
linux-image-4.4.0-141-generic linux-image-4.4.0-142-generic linux-image-4.4.0-143-generic linux-image-extra-4.4.0-141-generic linux-image-extra-4.4.0-142-generic linux-modules-4.4.0-143-generic
linux-modules-extra-4.4.0-143-generic snapd-login-service
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
sssd-common
Suggested packages:
sssd-tools
The following packages will be upgraded:
sssd-common
1 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
8 not fully installed or removed.
Need to get 0 B/736 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 368688 files and directories currently installed.)
Preparing to unpack .../sssd-common_1.13.4-1ubuntu1.14_amd64.deb ...
Failed to stop sssd-autofs.service: Unit sssd-autofs.service not loaded.
invoke-rc.d: initscript sssd-autofs, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
Failed to stop sssd-autofs.service: Unit sssd-autofs.service not loaded.
invoke-rc.d: initscript sssd-autofs, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/sssd-common_1.13.4-1ubuntu1.14_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 5
Errors were encountered while processing:
/var/cache/apt/archives/sssd-common_1.13.4-1ubuntu1.14_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Я попытался очистить кэш для обновления базы пакета. Также не удалось выполнить dpkg --reconfigure -a. Я застрял в сломанной системе. Есть идеи?