[Bug 2051447] [NEW] package usrmerge 25ubuntu2 failed to install/upgrade: installed usrmerge package post-installation script subprocess returned error exit status 1 - when upgrading from Ubuntu 20.04 to 22.04

Chris Hayward 2051447 at bugs.launchpad.net
Sun Jan 28 10:49:07 UTC 2024


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

Public bug reported:

upgrading from Ubuntu 20.04 to 22.04
Got to 99% complete, then had this error.

Further errors after sending the report:

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.

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

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: usrmerge 25ubuntu2
ProcVersionSignature: Microsoft 4.4.0-19041.3636-Microsoft 4.4.35
Uname: Linux 4.4.0-19041-Microsoft x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Sun Jan 28 10:29:06 2024
Dmesg:
 [    0.009677]  Microsoft 4.4.0-19041.3636-Microsoft 4.4.35
 [    0.162828] WSL (1) WARNING: /etc/resolv.conf updating disabled in /etc/wsl.conf
 [    0.162843] WSL (1) WARNING: /etc/resolv.conf updating disabled in /etc/wsl.conf
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
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.2
 apt  2.4.11
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 2024-01-28 (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
Foundations Bugs, which is subscribed to usrmerge in Ubuntu.
https://bugs.launchpad.net/bugs/2051447

Title:
  package usrmerge 25ubuntu2 failed to install/upgrade: installed
  usrmerge package post-installation script subprocess returned error
  exit status 1 - when upgrading from Ubuntu 20.04 to 22.04

Status in usrmerge package in Ubuntu:
  New

Bug description:
  upgrading from Ubuntu 20.04 to 22.04
  Got to 99% complete, then had this error.

  Further errors after sending the report:

  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.

  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

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: usrmerge 25ubuntu2
  ProcVersionSignature: Microsoft 4.4.0-19041.3636-Microsoft 4.4.35
  Uname: Linux 4.4.0-19041-Microsoft x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Sun Jan 28 10:29:06 2024
  Dmesg:
   [    0.009677]  Microsoft 4.4.0-19041.3636-Microsoft 4.4.35
   [    0.162828] WSL (1) WARNING: /etc/resolv.conf updating disabled in /etc/wsl.conf
   [    0.162843] WSL (1) WARNING: /etc/resolv.conf updating disabled in /etc/wsl.conf
  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
  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.2
   apt  2.4.11
  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 2024-01-28 (0 days ago)

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




More information about the foundations-bugs mailing list