Package: apt
Version: 0.5.23
I have the following directory structure on my cdrom, which
is the sarge-netinst CD:
dists/sarge/Release
dists/sarge/contrib/binary-i386/Packages.gz
dists/sarge/contrib/binary-i386/Release
dists/sarge/main/binary-i386/Packages.gz
dists/sarge/main/binary-i386/Release
dists/sarge/main/debian-installer/binary-i386/Packages.gz
pool/main/... (the deb and udeb packages)
With apt-move I created a repository, which I copied into
an "extra" directory on the CD:
extra/dists/... (Release and Packages files)
extra/pool/... (the deb packages)
Of course, the Packages file entries point to the deb
files correctly - without the 'extra' top-level dir.
apt-cdrom add creates the following entries in
/etc/apt/sources.list:
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-1
(20050210)]/ extra/dists/testing/main/binary-i386/
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-1
(20050210)]/ unstable contrib main
The first line is not correct. In theory, something like
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-1
(20050210)]/extra/ dists/testing/main/binary-i386/
I assume to be correct, but it's not accepted by apt.
See http://lists.debian.org/deity/2005/02/msg00118.html
Cheers, WB