Re: Bug#181071: acknowledged by developer (Re: apt: -o Dir::Cache::Archives can't specify "partial" differently)
- To: Mike Simons <msimons@moria.simons-clan.com>
- Cc: 181071@bugs.debian.org, deity@lists.debian.org
- Subject: Re: Bug#181071: acknowledged by developer (Re: apt: -o Dir::Cache::Archives can't specify "partial" differently)
- From: Dan Jacobson <jidanni@jidanni.org>
- Date: 16 Jul 2003 12:21:11 +0800
- Message-id: <[🔎] 874r1n6r0o.fsf@jidanni.org>
- In-reply-to: <20030426022933.GH21285@moria.simons-clan.com>
- References: <20030420173844.GH1135@alcor.net> <E18jptU-0003Xz-00@jidanni.org> <handler.181071.D181071.105086032729597.notifdone@bugs.debian.org> <87of2ul44c.fsf@jidanni.org> <20030426022933.GH21285@moria.simons-clan.com>
>>>>> "Mike" == Mike Simons <msimons@moria.simons-clan.com> 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.
Reply to: