Control: tags -1 moreinfo unreproducible Hi,
duncanwebb <duncan-li...@uniqfeed.com> ezt írta (időpont: 2019. jún. 26., Sze, 10:05): > > Package: unattended-upgrades > Version: 0.83.3.2+deb8u1 > Severity: serious > Justification: normal > > Dear Maintainer, > > Jessie uses python 3.4 and python 3.4 does not support f"" strings > > So now unattended upgrades no longer performs security upgrades. > > /etc/cron.daily/apt: > Traceback (most recent call last): > File "/usr/bin/unattended-upgrade", line 55, in <module> > import apt > File "/usr/lib/python3/dist-packages/apt/__init__.py", line 26, in <module> > from apt.package import Package > File "/usr/lib/python3/dist-packages/apt/package.py", line 32, in <module> > from http.client import BadStatusLine > File "/usr/lib/python3.4/http/client.py", line 1014 > raise InvalidURL(f"URL can't contain control characters. {url!r} " > ^ > SyntaxError: invalid syntax > > The problem is in the file /usr/lib/python3.4/http/client.py, changing (f"URL > to ("URL will > will allow unattended-upgrades to work again but doesn't do what is intended. Seems to be working for me: root@j:~# unattended-upgrade --dry-run --verbose Initial blacklisted packages: Initial whitelisted packages: Starting unattended upgrades script Allowed origins are: ['origin=Debian,codename=jessie,label=Debian-Security'] No packages found that can be upgraded unattended root@j:~# dpkg -l unattended-upgrades Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================================================-===============================-===============================-============================================================================================================= ii unattended-upgrades 0.83.3.2+deb8u1 all automatic installation of security upgrades > > -- System Information: > Debian Release: 8.10 > APT prefers oldstable > APT policy: (500, 'oldstable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.9.0-0.bpo.5-amd64 (SMP w/32 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages unattended-upgrades depends on: > ii apt 1.0.9.8.5 > ii apt-utils 1.0.9.8.5 > ii debconf [debconf-2.0] 1.5.56+deb8u1 > ii init-system-helpers 1.22 > ii lsb-base 4.1+Debian13+nmu1 > ii lsb-release 4.1+Debian13+nmu1 > ii python3 3.4.2-2 root@j:~# dpkg -l python3.4 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================================================-===============================-===============================-============================================================================================================= ii python3.4 3.4.2-1+deb8u4 amd64 Interactive high-level object-oriented language (version 3.4) Your python3.4 version seem to be newer than mine. Probably it introduced a regression. Please seek for help at the source of this package. Cheers, Balint > ii python3-apt 0.9.3.12 > ii ucf 3.0030 > ii xz-utils 5.1.1alpha+20120614-2+b3 > > unattended-upgrades recommends no packages. > > Versions of packages unattended-upgrades suggests: > ii bsd-mailx 8.1.2-0.20141216cvs-2 > ii exim4-daemon-light [mail-transport-agent] 4.84.2-2+deb8u5 > > -- debconf-show failed >