Package: apt-listchanges
Version: 3.6
Severity: important

Dear Maintainer,

Apt upgrade leads to

Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 243, in <module>
    main(config)
  File "/usr/bin/apt-listchanges", line 141, in main
    (news, changelog, binnmu) = pkg.extract_changes(config.which, fromversion, 
config.reverse)
  File "/usr/share/apt-listchanges/DebianFiles.py", line 246, in extract_changes
    changelog  = reduce(find_first, changelog_filenames + 
changelog_filenames_native, None)
  File "/usr/share/apt-listchanges/DebianFiles.py", line 243, in <lambda>
    find_first = lambda acc, fname: acc or 
self._read_changelog(os.path.join(tempdir, fname), since_version, reverse)
  File "/usr/share/apt-listchanges/DebianFiles.py", line 295, in _read_changelog
    entries, urgency = ChangelogParser().parse(fd, since_version)
  File "/usr/share/apt-listchanges/DebianFiles.py", line 160, in parse
    line = line.decode('utf-8', 'replace')
AttributeError: 'str' object has no attribute 'decode'
apt-listchanges: Do you want to continue? [Y/n] n    

There doesn't seem to be any way around this.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 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 apt-listchanges depends on:
ii  apt                    1.4~beta1
ii  debconf [debconf-2.0]  1.5.59
ii  debianutils            4.8.1
ii  python3-apt            1.1.0~beta5
pn  python3:any            <none>
ii  ucf                    3.0036

apt-listchanges recommends no packages.

Versions of packages apt-listchanges suggests:
ii  chromium [www-browser]                     55.0.2883.75-1
ii  exim4-daemon-light [mail-transport-agent]  4.88~RC5-1
ii  firefox-esr [www-browser]                  45.5.1esr-1
ii  konqueror [www-browser]                    4:16.08.3-1
ii  konsole [x-terminal-emulator]              4:16.08.3-1
ii  kterm [x-terminal-emulator]                6.2.0-46.2
ii  lxterminal [x-terminal-emulator]           0.2.0-1
ii  lynx [www-browser]                         2.8.9dev11-1
ii  python3-gi                                 3.22.0-1
ii  w3m [www-browser]                          0.5.3-33
ii  xterm [x-terminal-emulator]                327-1

-- debconf information:
* apt-listchanges/confirm: true
* apt-listchanges/frontend: pager
* apt-listchanges/save-seen: true
* apt-listchanges/email-address: root
* apt-listchanges/which: both

Reply via email to