[Bug 1960197] Re: package update-manager 1:20.04.10.10 failed to install/upgrade: update-manager.prerm: 6: py3clean: not found

Victoria 1960197 at bugs.launchpad.net
Mon Sep 26 14:02:43 UTC 2022


Thank you for the response. I tried to configure pycharm project and
wanted to upgrade python to the latest version and not using venv. I
managed to break something so my terminal did not open at all, I could
not update anything or install software. I got it fixed finally with the
help, but I thing something is still broken.

> On 26. 9. 2022, at 14:05, Benjamin Drung <1960197 at bugs.launchpad.net> wrote:
> 
> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. Looking at your DpkgHistoryLog.txt, you are trying to
> remove python3.8 which is the default Python in Ubuntu 20.04. A lot of
> packages depend on Python and removing python3.8 will probably break a
> desktop installation.
> 
> I tried to reproduce this failure in a minimal chroot, which worked fine:
> ```
> apt-get install -y update-manager
> apt-get remove python3.8
> ```
> 
> /var/lib/dpkg/info/update-manager.prerm in Ubuntu 20.04 (focal) guards
> the call to py3clean:
> 
> ```
> if which py3clean >/dev/null 2>&1; then
>    py3clean -p update-manager 
> else
> ```
> 
> So py3clean shouldn't be called when py3clean is not installed. I fail
> to figure out how you managed to run into this.
> 
> What were you trying to install/uninstall and why?
> 
> ** Changed in: update-manager (Ubuntu)
>       Status: Confirmed => Incomplete
> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1960197
> 
> Title:
>  package update-manager 1:20.04.10.10 failed to install/upgrade:
>  update-manager.prerm: 6: py3clean: not found
> 
> Status in update-manager package in Ubuntu:
>  Incomplete
> 
> Bug description:
>  nothing to add
> 
>  TerminalLog.txt says:
> 
>  Suppression de update-manager (1:20.04.10.10) ...
>  /var/lib/dpkg/info/update-manager.prerm: 6: py3clean: not found
> 
>  ProblemType: Package
>  DistroRelease: Ubuntu 20.04
>  Package: update-manager 1:20.04.10.10
>  ProcVersionSignature: Ubuntu 5.4.0-97.110-generic 5.4.162
>  Uname: Linux 5.4.0-97-generic x86_64
>  NonfreeKernelModules: nvidia
>  ApportVersion: 2.20.11-0ubuntu27.21
>  Aptdaemon:
> 
>  Architecture: amd64
>  CasperMD5CheckResult: skip
>  Date: Sat Feb  5 14:49:21 2022
>  ErrorMessage: installed update-manager package pre-removal script subprocess returned error exit status 127
>  GsettingsChanges:
> 
>  PackageArchitecture: all
>  Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
>  PythonDetails: N/A
>  RelatedPackageVersions:
>   dpkg 1.19.7ubuntu3
>   apt  2.0.6
>  SourcePackage: update-manager
>  Title: package update-manager 1:20.04.10.10 failed to install/upgrade: installed update-manager package pre-removal script subprocess returned error exit status 127
>  UpgradeStatus: No upgrade log present (probably fresh install)
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1960197/+subscriptions
>

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

Title:
  package update-manager 1:20.04.10.10 failed to install/upgrade:
  update-manager.prerm: 6: py3clean: not found

Status in update-manager package in Ubuntu:
  Incomplete

Bug description:
  nothing to add

  TerminalLog.txt says:

  Suppression de update-manager (1:20.04.10.10) ...
  /var/lib/dpkg/info/update-manager.prerm: 6: py3clean: not found

  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: update-manager 1:20.04.10.10
  ProcVersionSignature: Ubuntu 5.4.0-97.110-generic 5.4.162
  Uname: Linux 5.4.0-97-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.20.11-0ubuntu27.21
  Aptdaemon:

  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Sat Feb  5 14:49:21 2022
  ErrorMessage: installed update-manager package pre-removal script subprocess returned error exit status 127
  GsettingsChanges:

  PackageArchitecture: all
  Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.6
  SourcePackage: update-manager
  Title: package update-manager 1:20.04.10.10 failed to install/upgrade: installed update-manager package pre-removal script subprocess returned error exit status 127
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1960197/+subscriptions




More information about the foundations-bugs mailing list