On Sun, 18 Oct 2020 13:29:26 +0300 Andrei POPESCU <andreimpopescu@gmail.com> wrote: > This looks good to me. > > After looking through the bugs list for unattended-upgrades I would > suggest you check whether upgrading vivaldi-stable requires > installing new packages or package removals ('apt upgrade -s' should > tell), as this will also block the upgrade (by design, see #645382). -------------------------------------------------- root@orca:~# apt upgrade -s Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following NEW packages will be installed: linux-image-4.19.0-12-amd64 The following packages will be upgraded: linux-image-amd64 linux-libc-dev vivaldi-stable 3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Inst vivaldi-stable [3.1.1929.45-1] (3.4.2066.76-1 Official Vivaldi package repository:stable [amd64]) Inst linux-image-4.19.0-12-amd64 (4.19.152-1 Debian-Security:10/stable [amd64]) Inst linux-image-amd64 [4.19+105+deb10u6] (4.19+105+deb10u7 Debian-Security:10/stable [amd64]) Inst linux-libc-dev [4.19.146-1] (4.19.152-1 Debian-Security:10/stable [amd64]) Conf vivaldi-stable (3.4.2066.76-1 Official Vivaldi package repository:stable [amd64]) Conf linux-image-4.19.0-12-amd64 (4.19.152-1 Debian-Security:10/stable [amd64]) Conf linux-image-amd64 (4.19+105+deb10u7 Debian-Security:10/stable [amd64]) Conf linux-libc-dev (4.19.152-1 Debian-Security:10/stable [amd64]) root@orca:~# -------------------------------------------------- It looks to me like a straight upgrade with no removals. > > I'm also not quite sure about the spaces in the origin and label. The > log suggests they are interpreted correctly, though you could try > escaping them (the submitter in #940151 is using ', ' to separate the > fields, which might be the cause for his issues). I figured from the supplied origins that they are comma delimited, but your point about spaces is a good one. I tried that. -------------------------------------------------- "origin='Vivaldi Technologies',codename=stable,label='Official Vivaldi package repository'"; -------------------------------------------------- -------------------------------------------------- root@orca:~# unattended-upgrades --dry-run -d Initial blacklist : Initial whitelist: Starting unattended upgrades script Allowed origins are: origin=Debian,codename=buster-updates, origin=Debian,codename=buster,label=Debian, origin=Debian,codename=buster,label=Debian-Security, origin='Vivaldi Technologies',codename=stable,label='Official Vivaldi package repository' Using (^linux-image-[0-9]+\.[0-9\.]+-.*|^linux-headers-[0-9]+\.[0-9\.]+-.*|^linux-image-extra-[0-9]+\.[0-9\.]+-.*|^linux-modules-[0-9]+\.[0-9\.]+-.*|^linux-modules-extra-[0-9]+\.[0-9\.]+-.*|^linux-signed-image-[0-9]+\.[0-9\.]+-.*|^linux-image-unsigned-[0-9]+\.[0-9\.]+-.*|^kfreebsd-image-[0-9]+\.[0-9\.]+-.*|^kfreebsd-headers-[0-9]+\.[0-9\.]+-.*|^gnumach-image-[0-9]+\.[0-9\.]+-.*|^.*-modules-[0-9]+\.[0-9\.]+-.*|^.*-kernel-[0-9]+\.[0-9\.]+-.*|^linux-backports-modules-.*-[0-9]+\.[0-9\.]+-.*|^linux-modules-.*-[0-9]+\.[0-9\.]+-.*|^linux-tools-[0-9]+\.[0-9\.]+-.*|^linux-cloud-tools-[0-9]+\.[0-9\.]+-.*|^linux-buildinfo-[0-9]+\.[0-9\.]+-.*|^linux-source-[0-9]+\.[0-9\.]+-.*) regexp to find kernel packages Using (^linux-image-4\.19\.0\-11\-amd64$|^linux-headers-4\.19\.0\-11\-amd64$|^linux-image-extra-4\.19\.0\-11\-amd64$|^linux-modules-4\.19\.0\-11\-amd64$|^linux-modules-extra-4\.19\.0\-11\-amd64$|^linux-signed-image-4\.19\.0\-11\-amd64$|^linux-image-unsigned-4\.19\.0\-11\-amd64$|^kfreebsd-image-4\.19\.0\-11\-amd64$|^kfreebsd-headers-4\.19\.0\-11\-amd64$|^gnumach-image-4\.19\.0\-11\-amd64$|^.*-modules-4\.19\.0\-11\-amd64$|^.*-kernel-4\.19\.0\-11\-amd64$|^linux-backports-modules-.*-4\.19\.0\-11\-amd64$|^linux-modules-.*-4\.19\.0\-11\-amd64$|^linux-tools-4\.19\.0\-11\-amd64$|^linux-cloud-tools-4\.19\.0\-11\-amd64$|^linux-buildinfo-4\.19\.0\-11\-amd64$|^linux-source-4\.19\.0\-11\-amd64$) regexp to find running kernel packages Checking: linux-image-amd64 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>]) Checking: linux-libc-dev ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>]) Checking: vivaldi-stable ([<Origin component:'main' archive:'stable' origin:'Vivaldi Technologies' label:'Official Vivaldi package repository' site:'repo.vivaldi.com' isTrusted:True>]) pkgs that look like they should be upgraded: linux-image-amd64 linux-libc-dev Fetched 0 B in 0s (0 B/s) fetch.run() result: 0 <apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1 FileSize: 48261216 DestFile:'/var/cache/apt/archives/linux-image-4.19.0-12-amd64_4.19.152-1_amd64.deb' DescURI: 'http://security.debian.org/debian-security/pool/updates/main/l/linux-signed-amd64/linux-image-4.19.0-12-amd64_4.19.152-1_amd64.deb' ID:0 ErrorText: ''> check_conffile_prompt(/var/cache/apt/archives/linux-image-4.19.0-12-amd64_4.19.152-1_amd64.deb) No conffiles in deb /var/cache/apt/archives/linux-image-4.19.0-12-amd64_4.19.152-1_amd64.deb (There is no member named 'conffiles') <apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1 FileSize: 8208 DestFile:'/var/cache/apt/archives/linux-image-amd64_4.19+105+deb10u7_amd64.deb' DescURI: 'http://security.debian.org/debian-security/pool/updates/main/l/linux-latest/linux-image-amd64_4.19+105+deb10u7_amd64.deb' ID:0 ErrorText: ''> check_conffile_prompt(/var/cache/apt/archives/linux-image-amd64_4.19+105+deb10u7_amd64.deb) found pkg: linux-image-amd64 No conffiles in deb /var/cache/apt/archives/linux-image-amd64_4.19+105+deb10u7_amd64.deb (There is no member named 'conffiles') <apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1 FileSize: 1402344 DestFile:'/var/cache/apt/archives/linux-libc-dev_4.19.152-1_amd64.deb' DescURI: 'http://security.debian.org/debian-security/pool/updates/main/l/linux/linux-libc-dev_4.19.152-1_amd64.deb' ID:0 ErrorText: ''> check_conffile_prompt(/var/cache/apt/archives/linux-libc-dev_4.19.152-1_amd64.deb) found pkg: linux-libc-dev No conffiles in deb /var/cache/apt/archives/linux-libc-dev_4.19.152-1_amd64.deb (There is no member named 'conffiles') blacklist: [] whitelist: [] Option --dry-run given, *not* performing real actions Packages that will be upgraded: linux-image-amd64 linux-libc-dev Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log applying set ['linux-image-4.19.0-12-amd64', 'linux-image-amd64'] apt-listchanges: Reading changelogs... /usr/bin/dpkg --status-fd 11 --no-triggers --unpack --auto-deconfigure /var/cache/apt/archives/linux-image-4.19.0-12-amd64_4.19.152-1_amd64.deb /var/cache/apt/archives/linux-image-amd64_4.19+105+deb10u7_amd64.deb /usr/bin/dpkg --status-fd 11 --configure --pending localepurge: Disk space freed in /usr/share/locale: 0 KiB localepurge: Disk space freed in /usr/share/man: 0 KiB localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB localepurge: Disk space freed in /usr/share/omf: 0 KiB Total disk space freed by localepurge: 0 KiB left to upgrade {'linux-libc-dev'} applying set ['linux-libc-dev'] apt-listchanges: Reading changelogs... /usr/bin/dpkg --status-fd 11 --no-triggers --unpack --auto-deconfigure /var/cache/apt/archives/linux-libc-dev_4.19.152-1_amd64.deb /usr/bin/dpkg --status-fd 11 --configure --pending localepurge: Disk space freed in /usr/share/locale: 0 KiB localepurge: Disk space freed in /usr/share/man: 0 KiB localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB localepurge: Disk space freed in /usr/share/omf: 0 KiB Total disk space freed by localepurge: 0 KiB left to upgrade set() All upgrades installed InstCount=0 DelCount=0 BrokenCount=0 root@orca:~# -------------------------------------------------- It appears to parse the origin correctly. Indeed, it appears that the program supplies single quotes even if I don't. > > Other that that you could try to debug /usr/bin/unattended-upgrade > (Python) or contact the maintainer, e.g. via a follow-up to #799754. Sorry, I'm not a skilled snake charmer. I will keep the suggestion to contact the maintainer in mind. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Attachment:
pgpdvuCbere6M.pgp
Description: OpenPGP digital signature