Apt tries to run listchanges even when it is uninstalled

Bug #67807 reported by Jonh Wendell
2
Affects Status Importance Assigned to Milestone
apt-listchanges (Debian)
Fix Released
Unknown
apt-listchanges (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I've uninstalled apt-listchanges package. I did not purge it. The config files still are in my system - mainly the /etc/apt/apt.conf.d/20listchanges.

When i run apt-get, i get warning messages about /usr/bin/apt-listchanges executable not found.

The command entry at above cited config file should verify if the executable exists, in order to avoid those warning messages on every update.

Revision history for this message
In , Amaya M. Rodrigo Sastre (amaya-rodrigo) wrote : Merging

merge 262682 237334
thanks

--
Amaya M. Rodrigo Sastre
Migración del Correo Corporativo del MAP <email address hidden>
c\ Mª Molina, 50. 28071 Madrid. Teléfonos: 912732420 - 05412420

Revision history for this message
In , Pierre Habouzit (madcoder) wrote : setting package to apt-listchanges, tagging 237334, tagging 262682, tagging 280892, tagging 313665 ... ...

# Automatically generated email from bts, devscripts version 2.9.20
package apt-listchanges
tags 237334 + pending
tags 262682 + pending
tags 280892 + pending
tags 313665 + pending
tags 327590 + pending
tags 331748 + pending

Revision history for this message
In , Pierre Habouzit (madcoder) wrote : setting package to apt-listchanges, tagging 237334, tagging 262682, tagging 280892, tagging 313665 ... ... ...

# Automatically generated email from bts, devscripts version 2.9.20
package apt-listchanges
tags 237334 + pending
tags 262682 + pending
tags 280892 + pending
tags 313665 + pending
tags 327590 + pending
tags 331748 + pending
tags 367624 + pending

Revision history for this message
In , Pierre Habouzit (madcoder) wrote : Bug#237334: fixed in apt-listchanges 2.61

Source: apt-listchanges
Source-Version: 2.61

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.61.dsc
  to pool/main/a/apt-listchanges/apt-listchanges_2.61.dsc
apt-listchanges_2.61.tar.gz
  to pool/main/a/apt-listchanges/apt-listchanges_2.61.tar.gz
apt-listchanges_2.61_all.deb
  to pool/main/a/apt-listchanges/apt-listchanges_2.61_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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Habouzit <email address hidden> (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 <email address hidden>)

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

Format: 1.7
Date: Thu, 10 Aug 2006 21:28:36 +0200
Source: apt-listchanges
Binary: apt-listchanges
Architecture: source all
Version: 2.61
Distribution: unstable
Urgency: low
Maintainer: Pierre Habouzit <email address hidden>
Changed-By: Pierre Habouzit <email address hidden>
Description:
 apt-listchanges - Display change history from .deb archives
Closes: 237334 257734 262682 280892 313665 327590 331748 367624
Changes:
 apt-listchanges (2.61) unstable; urgency=low
 .
   * Packaging:
     + add a dependency on mail-transport-agent (Closes: #280892, #327590).
     + update depends upon debconf (Closes: #331748).
     + move apt-listchanges away if uninstalled, reinstate it in postinst
       (Closes: #237334, #262682)
 .
   * l10n:
     + update de.po, thanks to Jens Seidel (Closes: #313665).
     + Fix error in french manpage PAGER -> BROWSER (Closes: #367624).
 .
   * Features:
     + use /usr/bin/hostname instead of gethostname that uses uname, so that
       different chroots have different names (Closes: #257734).
Files:
 02df063487a1edd4b097801bdf66c4f6 651 utils optional apt-listchanges_2.61.dsc
 d9a10f23854c2a649f8bc72cb310dd3a 78786 utils optional apt-listchanges_2.61.tar.gz
 611579ad247f00655eb8d5dc43da895c 61360 utils optional apt-listchanges_2.61_all.deb

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

iD8DBQFE25iuvGr7W6HudhwRAnO3AJ9jf/bnLyVyj1aXl21sp4JtdQTtiwCeOrme
WBwtvnX1ssIgLdjwWY9r2Xo=
=Hktq
-----END PGP SIGNATURE-----

Revision history for this message
Jonh Wendell (wendell) wrote :

I've uninstalled apt-listchanges package. I did not purge it. The config files still are in my system - mainly the /etc/apt/apt.conf.d/20listchanges.

When i run apt-get, i get warning messages about /usr/bin/apt-listchanges executable not found.

The command entry at above cited config file should verify if the executable exists, in order to avoid those warning messages on every update.

Revision history for this message
Jonh Wendell (wendell) wrote :

If the package is purged, no warnings are generated anymore.

Once there is no /etc/apt/apt.conf.d/20listchanges file, apt doesn't try to run /usr/bin/apt-listchanges.

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 67807] Apt tries to run listchanges even when it is uninstalled

On Mon, Oct 23, 2006 at 06:31:51PM -0000, Jonh Wendell wrote:
> Public bug reported:
>
> I've uninstalled apt-listchanges package. I did not purge it. The config
> files still are in my system - mainly the
> /etc/apt/apt.conf.d/20listchanges.

That is normal when you remove but don't purge a package. apt copes and
doesn't fail, though an error message is printed which is harmless but not
ideal.

--
 - mdz

Revision history for this message
Jonh Wendell (wendell) wrote :

So, can you consider to remove that warning message?

I guess just a litlle change in /etc/apt/apt.conf.d/20listchanges

if [ -x /usr/bin/apt-listchanges ]; then ...........; fi;

solves that question.

Thanks.

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 67807] Re: Apt tries to run listchanges even when it is uninstalled

On Wed, Oct 25, 2006 at 11:39:39AM -0000, Jonh Wendell wrote:
> So, can you consider to remove that warning message?
>
> I guess just a litlle change in /etc/apt/apt.conf.d/20listchanges
>
> if [ -x /usr/bin/apt-listchanges ]; then ...........; fi;
>
> solves that question.
>
> Thanks.

There was a Debian bug open about this where I already commented; perhaps
it's been closed by the new maintainer.

I was reluctant to do that because the one-liner was already very long and
hadn't gotten around to moving it out to a wrapper script.

--
 - mdz

Revision history for this message
Jonh Wendell (wendell) wrote :

This bug was fixed in version 2.61.

See:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=237334

So, all we have to do is wait a sync from debian?

Revision history for this message
Matt Zimmerman (mdz) wrote :

On Wed, Oct 25, 2006 at 01:01:45PM -0000, Jonh Wendell wrote:
> This bug was fixed in version 2.61.
>
> See:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=237334
>
> So, all we have to do is wait a sync from debian?

Yes, this will be fixed by the routine merge process when feisty opens.

--
 - mdz

Changed in apt-listchanges:
status: Unknown → Fix Released
Revision history for this message
Kai Kasurinen (kai-kasurinen) wrote :

Thanks for the bug report.

I'm closing this bug because it has been fixed in Feisty.

Changed in apt-listchanges:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.