>>>>> "Mike" == Mike Simons <[EMAIL PROTECTED]> writes:
Mike> On Sat, Apr 26, 2003 at 04:21:55AM +0800, Dan Jacobson wrote: D> #181071: apt: -o Dir::Cache::Archives can't specify "partial" differently , D> which was filed against the apt package. >> >> Yes, but you have not enabled the user to specify a /partial directory >> different from the parent directory, no? This poor assumption means >> some users will have to copy an entire archive from a read-only medium >> to a read/write medium, Mike> [...] >> Take the case of apt-zip and CDROMs. Mike> No. You should not need to mess with /var/cache/apt/archives. Mike> If you have a CD of .debs that you want to load Mike> - Use a cdrom:// uri is "cdrom://" documented? does one write deb cdrom://cdrom unstable main contrib non-free ? note my cdrom is has just one flat dir with debs in it. Mike> or Mike> - Mount the Cd and use a file:// uri in sources.list. Mike> See sources.list man page for more details. using the example there deb file:/cdrom unstable main contrib non-free gzip: stdin: unexpected end of file Failed to fetch file:/cdrom/dists/unstable/main/binary-i386/Packages File not found etc. why of course, my cdrom is just a flat archive of .debs, as produced by apt-zip. Anyway, with a cdrom with one flat dir full of debs, I have proved that the only way to use apt is to copy all the debs to # cd /cdrom # cp * /var/cache/apt/archives/ very likely filling up one's /var partition. Therefore, apt cannot deal with a cdrom with a flat directory full of debs. P.S. in fact I have 2 cd's: the first has a-k debs, the last has l-z debs, mounted on /cdrom , /cdrom2 all of course doesn't matter as they can't be used as I've mentioned above.

