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

Re: [PATCH 2/7] Conffile database handling functions


On Sun, May 08, 2011 at 09:05:20PM +0200, Raphael Hertzog wrote:
> On Sun, 08 May 2011, sean finney wrote:
> > I'd think that only one instance of arch:all could be installed, but I
> > haven't read the details of how we're doing multi-arch so perhaps someone
> > with better insights could confirm/clarify?
> The control files are installed as <pkg>.foo except for Multi-Arch: same
> which are installed as <pkg>:<arch>.foo.
> It's probably a good idea to reuse the same logic here.

If a package migrates from non-multiarch to multi-arch, that means
that the location of the conffiledb for the package would change, right?
If so, then I think we'd need to either ensure that the implementation
can support it[1], or just be lazy and always have the arch[2].


[1] checking the multi-arch status of the package's previous version to
    determine the conffiledb path at appropriate points in the code,
    assuming that can be done.
[2] assuming i read the spec correctly you can't have two copies of an
    arch:all package installed.

Reply to: