package libcrypt1 1:4.4.10-10ubuntu4 failed to install/upgrade: rm command for cleanup subprocess returned error exit status 127
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxcrypt (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
do-release-upgrade from bionic to focal has broken for me on at least 9 servers during release upgrade. perl tries to load /lib/x86_
and the upgrade fails.
I always manage to complete the upgrade by copying /lib/x86_
from a healthy system (20.04.1) and making the symlink to /lib/x86_
release before upgrade:
Description: Ubuntu 18.04.5 LTS
Release: 18.04
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: libcrypt1 1:4.4.10-10ubuntu4
ProcVersionSign
Uname: Linux 5.4.0-53-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Wed Nov 11 09:49:28 2020
DuplicateSignature:
package:
Unpacking libc6:amd64 (2.31-0ubuntu9.1) over (2.27-3ubuntu1.3) ...
/usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
dpkg: error while cleaning up:
rm command for cleanup subprocess returned error exit status 127
ErrorMessage: rm command for cleanup subprocess returned error exit status 127
InstallationDate: Installed on 2015-11-12 (1825 days ago)
InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021)
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.1
SourcePackage: libxcrypt
Title: package libcrypt1 1:4.4.10-10ubuntu4 failed to install/upgrade: rm command for cleanup subprocess returned error exit status 127
UpgradeStatus: Upgraded to focal on 2020-11-11 (0 days ago)
modified.
mtime.conffile.
tags: | removed: need-duplicate-check |
I just hit this issue on a server as well. I had to copy the libcrypt.so.1.1.0 from a healthy Ubuntu 20.04 server via HTTP, as scp wasn't working so I assumed anything using https wouldn't either:
# wget http:// server: 8000/libcrypt. so.1.1. 0 x86_64- linux-gnu/ libcrypt. so.1.1. 0 x86_64- linux-gnu/ libcrypt. so.1.1. 0 /usr/lib/ x86_64- linux-gnu/ libcrypt. so.1
# mv libcrypt.so.1.1.0 /usr/lib/
# ln -s /usr/lib/
# apt install -f
# apt dist-upgrade
# reboot
After that the server was OK.