Package: apt-listchanges
Version: 2.83
Severity: important
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

apt-listchanges crashes if .deb file has wrong permissions. dpkg -f
command warns the user about the problem but apt-listchanges still goes
on and crashes.
Here is a simple patch to close apt-listchanges properly.

Regards,
Carl Chenet


- -- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-23-generic (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-listchanges depends on:
ii  apt                      0.7.9ubuntu17.1 Advanced front-end for dpkg
ii  debconf [debconf-2.0]    1.5.20          Debian configuration management sy
ii  debianutils              2.28.2-0ubuntu1 Miscellaneous utilities specific t
ii  python                   2.5.2-0ubuntu1  An interactive high-level object-o
ii  python-apt               0.7.4ubuntu7.5  Python interface to libapt-pkg
ii  python-support           0.7.5ubuntu1    automated rebuilding support for p
ii  ucf                      3.005           Update Configuration File: preserv

Versions of packages apt-listchanges recommends:
ii  exim4                    4.69-2          meta-package to ease Exim MTA (v4)
ii  exim4-daemon-light [mail 4.69-2          lightweight Exim MTA (v4) daemon
ii  python-glade2            2.12.1-0ubuntu1 GTK+ bindings: Glade support
ii  python-gtk2              2.12.1-0ubuntu1 Python bindings for the GTK+ widge

- -- debconf information excluded

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJ2TJ18lge+lYYJUgRAlj9AJ0Vmo8Jm++/0luCOABg2BadcyhM9QCgkh+v
lBEYFB2S/JNB/iA8FAZflPA=
=ee3N
-----END PGP SIGNATURE-----
85c85,88
<         self.stanzas.append(ControlStanza(fh.read()))
---
>         res = fh.read()
>         if not res:
>             sys.exit(1)
>         self.stanzas.append(ControlStanza(res))

Reply via email to