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

Re: Bug#93612: Support for new archive structure



On Thu, 12 Apr 2001, Raphael Hertzog wrote:

> > APT does not support that, if it does not work then too bad, I don't care.
> > :P
 
> Apt always supported that. If I put my CD and mount it on /cdrom and
> use "deb file:/cdrom/debian woody main contrib non-free" in sources.list,
> it does work !

It works because you got lucky, you had a CD that was fortunately
constructed properly. It is not supported, and if it does not work, I
totally don't care. 

> Why should the normal Packages file be named differently and not the new
> files that we are introducing ?

Because the release file says Packages, not Packages.cd - why should we
make the release file inconsistant?

If you point apt at a CD with a valid release file and a mangled package
file it won't work! It will look at it, tell you it's hacked and then
you'll have to muck around to get it to stop doing that.

> I for one use several directories like that when I mount (with the
> loopback) several ISO images :
> # mount -o loop /debian-cd/debian-woody-1.raw /mnt/cd1
> and so on ...

cd /.../jnk
ln -s /mnt/cd* .
apt-ftparchive packages . > Packages 

deb file:/.../jnk ./

Or if you ask particularly nice I might extend the sources.list syntax so
you can tell it to read Packages.cd directly

Jason



Reply to: