Re: Parsing of dpkg status file considered harmful - Debian

This is a discussion on Re: Parsing of dpkg status file considered harmful - Debian ; -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Guillem Jover wrote: > On Thu, 2007-05-31 at 14:51:00 +0200, Josselin Mouette wrote: >> Le mercredi 30 mai 2007 à 07:53 +0300, Guillem Jover a écrit : >>> If you need to retrieve the ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Re: Parsing of dpkg status file considered harmful

  1. Re: Parsing of dpkg status file considered harmful

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Guillem Jover wrote:
    > On Thu, 2007-05-31 at 14:51:00 +0200, Josselin Mouette wrote:
    >> Le mercredi 30 mai 2007 à 07:53 +0300, Guillem Jover a écrit :
    >>> If you need to retrieve the conffile info, which is why most of those
    >>> packages are poking at the status file, please use something like:
    >>>
    >>> $ dpkg-query -W -f='${Conffiles}' docbook-xml
    >>>
    >>> which is also cleaner. If there happens to be any reentrancy problem
    >>> in dpkg-query, that will be considered a bug and fixed, so this should
    >>> be considered the standard api for maintainer scripts.

    >> Could you please fix the wiki page with proper functions you recommend?

    >
    > Sure, done.


    FWIW the new documentation on the wiki [1] regarding dpkg-query was not entirely
    correct. It missed to strip of the "obsolete" keyword. I updated the wiki
    accordingly.

    Cheers,
    Michael

    [1] http://wiki.debian.org/DpkgConffileHandling

    - --
    Why is it that all of the instruments seeking intelligent life in the
    universe are pointed away from Earth?
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFGerKrh7PER70FhVQRAvrFAJ9z6An10Xn3niFddCPwHX EknGelagCeNEp5
    jVYWw2eBQjgc3W1h07dx3J8=
    =1gj8
    -----END PGP SIGNATURE-----


    --
    To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Re: Parsing of dpkg status file considered harmful

    Michael Biebl wrote:

    > FWIW the new documentation on the wiki [1] regarding dpkg-query was not entirely
    > correct. It missed to strip of the "obsolete" keyword. I updated the wiki
    > accordingly.


    Ah, yes. Where is the meaning of that keyword documented?

    Regards, Frank

    --
    Frank Küster
    Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
    Debian Developer (teTeX/TeXLive)

+ Reply to Thread