Re: Bug#504880: Disambiguate "installed" for packages
- To: 504880@bugs.debian.org
- Cc: debian-dpkg@lists.debian.org
- Subject: Re: Bug#504880: Disambiguate "installed" for packages
- From: Russ Allbery <rra@debian.org>
- Date: Sun, 15 Aug 2010 11:53:44 -0700
- Message-id: <87lj87vhaf.fsf@windlord.stanford.edu>
- In-reply-to: <20100730121330.GA5494@rivendell> (Raphael Hertzog's message of "Fri, 30 Jul 2010 14:13:31 +0200")
- References: <20081107191318.GK10451@riva.ucam.org> <87eieyf1rn.fsf@windlord.stanford.edu> <87ocdtx6j5.fsf@windlord.stanford.edu> <20100730121330.GA5494@rivendell>
Raphael Hertzog <hertzog@debian.org> writes:
> On Mon, 26 Jul 2010, Russ Allbery wrote:
>> <p>
>> The <prgn>DEBIAN</prgn> directory will not appear in the
>> file system archive of the package, and so won't be installed
>> - by <prgn>dpkg</prgn> when the package is installed.
>> + by <prgn>dpkg</prgn> when the package is unpacked.
>> </p>
> Technically, it's unpacked: not in /DEBIAN but in /var/lib/dpkg/tmp.ci/
> and then moved to /var/lib/dpkg/info/package.* at the end of the unpack
> phase but it's probably not worth pointing out in policy (or only as a
> footnote).
Is this true of all files in the control.tar.gz other than DEBIAN/control,
even ones unknown to dpkg? Or does dpkg have an enumerated list of files
that it does this with? It does seem like it would be worth documenting
/var/lib/dpkg/info somewhere non-normative.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: