[Bug 2071328] [NEW] unattended-upgrade script brakes with apt=2.4.12

Alto 2071328 at bugs.launchpad.net
Thu Jun 27 08:36:19 UTC 2024


Public bug reported:

When activating unattended-upgrades, the job (ps aux) "/usr/bin/python3
/usr/bin/unattended-upgrade --download-only" will not ever finish. User
cant upgrade, since the process is holding a lock on
"/var/lib/dpkg/lock-frontend".

"python3 -v /usr/bin/unattended-upgrade --download-only -v" never finishes, while using apt=2.4.12 on VERSION="22.04.4 LTS (Jammy Jellyfish)". 
It stops at:
```
...
Initial blacklist:
Initial whitelist (not strict):
# /usr/lib/python3.10/__pycache__/_strptime.cpython-310.pyc matches /usr/lib/python3.10/_strptime.py
# code object from '/usr/lib/python3.10/__pycache__/_strptime.cpython-310.pyc'
import '_strptime' # <_frozen_importlib_external.SourceFileLoader object at 0x7f3e527bfd60>

```
And does not ever finish.
It works again with downgrading to: "apt install apt=2.4.5": (2.4.8 also works, so the issue seems to be included after that).

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apt unattended-upgrade unattended-upgrades

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

Title:
  unattended-upgrade script brakes with apt=2.4.12

Status in apt package in Ubuntu:
  New

Bug description:
  When activating unattended-upgrades, the job (ps aux)
  "/usr/bin/python3 /usr/bin/unattended-upgrade --download-only" will
  not ever finish. User cant upgrade, since the process is holding a
  lock on "/var/lib/dpkg/lock-frontend".

  "python3 -v /usr/bin/unattended-upgrade --download-only -v" never finishes, while using apt=2.4.12 on VERSION="22.04.4 LTS (Jammy Jellyfish)". 
  It stops at:
  ```
  ...
  Initial blacklist:
  Initial whitelist (not strict):
  # /usr/lib/python3.10/__pycache__/_strptime.cpython-310.pyc matches /usr/lib/python3.10/_strptime.py
  # code object from '/usr/lib/python3.10/__pycache__/_strptime.cpython-310.pyc'
  import '_strptime' # <_frozen_importlib_external.SourceFileLoader object at 0x7f3e527bfd60>

  ```
  And does not ever finish.
  It works again with downgrading to: "apt install apt=2.4.5": (2.4.8 also works, so the issue seems to be included after that).

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




More information about the foundations-bugs mailing list