[xml/sgml-pkgs] Bug#535992: sgml-base: uninstalling removes /usr/local/share

Daniel Leidert daniel.leidert at wgdd.de
Mon Jul 6 19:22:29 UTC 2009


Am Montag, den 06.07.2009, 12:40 -0400 schrieb Daniel B.:
> Package: sgml-base
> Severity: normal
> 
> Removing (or maybe removing and purging) package sgml-base removes 
> /usr/local/share.
> 
> (Isn't there an FHS or Debian policy that packages shouldn't remove things 
> from /usr/local?)

There is not, of course. Things installed by a package, must be removed,
when purging it. In case of sgml-base, a few directories installed by
the package are removed on purge, if they are empty. That is correct
behaviour.

In case of the /usr/local/share directory - well, sgml-base shouldn't
remove this directory even if it's empty. The directory is usually
installed/created by the base-files package and should therfore only be
removed by base-files itself.

So the next version of sgml-base won't remove /usr/local/share, but the
directories inside /usr/local/share, that are created by sgml-base.

Regards, Daniel






More information about the debian-xml-sgml-pkgs mailing list