Bug#800522: console-setup: purge leaves files behind
On Wed, Sep 30, 2015 at 02:17:33PM +0200, Andreas Henriksson wrote:
>
> $ sudo aptitude purge console-setup console-setup-linux
> dpkg: warning: while removing console-setup-linux, directory '/etc/console-setup' not empty so not removed
>
> $ ls /etc/console-setup/
> Lat15-Fixed16.psf.gz Uni2-Terminus32x16.psf.gz
Hello,
These two files are leaved there by an old version of console-setup (pre 1.111).
Unfortunately, the names of these files are unpredictable, so it is impossible to
remove them automatically when purging the packages. The newer versions of
console-setup (>=1.111, this includes the version you purged) don't create files
with unpredictable names so they can remove all files when purged. Since, the
new versions of console-setup do this I suppose we can close this bug? Ofcourse,
it would be nice if the newer versions of console-setup removed the files leaved
by older versions but there is nothing we can do about this, so not much will be
gained if we keep the bug open.
Anton Zinoviev
Reply to: