Closed orndorffgrant closed 2 months ago
This exact bug occurs when running the command _pro _security-status__ should it be reported in a different bug, or is here sufficient?
To Reproduce Please include details on how to reproduce the bug.
System information:
the output of this command starts with: sudo pro security-status _/usr/lib/python3/dist-packages/uaclient/apt.py:288: Warning: W:Unable to read /var/lib/ubuntu-advantage/apt-esm/etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory) apt_pkg.init() /usr/lib/python3/dist-packages/uaclient/apt.py:270: Warning: W:Unable to read /var/lib/ubuntu-advantage/apt-esm/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory) apt_pkg.initsystem()
then ends with the normal output of the command.
Thanks for the additional information @dbsavage! This comment is sufficient. It is the same bug and should be fixed by a commit in #2858 to be released in May.
Description of the bug
esm-cache.service warnings about directory structure
Expected behavior
esm-cache.service shouldn't log any warnings that are avoidable. We should create the full directory structure that
apt
expects to see.Current behavior
The following logs from esm-cache.service
To Reproduce
Please include details on how to reproduce the bug.
apt update
journalctl -u esm-cache.service
System information: