Bug#153759: apt: Fails to install packages from cd-rom if mount location isn't /cdrom
Package: apt
Version: 0.5.4
Severity: important
Since I hate clogging up the root directory of my installations, I mount all
my "external" file systems under /mnt, and have this in my /etc/fstab:
/dev/cdrom /mnt/cdrom iso9660 defaults,ro,user 0 0
Whereas apt-cdrom can be made to understand that by using
apt-cdrom -d /mnt/cdrom add
when registering the cds (without -d it fails mysteriously complaining about
the cd being broken), it's impossible for apt-get to understand that the
disk should indeed be mounted under /mnt/cdrom. It just keeps asking over
and over for me to insert the cd into /cdrom. I have to manually add an
extra
/dev/cdrom /cdrom iso9660 defaults,ro,user 0 0
line to /etc/fstab to be able to use apt-get.
Apt-cdrom should understand non-default locations for cd-rom mounts (just
look for iso9660 file systems or /dev/cdrom?)
If that's not possible, the -d option should be recorded in the sources.list
file so that apt-get can find the disk properly.
I can imagine that the same problem would appear if you would have both a
cd-rom and a dvd-rom in the machine (one of my other pcs have that), and try
to use both cd and dvd media with the pure cd-rom drive as /cdrom.
-- System Information
Debian Release: 3.0
Kernel Version: Linux tuli 2.2.20 #1 tis jan 8 18:37:14 CET 2002 i586 unknown
Versions of the packages apt depends on:
ii libc6 2.2.5-10 GNU C Library: Shared libraries and Timezone
ii libstdc++2.10- 2.95.4-7 The GNU stdc++ library
--
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: