diff options
author | Alan Jenkins <alan.christopher.jenkins@gmail.com> | 2017-05-14 18:11:59 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-05-16 23:16:43 +0200 |
commit | 7b4581cbe8fcf6e2bd56a27c5a7a1e6ea33d2973 (patch) | |
tree | 374a87daee60d91e0c35080c6458e411d71408a0 /methods/mirror.cc | |
parent | 59929e14271f82baa4c7cba4a071df21fe5b9d27 (diff) |
apt.systemd.daily: fix error from locking code
Error:
pkgs that look like they should be upgraded:
Error in function stop
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apt/progress/text.py", line 240,
in stop
apt_pkg.size_to_str(self.current_cps))).rstrip("\n"))
File "/usr/lib/python3/dist-packages/apt/progress/text.py", line 51,
in _write
self._file.write("\r")
AttributeError: 'NoneType' object has no attribute 'write'
fetch.run() result: 0
Caused by:
LOCKFD=3
unattended_upgrades $LOCKFD>&-
Unfortunately this code does not work, it is equivalent to
unattended_upgrades 3 >&-
I.e. it left fd 3 open, but closed stdout!
Closes: #862567
Diffstat (limited to 'methods/mirror.cc')
0 files changed, 0 insertions, 0 deletions