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

Re: dpkg-verify?



Philippe Troin wrote:
>  David Frey wrote:
> [...]
> > ... check a package vs the current installation against:
> > a) missing files
> > b) wrong permissions
> > c) wrong sizes/date stamps/link counts
>
> Dpkg justs records the file list, not anything else.
> I had further problems with packages which create some files in their
> postinst (like perl, which compiles headers).

It would be nice if /var/lib/dpkg/info/<package>.list listed also the
owner, group and permissions at install time. (md5 will be a dream)

But what could be really helpfull is a method to add or delete an entry
in this list. So {pre,post}inst scripts could register their
modifications to the fs tree.

Another method needed is the one that permits you to update the
conffiles list.

But ... can't we do this now?
Question: Can a {pre,post}inst script modify the <>.list and/or the
<>.conffiles directly under /var/lib/dpkg/info?

Anyway, a standardized method is better.

ciao
Fabrizio
-- 
+-------------------------------------------------------------+
| e-mail: fpolacco@megabaud.fi    fpolacco@debian.org         |
| http://megabaud.fi/~fpolacco/   Join the UKI Linux Project! |
| fingerprint 70 1A 72 2D 2B C8 A5 63 7A C2 CC E0 2A 54 AE DA |
| finger: fpolacco@megabaud.fi    fpolacco@master.debian.org  |
+-------------------------------------------------------------+


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: