This is still broken in Bionic with landscape-client 
The proposed patch does not work.

landscape-client:
  Geïnstalleerd: 18.01-0ubuntu3.1
  Kandidaat:     18.01-0ubuntu3.1
  Versietabel:
 *** 18.01-0ubuntu3.1 500
        500 http://nl.archive.ubuntu.com/ubuntu bionic-updates/main amd64 
Packages
        100 /var/lib/dpkg/status
     18.01-0ubuntu3 500
        500 http://nl.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 653, in 
_runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python3/dist-packages/landscape/client/package/reporter.py", 
line 95, in <lambda>
    result.addCallback(lambda x: self.detect_changes())
  File "/usr/lib/python3/dist-packages/landscape/client/package/reporter.py", 
line 543, in detect_changes
    deferred = self.detect_packages_changes()
  File "/usr/lib/python3/dist-packages/landscape/client/package/reporter.py", 
line 551, in detect_packages_changes
    if self._got_task or self._package_state_has_changed():
  File "/usr/lib/python3/dist-packages/landscape/client/package/reporter.py", 
line 577, in _package_state_has_changed
    last_changed = os.stat(f).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: 
'/var/lib/apt/lists/_var_lib_landscape_client_package_binaries_._Packages'

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

Title:
  apt related unit test errors in artful, bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/1736576/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to