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

Re: Normalising UDD to some extend?



On 19/02/09 at 09:36 +0100, Andreas Tille wrote:
> On Thu, 19 Feb 2009, Lucas Nussbaum wrote:
>
>>> and remove the architecture column from the packages table?
>>
>> Packages can have different <put any other field here> on different
>> architectures, so you would lose information by doing that.
>
> If this is the case (I just trust you) my suggestion is not
> really good - but I'm astonished that " <put any other field here>"
> should really be true.  I'll try some queries to verify this - but
> the reason why this should happen remains unclear (except
> perhaps for kernel packages - which is reason enough to make my
> suggestion void).

Well, Depends: can obviously change between architectures. And there's
no reason why other fields wouldn't be different as well, since control
files are generated on a per-arch basis during the build process.

>> it's "Architecture:" in the Sources file, and we try to match the names
>> of the fields in Sources.
>
> But it is just different *content*: One is a string and the other is
> a list of *strings*.

Yeah, but dpkg/apt were wrong before UDD!

$ apt-cache showsrc 9base |grep Arch
Architecture: alpha amd64 arm armeb armel hppa hurd-i386 i386 m68k mips
mipsel powerpc s390 sparc kfreebsd-amd64 kfreebsd-i386

:-)
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |


Reply to: