Package: unattended-upgrades
Version: 1.11.2
Severity: normal

Dear Maintainer,

   * What led up to the situation?

Trying to run unattended-upgrades does not result in upgraded packages (neither 
when done automatically nor manually)

Running it manually with "unattended-upgrades -d" ends with following lines:

  Packages that will be upgraded: apt apt-utils base-files ca-certificates 
distro-info-data file grub-common grub-pc grub-pc-bin grub2-common iproute2 
libapt-inst2.0 libapt-pkg5.0 libefiboot1 libefivar1 libgnutls30 libjpeg62-turbo 
libldap-2.4-2 libldap-common libmagic-mgc libmagic1 libp11-kit0 libpq5 
libsqlite3-0 libssl-dev libssl1.1 libsystemd0 libudev1 libxml2 libzstd1 
linux-image-amd64 linux-libc-dev openssl postgresql-11 postgresql-client-11 
python-apt-common python-lxml python3-apt sudo tcpdump tzdata udev unzip
  Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log
  Exception: 'NoneType' object has no attribute 'dependencies'
  InstCount=0 DelCount=0 BrokenCount=0
  Extracting content from 
/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2021-02-11 
23:06:20

However it does not upgrade packages, and 
/var/log/unattended-upgrades/unattended-upgrades-dpkg.log remains zero-byte 
sized.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I seem to recall it working back in Stretch...

I've tried running it manually and automatically for few weeks.
I've also tried purging and reinstalling unattended-upgrades, as well as 
changing 
Unattended-Upgrade::MinimalSteps to "false" and to "true" - none of that helps.

   * What was the outcome of this action?

I expected unattended-upgrades to automatically upgrade packages.

   * What outcome did you expect instead?

Instead it dies with "Exception: 'NoneType' object has no attribute 
'dependencies'" without upgrading packages.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 10.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-12-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages unattended-upgrades depends on:
ii  debconf [debconf-2.0]  1.5.71
ii  lsb-base               10.2019051400
ii  lsb-release            10.2019051400
ii  python3                3.7.3-1
ii  python3-apt            1.8.4.1
ii  python3-dbus           1.2.8-3
ii  python3-distro-info    0.21
ii  ucf                    3.0038+nmu1
ii  xz-utils               5.2.4-1

Versions of packages unattended-upgrades recommends:
ii  cron [cron-daemon]  3.0pl1-134+deb10u1

Versions of packages unattended-upgrades suggests:
ii  bsd-mailx                          8.1.2-0.20180807cvs-1
ii  needrestart                        3.4-5
ii  nullmailer [mail-transport-agent]  1:2.2-3
ii  powermgmt-base                     1.34
ii  python3-gi                         3.30.4-1

-- debconf information:
* unattended-upgrades/enable_auto_updates: true

Reply via email to