Hi,

> > When dputing a package with architecture "all", the .deb
> > file is copied into Binary-all/... as expected, but
> > Binary-all/Packages does not contain the package info.
>
> Right. The content of this file is merged into the
> Packages(.gz|.bz2) files of available architectures.
>
> > Instead, Binary-i386/Packages contains that info, which is
> > wrong.
>
> IMHO you are wrong. This is the common way to handle
> binary-all packages. Compare it with the official archives.
> IMO you are also wrong if you believe, that you can fetch
> binary-all/Packages(.gz|.bz2). AFAIR only
> binary-$your_arch/Packages(.gz|.bz2) is fetched. That's the
> reason, why information from binary-all must be merged with
> the other architectures. Please correct me, if I'm wrong.

I checked on a Debian mirror, and you are right.

> > As a consequence, the package is not apt-get installable.
>
> It is, but only for those architectures which are supported by
> the repository.

In fact, my architecture is i386, and I still was not able to 
apt-get install a package.

Unfortunately, I could not reproduce the bug that triggered this 
report, sorry. I dont know why, but it all works now, after 
apt-get --purge remove debarchiver, 
deleting /var/lib/debarchiver, reinstalling debarchiver and 
re-dputing my packages. O_o

I think that my mistake was that I did manually run debarchiver 
-so (because I did not want to wait for cron) as root, not as 
user debarchiver. It probably made some files/directories 
unmodifiable afterwards when run as user debarchiver?

Anyway, you can surely close this bug.

> > This bug seems to be well-known, cf. the end of section
> > 3.1.1 in http://debian.wgdd.de/howto/howto-aptrep.de.html
>
> I guess you mean section 3.3.1. But there it is only written,
> that apt-ftparchive cannot handle binary-all packages
> properly. And the reason why it cannot handle them properly
> is, that it creates binary-all/Packages instead of putting the
> info into
> binary-$arch/Packages.

Well, my German is a bit dusty... ^_-

-- 
Romain LENGLET


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to