Ticket #544 (new enhancement) — at Version 1

Opened 14 years ago

Last modified 10 years ago

metrics uninstalls only mostly cleanly

Reported by: broder Owned by:
Priority: trivial Milestone: The Distant Future
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description (last modified by broder) (diff)

metrics includes code to log when packages get installed, via /etc/apt/apt.conf.d/90debathena-metrics (or debian/90debathena-metrics in the source package), referring to a /usr/lib/debathena-metrics/install-pkg script to get run when packages are installed.

The file in /etc gets left around on uninstall (because it's a conffile), but the script in /usr gets removed. Because the apt configuration has an || : in it, this doesn't cause a failure, but it does print a message about /usr/lib/debathena-metrics/install-pkg not existing.

We could do a lightly better job in 90debathena-metrics of setting the script to something that won't print an error if the package has been uninstalled.

Change History

comment:1 Changed 14 years ago by broder

  • Description modified (diff)

screw trac formatting

Note: See TracTickets for help on using tickets.