[Pkg-aide-maintainers] Bug#683877: aide: Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_sudo ...

Bill Wohler wohler at newt.com
Sun Aug 5 02:21:21 UTC 2012


Package: aide
Version: 0.15.1-2
Severity: normal

I accidentally removed my aide.conf.d directory.

I thought that an "aptitude reinstall aide" would restore the directory.
Nope. I thought that "aptitude purge aide; aptitude install aide" would
do the trick. Nope. At least that time, I got the messages:

    Setting up aide-common (0.15.1-2+squeeze1) ...
    Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_sudo
    Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_apt-file
    Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_tetex-bin
    Not replacing deleted config file /etc/aide/aide.conf.d/31_aide_alsa
    ...

A little Googling reveals that this is likely a problem in the aide
purge routine. Please refer to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444076.

After running ucf --purge on all of the files in /etc/aide/aide.conf.d,
an aptitude purge aide; aptitude install aide resulted in the following
output:

    Setting up aide-common (0.15.1-2+squeeze1) ...
    Creating config file /etc/aide/aide.conf.d/31_aide_sudo with new version
    Creating config file /etc/aide/aide.conf.d/31_aide_apt-file with new version
    Creating config file /etc/aide/aide.conf.d/31_aide_tetex-bin with new version
    Creating config file /etc/aide/aide.conf.d/31_aide_alsa with new version
    ...

Another web page
(http://mhalligan.com/not-replacing-deleted-config-file-or-why-the)
indicates that

    aptitude -o DPkg::Options="--force-confmiss" reinstall aide

would have worked too.

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (600, 'stable'), (500, 'stable-updates'), (90, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Bill Wohler <wohler at newt.com> aka <Bill.Wohler at nasa.gov>
http://www.newt.com/wohler/
GnuPG ID:610BD9AD



More information about the Pkg-aide-maintainers mailing list