[Bug 1924809] [NEW] apt 2.0.5 in focal causes autopkgtest failures for update-manager

Brian Murray 1924809 at bugs.launchpad.net
Fri Apr 16 20:21:18 UTC 2021


Public bug reported:

======================================================================
ERROR: Test that updates from the security node go in
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.0o0kua/build.B7h/src/tests/test_update_list.py", line 30, in setUp
    self.cache = MyCache(apt.progress.base.OpProgress(),
  File "/tmp/autopkgtest.0o0kua/build.B7h/src/UpdateManager/Core/MyCache.py", line 70, in __init__
    apt.Cache.__init__(self, progress, rootdir)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 170, in __init__
    self.open(progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 232, in open
    self._cache = apt_pkg.Cache(progress)
apt_pkg.Error: W:Unable to read /tmp/autopkgtest.0o0kua/build.B7h/src/tests/aptroot-update-list-test/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory), E:Regex compilation error - Invalid range end

Full test results can be found here:

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
/autopkgtest-focal/focal/amd64/u/update-
manager/20210416_180839_df210@/log.gz

Downgrading apt to version 2.0.4 causes the test to pass again.

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


** Tags: rls-ff-incoming

** Tags added: rls-ff-incoming

-- 
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/1924809

Title:
  apt 2.0.5 in focal causes autopkgtest failures for update-manager

Status in apt package in Ubuntu:
  New

Bug description:
  ======================================================================
  ERROR: Test that updates from the security node go in
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/autopkgtest.0o0kua/build.B7h/src/tests/test_update_list.py", line 30, in setUp
      self.cache = MyCache(apt.progress.base.OpProgress(),
    File "/tmp/autopkgtest.0o0kua/build.B7h/src/UpdateManager/Core/MyCache.py", line 70, in __init__
      apt.Cache.__init__(self, progress, rootdir)
    File "/usr/lib/python3/dist-packages/apt/cache.py", line 170, in __init__
      self.open(progress)
    File "/usr/lib/python3/dist-packages/apt/cache.py", line 232, in open
      self._cache = apt_pkg.Cache(progress)
  apt_pkg.Error: W:Unable to read /tmp/autopkgtest.0o0kua/build.B7h/src/tests/aptroot-update-list-test/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory), E:Regex compilation error - Invalid range end

  Full test results can be found here:

  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-focal/focal/amd64/u/update-
  manager/20210416_180839_df210@/log.gz

  Downgrading apt to version 2.0.4 causes the test to pass again.

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



More information about the foundations-bugs mailing list