summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefile.cc
diff options
context:
space:
mode:
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>2017-05-14 18:11:59 +0100
committerJulian Andres Klode <jak@debian.org>2017-05-19 11:23:14 +0200
commitf06527a0fe17a6780f7a4a483a8226a6e795e3d6 (patch)
treec4936c5bedfe5486b80c4f0943414f32c6dbc860 /apt-pkg/cachefile.cc
parenta90a6f585030f768e01bd38cd0788a14551b52a2 (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 (cherry picked from commit 7b4581cbe8fcf6e2bd56a27c5a7a1e6ea33d2973) (cherry picked from commit 3310f862cba0b997ede8fc4e2d270ab0f6b49e73)
Diffstat (limited to 'apt-pkg/cachefile.cc')
0 files changed, 0 insertions, 0 deletions