Ticket #544 (closed enhancement: fixed)

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

comment:2 Changed 11 years ago by jdreed

  • Status changed from new to review

comment:3 Changed 10 years ago by jdreed

  • Status changed from review to committed

committed  e5070fce4d08d5fb5fb25b4c7a77081118c9ee22 (Check for install-pkg script before running it) to master

comment:4 Changed 10 years ago by jdreed

  • Status changed from committed to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.