[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#800522: console-setup: purge leaves files behind



Source: console-setup
Version: 1.123
Severity: minor

Dear Maintainer,

[...]
$ sudo aptitude purge console-setup console-setup-linux
The following packages will be REMOVED:  
  console-setup{p} console-setup-linux{p} 
0 packages upgraded, 0 newly installed, 2 to remove and 15 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?] 
(Reading database ... 222098 files and directories currently installed.)
Removing console-setup (1.123) ...
Purging configuration files for console-setup (1.123) ...
Removing console-setup-linux (1.123) ...
Purging configuration files for console-setup-linux (1.123) ...
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
[...]

These files are cached copied here by the --save argument to setupcon used in:
http://anonscm.debian.org/cgit/d-i/console-setup.git/tree/debian/keyboard-configuration.console-setup.init

Also see line 15,16,17 for comment on this one...

Even thought the keyboard-configuration init script will stick around
when purging console-setup it will not be running since /bin/setupcon,
which is tested for early in init script, is removed with console-setup.

The cached files are thus useless (and should IMHO be removed) once
console-setup is purged.


-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: