*** This bug is a duplicate of bug 1985982 ***
    https://bugs.launchpad.net/bugs/1985982

Public bug reported:

I was upgrading Ubuntu in a terminal in WSL using distribution upgrade
after apt-upgrade.  First upgrade moved to Ubuntu 18.04 (I am not sure
about the version... but it was 18.x).  I re-opened the WSL terminal and
did another distribution upgrade.  This one got a permission denied
error.

Setting up usrmerge (25ubuntu2) ...
Smartmatch is experimental at /usr/lib/usrmerge/convert-usrmerge line 172.

FATAL ERROR:
Can't rename /lib: Permission denied at /usr/lib/usrmerge/convert-usrmerge line 
255.

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

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: usrmerge 25ubuntu2
ProcVersionSignature: Microsoft 4.4.0-19041.5794-Microsoft 4.4.35
Uname: Linux 4.4.0-19041-Microsoft x86_64
ApportVersion: 2.20.11-0ubuntu82.7
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Thu Jun  5 17:21:38 2025
Dmesg: [    0.009386]  Microsoft 4.4.0-19041.5794-Microsoft 4.4.35
ErrorMessage: installed usrmerge package post-installation script subprocess 
returned error exit status 1
PackageArchitecture: all
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 
3.10.6-1~22.04.1
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.3
 apt  2.4.14
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 2025-06-05 (0 days ago)

** Affects: usrmerge (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package jammy uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2112601

Title:
  usrmerge permission denied convert-usrmerge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usrmerge/+bug/2112601/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to