On 16.03.2021 20:26, L A Walsh wrote:
The following package is going to be upgraded: rpm
1 package to upgrade. Overall download size: 1.6 MiB. Already cached: 0 B After the operation, additional 2.6 KiB will be used. Continue? [y/n/? shows all options] (y): Checking for file conflicts: .............................................[done]
Retrieving package rpm-4.14.1-lp151.13.10.x86_64 (1/1), 1.6 MiB ( 4.6 MiB unpacked) (1/1) Installing: rpm-4.14.1-lp151.13.10 .................................[done] Additional rpm output: Updating /etc/sysconfig/services ...
Output of rpm-4.14.1-lp151.13.10.x86_64.rpm %posttrans script: migrating rpmdb from /var/lib/rpm to /usr/lib/sysimage/rpm... mv: inter-device move failed: 'var/lib/rpm/alternatives' to 'usr/lib/sysimage/rpm/alternatives'; unable to remove target: Directory not empty rmdir: failed to remove 'var/lib/rpm': Directory not empty
And what exactly is not clear in this message? Mon Nov 20 14:50:53 UTC 2017 - mpluskal@suse.com - Move update alternatives database to new location
Warning: rpm-4.14.1-lp151.13.10.x86_64.rpm %posttrans script failed (returned 1) Problem occured during or after installation or removal of packages: Failed to cache rpm database (1). Please see the above error message for a hint. ----------------
Speaking of weird error messages
Tried to install rpm from leap 15.1... Rats; yeah, have backups won't travel much...