[Piuparts-devel] Bug#559548: Bug#559548: piuparts: ignore ucf files on purge after depends have been purged
Patrick Schoenfeld
schoenfeld at debian.org
Sat Dec 5 15:33:13 UTC 2009
On Sat, Dec 05, 2009 at 03:31:33PM +0100, Holger Levsen wrote:
> Hi Patrick,
>
> On Samstag, 5. Dezember 2009, Patrick Schoenfeld wrote:
> > if a package uses ucf it will be reported as buggy, because
> > the purge test purges all depends (including ucf) and the package
> > is therefore unable to unregister its configuration files from ucf.
> > This will leave changed files in /var/lib/ucf.
>
> so $package (where $package != ucf) specific ucf files are kept
> in /var/lib/ucf?
Well, when doing ucfr on package installation, it modifies files
in /var/lib/ucf. If you are now uninstalling a package you would
normally run ucf to remove the entries in ucfs registry. This cannot
happen, when ucf is beeing removed before, so the files remain changed.
So in fact there is nothing buggy about $package. Its just a case
that is not masked by our package management or our policy.
> regards,
> Holger, pondering if ucf should be requiered ;-)
Yes, I was wondering about this, too. Someone said that
ucf functionality might get merged back into dpkg.. eventually
this would be an even better solution. But for now I think that
piuparts should not consider packages buggy, just because they
use ucf.
Regards,
Patrick
More information about the Piuparts-devel
mailing list