Re: package versions in dselect, and Release file
>>>>> "Jason" == Jason Gunthorpe <jgg@ualberta.ca> writes:
Jason> On 25 Jun 2000, Ian Zimmerman wrote:
>> deb file:/usr/local/src/debs localdebs main non-free
>>
>> Then "apt-get update" looks for
>>
>> /usr/local/src/debs/dists/localdebs/{main,non-free}/binary-i386/Packages
>>
>> but "apt-get install pysol" looks for
>>
>> /usr/local/src/debs/main/binary-i386/games/pysol_*.deb.
Jason> Which is /usr/local/src/debs+[whatever is in Packages for the
Jason> Filename field]
Jason> Call dpkg-scanpackages correctly and this will go away.
You're quite right, ... except that "man dpkg-scanpackages" says
dpkg-scanpackages binarydir overridefile [pathprefix] >
Packages
binarydir is the name of the binary tree to process (for
example, contrib/binary-i386). It is best to make this
relative to the root of the Debian archive, because every
Filename field in the new Packages file will start with
this string.
At the very least, this needs a little clarification. What is the
"root of the Debian archive"? I assumed it was
foobar/dists/{frozen,stable,whatever}, and it was a natural assumption
because it corresponded to the example given. Now we know I was
wrong, foobar is the "root". But I would never know just from the
manpage.
Thanks for the help,
--
Ian Zimmerman, Oakland, California, U.S.A.
In his own soul a man bears the source
from which he draws all his sorrows and his joys.
Sophocles.
Reply to: