[Bug 1989811] Re: Failed upgrade 20.04 to 22.04: package usrmerge 25ubuntu2 failed to install/upgrade: installed usrmerge package post-installation script subprocess /usr/modules
Zye Lunar
1989811 at bugs.launchpad.net
Thu Aug 1 21:35:12 UTC 2024
This is happening to me also, when attempting to upgrade an ubuntu 20
Server on digital ocean to ubuntu 22. DEVS: ubuntu 20 LTS support
expires in 8 months. You've got less than 8 months to fix this problem
so your users can upgrade their software to a supported version!!!
Please hurry and give us a fix. I tried everything chatgpt4o could come
up with in to try to solve in 2 different attempts and no dice at all.
Ended up hosing my system completely both times. Please fix this. Aren't
you guys up to UBUNTU 24 LTS already and you haven't even fixed this
upgrade from 20 to 22 yet??????? Please and thank you.
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
Processing triggers for sgml-base (1.30) ...
Errors were encountered while processing:
usrmerge
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)
Problem report file: /var/crash/usrmerge.0.crash
Could not install the upgrades
The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).
Setting up usrmerge (25ubuntu2) ...
Smartmatch is experimental at /usr/lib/usrmerge/convert-usrmerge line 172.
mv: cannot move '/lib/modules' to '/usr/lib/modules': Device or resource busy
FATAL ERROR:
mv --no-clobber /lib/modules /usr/lib/modules: rc=1
You can try correcting the errors reported and running again
/usr/lib/usrmerge/convert-usrmerge until it will complete without errors.
Do not install or update other Debian packages until the program
has been run successfully.
dpkg: error processing package usrmerge (--configure):
installed usrmerge package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
usrmerge
Upgrade complete
The upgrade has completed but there were errors during the upgrade
process.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to usrmerge in Ubuntu.
https://bugs.launchpad.net/bugs/1989811
Title:
Failed upgrade 20.04 to 22.04: package usrmerge 25ubuntu2 failed to
install/upgrade: installed usrmerge package post-installation script
subprocess /usr/modules
Status in usrmerge package in Ubuntu:
Confirmed
Bug description:
Upgrade from 20.04 to 22.04 fails. Thereafter...
Setting up usrmerge (25ubuntu2) ...
Smartmatch is experimental at /usr/lib/usrmerge/convert-usrmerge line 172.
mv: cannot move '/lib/modules' to '/usr/lib/modules': Device or resource busy
FATAL ERROR:
mv --no-clobber /lib/modules /usr/lib/modules: rc=1
You can try correcting the errors reported and running again
/usr/lib/usrmerge/convert-usrmerge until it will complete without errors.
Do not install or update other Debian packages until the program
has been run successfully.
dpkg: error processing package usrmerge (--configure):
installed usrmerge package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
usrmerge
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: usrmerge 25ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
Uname: Linux 3.13.0-37-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Thu Sep 15 17:08:57 2022
ErrorMessage: installed usrmerge package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2014-04-18 (3072 days ago)
InstallationMedia:
PackageArchitecture: all
Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
dpkg 1.21.1ubuntu2.1
apt 2.4.7
SourcePackage: usrmerge
Title: package usrmerge 25ubuntu2 failed to install/upgrade: installed usrmerge package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to jammy on 2022-09-15 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usrmerge/+bug/1989811/+subscriptions
More information about the foundations-bugs
mailing list