package base-files 12ubuntu4.1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| dpkg (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
error with dpkg and base-files.
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: base-files 12ubuntu4.1
ProcVersionSign
Uname: Linux 5.15.0-46-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
AptOrdering:
base-files:amd64: Install
base-files:amd64: Configure
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Tue Aug 16 13:20:40 2022
ErrorMessage: subprocess installed pre-removal script returned error exit status 1
InstallationDate: Installed on 2022-05-09 (99 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
Python3Details: /usr/bin/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.21.1ubuntu2.1
apt 2.4.5
SourcePackage: base-files
Title: package base-files 12ubuntu4.1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

This does not look like an Ubuntu bug. You have the most recent jammy version of dpkg installed on your system according to your bug report, however the upgrade failure shows an internal error when trying to invoke 'dpkg --valiate-version' from dpkg-maintscrip t-helper.
What does `which dpkg` return on your system?