package ansible 2.9.6+dfsg-1 failed to install/upgrade: installed ansible package pre-removal script subprocess returned error exit status 127

Bug #1969355 reported by Alexandra Veres
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ansible (Ubuntu)
New
Undecided
Unassigned

Bug Description

I got the error while upgrading my os.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: ansible 2.9.6+dfsg-1
ProcVersionSignature: Ubuntu 5.13.0-39.44~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-39-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.23
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon Apr 18 13:22:14 2022
DpkgTerminalLog:
 Removing ansible (2.9.6+dfsg-1) ...
 /var/lib/dpkg/info/ansible.prerm: 6: py3clean: not found
 dpkg: error processing package ansible (--remove):
  installed ansible package pre-removal script subprocess returned error exit status 127
 dpkg: too many errors, stopping
DuplicateSignature:
 package:ansible:2.9.6+dfsg-1
 Removing ansible (2.9.6+dfsg-1) ...
 /var/lib/dpkg/info/ansible.prerm: 6: py3clean: not found
 dpkg: error processing package ansible (--remove):
  installed ansible package pre-removal script subprocess returned error exit status 127
ErrorMessage: installed ansible package pre-removal script subprocess returned error exit status 127
InstallationDate: Installed on 2021-08-16 (244 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
PackageArchitecture: all
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.6
SourcePackage: ansible
Title: package ansible 2.9.6+dfsg-1 failed to install/upgrade: installed ansible package pre-removal script subprocess returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.ansible.ansible.cfg: 2021-10-14T21:49:50.379726

Revision history for this message
Alexandra Veres (alexandraveres) wrote :
tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.