Package: gtkorphan
Severity: wishlist

Summary:

Please consider using apt-get instead of dpkg to remove packages.  If
dpkg is used directly, the hook scripts are not run.


Verbose:

Apt has the widely used feature of dpkg hooks.  A nowadays rather common
use case for this feature is to feed the changes done in /etc during
package installations into a version control system, but there are many
other uses for this.  rw mounting a readonly /usr is an other one, and
this is the classical argument for using apt and not dpkg in scripts
like gtkorphan or orphaner.

Actually I consider this to be a bug in dpkg, which should IMO instead
of apt contain and run these hooks - apt could then if needed invoke
dpkg in a way that delays or skips running these hooks if running the
hooks on every dpkg invokation is not desirable when used together with
apt.

Until someone convinces dpkg's and apt's maintainers to fix this
situation (or writes patches and convinces them to accept them), these
hooks are not run if gtkorphan is used to remove a package.  If
gtkorphan would use apt-get instead of dpkg to remove packages, then
these hooks would be run as intended.  It would then need to depend on
apt.


Carsten



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to