[Bug 1993886] Re: package usrmerge 25ubuntu2 failed to install/upgrade: installed usrmerge package post-installation script subprocess returned error exit status 1 (on WSL1)

Micha Schmierer 1993886 at bugs.launchpad.net
Tue Nov 22 15:12:00 UTC 2022


I have run into a very similar issue (different line) with the same
package when upgrading from focal to jammy LTS in WSL1:

"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."

Turning it off (wsl --shutdown) and on again indeed seems to have fixed
the issue for me. After starting up WSL again, I was able to run
/usr/lib/usrmerge/convert-usrmerge successfully.

-- 
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/1993886

Title:
  package usrmerge 25ubuntu2 failed to install/upgrade: installed
  usrmerge package post-installation script subprocess returned error
  exit status 1 (on WSL1)

Status in Ubuntu WSL:
  New
Status in usrmerge package in Ubuntu:
  Confirmed

Bug description:
  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
  Errors were encountered while processing:
   usrmerge

  Upgrade complete

  The upgrade has completed but there were errors during the upgrade
  process.

  To continue please press [ENTER]
  === Command detached from window (Sat Oct 22 14:36:05 2022) ===
  === Command terminated with exit status 1 (Sat Oct 22 14:36:15 2022) ===

  Reading cache
  pcilib: Cannot open /proc/bus/pci
  lspci: Cannot find any working access method.

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: usrmerge 25ubuntu2
  ProcVersionSignature: Microsoft 4.4.0-19041.1237-Microsoft 4.4.35
  Uname: Linux 4.4.0-19041-Microsoft x86_64
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Sat Oct 22 13:20:53 2022
  Dmesg:
   [    3.918996]  Microsoft 4.4.0-19041.1237-Microsoft 4.4.35
   [    6.382258] <3>init: (1) ERROR: ConfigInitializeCommon:665: Failed to mount /usr/lib/wsl/drive
   [    6.382268] : 19
   [    6.383094] <3>init: (1) ERROR: ConfigInitializeCommon:665: Failed to mount /usr/lib/wsl/lib
   [    6.383107] 19
  ErrorMessage: installed usrmerge package post-installation script subprocess returned error exit status 1
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.1
   apt  2.4.8
  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-10-22 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntuwsl/+bug/1993886/+subscriptions




More information about the foundations-bugs mailing list