Bug#287914: vdr: Purge does not remove contents created by scripts

Javier Fernández-Sanguino Peña pkg-vdr-dvb-devel@lists.alioth.debian.org
Thu, 30 Dec 2004 22:33:13 +0100


--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: vdr
Version: 1.2.6-5
Severity: normal

Uninstalling the package with --purge does not remove components the=20
package created upon installation and leaves cruft in the system:

# dpkg --purge vdr vdr-kbd vdr-daemon
(Reading database ... 9968 files and directories currently installed.)
Removing vdr-kbd ...
Removing vdr ...
Purging configuration files for vdr ...
dpkg - warning: while removing vdr, directory `/var/lib/vdr' not empty so=
=20
not removed.
dpkg - warning: while removing vdr, directory `/var/cache/vdr' not empty so=
=20
not removed.
# ls -la /var/lib/vdr/
total 20
drwxr-xr-x   2 root root 4096 2004-12-30 21:30 .
drwxr-xr-x  13 root root 4096 2004-12-30 08:09 ..
-rw-r--r--   1 root root 8864 2004-12-30 08:09 channels.conf
# ls -la /var/cache/vdr/
total 16
drwxr-xr-x  2 root root 4096 2004-12-30 08:10 .
drwxr-xr-x  7 root root 4096 2004-12-30 08:09 ..
-rw-r--r--  1 root root 1961 2004-12-30 08:11 commands.conf
-rw-r--r--  1 root root 1885 2004-12-30 08:11 reccmds.conf

The last two (in /var/cache/) seem to be created by vdr once it is enabled,=
=20
the first one is created by the postinst script.

Please remove all of these on purge.

Regards

Javier

--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB1HQZi4sehJTrj0oRArdnAJ0fpOMwOLjs1KeYFAVSIjA/piIz9gCeKUnQ
AkfhUtpLZ2yeCW6PP6aH2Bo=
=W+CN
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--