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

Bug#365432: apt-cdrom gets confused by /dev entries on CDROMs



package: apt
version 05.28.6

	I have an install CD created by FAI using the fai-cd command. This
puts a UNIX directory tree on the CD-ROM. This contains an APTable
repository at /fai/files/packages/ of the CDROM tree, which in turn
contains a Packages.gz file.

	When I try to add the CD using apt-cdrom, I get the following
message:

"E: Failed to stat /media/cdrom/dev/fd/3/fai/files/packages/Packages"

	and apt-cdrom exits without registering any respositories.

	What appears to be happening: apt-cdrom does a search on possible
locations, finds /media/cdrom/dev and traverses it. Somehow it finds the
mirror and tries to uncompress the Packages.gz file, and chokes. (It also
finds the proper locations, but never gets as far as writing a
sources.list entry for them). If I hide /media/cdrom/dev (by using mount
--bind to cover it with a dummy directory) then the command finishes
properly.

	What I want: either apt-cdrom should be smarter about going to
/media/cdrom/dev, or I should be able to specify some directories to
exclude when using apt-cdrom.

- Paul



Reply to: