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

Re: mini-dinstall, repository signing and apt-get authentication

>> cd /var/local/debian && apt-ftparchive packages ./ | gzip - >
>> Packages.gz

Cameron> After looking at your repository, I have determined that this
Cameron> is where the problem occurs. You need to also generate a
Cameron> Packages file (uncompressed). You still need the Packages.gz
Cameron> file though, as apt only wants to download that one. So,
Cameron> changing the command to:

Cameron> cd /var/local/debian && \ apt-ftparchive packages ./ > Packages
Cameron> && \ gzip -c Packages > Packages.gz

Cameron> should work to create both files. (It's worth noting that you
Cameron> could probably create an apt-ftparchive config file, and then
Cameron> creating both Packages files and the Release file would only
Cameron> involve one invocation of "apt-ftparchive generate".)

This was indeed the solution.  Thanks for the investigation.

Cameron> It also works fine if you don't have the key in the apt secure
Cameron> key ring. I'm not sure why this is, but adding a successful key
Cameron> check seems to create this problem. There's almost certainly a
Cameron> bug in apt somewhere here, or maybe a couple, since I don't
Cameron> think apt should require a Packages file when it has no
Cameron> intention of downloading it.

Well, before posting here I did apt-get source apt and started wading,
I guess I'll do a bit more of that in copious spare time and report the
bug when I find it.  Thanks again.

This line is completely ham.

Reply to: