Your message dated Tue, 16 Nov 2010 22:02:05 +0000
with message-id <e1pitbj-00046o...@franck.debian.org>
and subject line Bug#602742: fixed in apt-listchanges 2.85.6
has caused the Debian Bug report #602742,
regarding apt-listchanges: errors during removal
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
602742: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602742
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: apt-listchanges
Version: 2.83
Severity: critical
Tags: patch
Justification: breaks unrelated software


I have tagged this bug as critical because the post removal script is
not idempotent (policy requirement) and because aptitude install and
remove operations fail as long as apt-listchanges postremoval script fails.

Before upgrading from lenny to squeeze I have started by upgrading
aptitude. Due to dependencies, aptitude tells me to remove
apt-listchanges. I say ok.

During upgrade of aptitude and removal of apt-listchanges the following
error appears:

Desinstalando apt-listchanges ...
mv: no se puede efectuar `stat' sobre
«/etc/apt/apt.conf.d/20listchanges»: No existe el fichero o el
directorio
dpkg: error al procesar apt-listchanges (--remove):
 el subproceso post-removal script devolvió el código de salida de error 1

i.e., /etc/apt/apt-conf.d/20listchanges doesn't exist. That's true.
/etc/apt/apt.conf.d/20listchanges.disabled also doesn't exist. What I
have here is /etc/apt/listchanges.conf instead.

Then I run manually /var/lib/dpkg/info/apt-listchanges.prerm and it runs
ok.

Then I run /varlib/dpkg/info/apt-listchanges.postrm and get the same
error. It gets solved when I change the folowing line:

 if [ "$1" = "remove" ]; then
-    mv $hook $hook.disabled
+    test -e $hook && mv $hook $hook.disabled
 fi

This way the script is idempotent (it can be run several times without
failing).

Thank you very much for your great work at Debian.

Best regards,
Gonzalo.

-- System Information:
Debian Release: 5.0.6
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-bpo.5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt-listchanges depends on:
ii  apt                           0.8.6      Advanced front-end for dpkg
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  debianutils                   2.30       Miscellaneous utilities specific t
ii  python                        2.5.2-3    An interactive high-level object-o
pn  python-apt                    <none>     (no description available)
ii  python-support                1.0.10     automated rebuilding support for P
ii  ucf                           3.0016     Update Configuration File: preserv

Versions of packages apt-listchanges recommends:
ii  exim4                         4.69-9     metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.69-9     lightweight Exim MTA (v4) daemon

Versions of packages apt-listchanges suggests:
ii  elvis [www-browser]       2.2.0-10       powerful clone of the vi/ex text e
ii  emacs20 [www-browser]     20.7-13.3      The GNU Emacs editor.
ii  epiphany-gecko [www-brows 2.22.3-9       Intuitive GNOME web browser - Geck
ii  galeon [www-browser]      2.0.6-2.1      GNOME web browser for advanced use
ii  lynx-ssl [www-browser]    1:2.8.4.1b-3.1 Text-mode WWW Browser supporting S
ii  python-glade2             2.12.1-6       GTK+ bindings: Glade support
ii  python-gtk2               2.12.1-6       Python bindings for the GTK+ widge
ii  w3m [www-browser]         0.5.2-2+lenny1 WWW browsable pager with excellent
ii  xfce4-terminal [x-termina 0.2.8-5        Xfce terminal emulator
ii  xterm [x-terminal-emulato 235-2          X terminal emulator



--- End Message ---
--- Begin Message ---
Source: apt-listchanges
Source-Version: 2.85.6

We believe that the bug you reported is fixed in the latest version of
apt-listchanges, which is due to be installed in the Debian FTP archive:

apt-listchanges_2.85.6.dsc
  to main/a/apt-listchanges/apt-listchanges_2.85.6.dsc
apt-listchanges_2.85.6.tar.gz
  to main/a/apt-listchanges/apt-listchanges_2.85.6.tar.gz
apt-listchanges_2.85.6_all.deb
  to main/a/apt-listchanges/apt-listchanges_2.85.6_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 602...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <mo...@debian.org> (supplier of updated apt-listchanges package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


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

Format: 1.8
Date: Tue, 16 Nov 2010 22:20:39 +0100
Source: apt-listchanges
Binary: apt-listchanges
Architecture: source all
Version: 2.85.6
Distribution: unstable
Urgency: low
Maintainer: Pierre Habouzit <madco...@debian.org>
Changed-By: Sandro Tosi <mo...@debian.org>
Description: 
 apt-listchanges - package change history notification tool
Closes: 602226 602742
Changes: 
 apt-listchanges (2.85.6) unstable; urgency=low
 .
   * Update the program Danish PO file; thanks to Joe Dalton; Closes:
     #602226
   * Update the program Catalan PO file; thanks to Jordi Mallach
   * make postrm be idempotent; thanks to Gonzalo Pérez de Olaguer
     Córdoba; Closes: #602742
   * Update PO Debconf Chinese (traditional) translation; thanks to Asho
     Yeh
Checksums-Sha1: 
 377719ce8547832871660f964ae10b2c4f41dc70 1090 apt-listchanges_2.85.6.dsc
 9a5f73074fa4a35dc63e7ccb232bf3dadd33bb1e 103424 apt-listchanges_2.85.6.tar.gz
 2a9d6d5a56495b729ae56319cb1af6d0edd560e7 86350 apt-listchanges_2.85.6_all.deb
Checksums-Sha256: 
 7e1b9771c051ba14ed5b859534fdc8d26a5751d6ce2c894802f9c4966021210c 1090 
apt-listchanges_2.85.6.dsc
 eb5b6003aa0529ffd06691036db1c9fe9d108e1c3c4fd9f51500af5642671f07 103424 
apt-listchanges_2.85.6.tar.gz
 38533f808d5b55b28269eafbd7de52796604dfb71f0268d6efecd57424dfe267 86350 
apt-listchanges_2.85.6_all.deb
Files: 
 fae6b0b439ccc7ad7ec0b3a89e6f0550 1090 utils standard apt-listchanges_2.85.6.dsc
 b0506fb03f76d0706b5837fcb81b5742 103424 utils standard 
apt-listchanges_2.85.6.tar.gz
 5c950d9a8402b16dd8d66995ed36af15 86350 utils standard 
apt-listchanges_2.85.6_all.deb

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

iEYEARECAAYFAkzi/EMACgkQAukwV0RN2VADzgCcCOHbAJc/xiAR18Pvno8JUGMF
IBkAnRXs/7G3ndV7Kk5gwitoVHu4B6hT
=EvHa
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to