Package: apt-listchanges
Version: 3.22+nmu2
Severity: normal

After setting frontend  to 'syslog' in /etc/apt-listchanges.conf 
(manually, because `dpkg-reconfigure apt-listchanges' does not 
allow me to do it for some reason) apt-listchanges fails with:

  File "/usr/bin/apt-listchanges", line 323, in <module>
    main(config)
  File "/usr/bin/apt-listchanges", line 162, in main
    _display(frontend, changes, lambda: _('apt-listchanges: Changelogs'))
  File "/usr/bin/apt-listchanges", line 305, in _display
    frontend.display_output(changes)
  File "/usr/share/apt-listchanges/apt_listchanges.py", line 332, in 
display_output
    syslog.openlog(facility=syslog.LOG_DAEMON)
NameError: name 'syslog' is not defined


Regards,
robert


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (990, 'unstable-debug'), (990, 'unstable'), (990, 'testing'), 
(990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386


Versions of packages apt-listchanges depends on:
ii  apt                    2.1.14
ii  debconf [debconf-2.0]  1.5.74
ii  python3                3.9.0-4
ii  python3-apt            2.1.7
ii  python3-debconf        1.5.74
ii  sensible-utils         0.0.12+nmu1
ii  ucf                    3.0043

apt-listchanges recommends no packages.

Versions of packages apt-listchanges suggests:
ii  chromium [www-browser]                83.0.4103.116-3.1+b2
ii  elinks [www-browser]                  0.13.2-1+b1
ii  firefox-esr [www-browser]             78.6.0esr-1
ii  gnome-terminal [x-terminal-emulator]  3.38.1-2
ii  links [www-browser]                   2.21-1
ii  lynx [www-browser]                    2.9.0dev.6-1
ii  postfix [mail-transport-agent]        3.5.6-1
ii  python3-gi                            3.38.0-1+b2
ii  terminator [x-terminal-emulator]      1.92-2
ii  xterm [x-terminal-emulator]           362-1

-- Configuration Files:
/etc/apt/apt.conf.d/20listchanges changed:
DPkg::Pre-Install-Pkgs { "/usr/bin/apt-listchanges --apt"; };
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges::InfoFD "20";
Dir::Etc::apt-listchanges-main "listchanges.conf";
Dir::Etc::apt-listchanges-parts "listchanges.conf.d";


-- debconf information:
* apt-listchanges/reverse: false
* apt-listchanges/headers: true
* apt-listchanges/confirm: true
* apt-listchanges/no-network: false
* apt-listchanges/save-seen: true
* apt-listchanges/email-format: html
* apt-listchanges/email-address: root
* apt-listchanges/frontend: pager
* apt-listchanges/which: both

Reply via email to