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

Bug#504880: Disambiguate "installed" for packages

On Sun, 15 Aug 2010, Russ Allbery wrote:
> 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?

Yes, it only has a blacklist of files that it won't install (like "list"
since it's for internal use).

The directory might be /var/lib/dpkg/info/tmp.ci/ in fact to ensure that
it's on the same filesystem and can be moved around with rename.

> It does seem like it would be worth documenting /var/lib/dpkg/info
> somewhere non-normative.

No opinion.

Raphaël Hertzog ◈ Debian Developer ◈ [Flattr=20693]

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)

Reply to: