Re: Help Again moving /cdrom to /mnt/cdrom for apt-get
Chris Gray [EMAIL PROTECTED] writes: On Fri, Oct 13, 2000 at 09:41:22AM -0700, kmself@ix.netcom.com wrote: I used apt-cdrom briefly a few weeks ago and noted that it appears to be hardcoded to use /cdrom as a mountpoint. There must be a /cdrom directory, and an /etc/fstab entry for the CD-ROM to mount on /cdrom. I didn't explore deeply but noted this at the time. IMO it's a bug, should probably be filed as such (or checked). The answer was given on the list recently: put Acquire::cdrom::mount /mnt/cdrom; //or any other path in /etc/apt/apt.conf. Chris This is a clean solution. As for me, I have put symlinks to /cdrom and /floppy into /mnt/. I once had problems with a WordPerfect installation expecting a /cdrom dir, and also the apt-cdrom problems Karsten mentions. The symlinks satisfy every expectation :). -- Andre
Help Again moving /cdrom to /mnt/cdrom for apt-get
Hi, I want to move the cdrom from /cdrom to /mnt/cdrom and even though so noted in fstab, apt-get refuses to see anything but /cdrom to grab apps. Any idea how to change its config? Much thanks. Jonathan
Re: Help Again moving /cdrom to /mnt/cdrom for apt-get
On Fri, 13 Oct 2000, Jonathan Gift wrote: Date: Fri, 13 Oct 2000 06:44:35 -0500 To: Debian debian-user@lists.debian.org From: Jonathan Gift [EMAIL PROTECTED] Reply-To: Jonathan Gift [EMAIL PROTECTED] Subject: Help Again moving /cdrom to /mnt/cdrom for apt-get Hi, I want to move the cdrom from /cdrom to /mnt/cdrom and even though so noted in fstab, apt-get refuses to see anything but /cdrom to grab apps. Any idea how to change its config? Much thanks. Jonathan -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null 'man apt-cdrom' Can you just delete the sources.list entry and... put in the cd... 'apt-cdrom add' and set the correct location? I haven't done it in a while so I can't remember for sure but I think the correct path is the first thing apt-cdrom asks for. HTH, jt
Re: Help Again moving /cdrom to /mnt/cdrom for apt-get
On Fri, Oct 13, 2000 at 06:57:00AM -0500, John Travis ([EMAIL PROTECTED]) wrote: On Fri, 13 Oct 2000, Jonathan Gift wrote: Date: Fri, 13 Oct 2000 06:44:35 -0500 To: Debian debian-user@lists.debian.org From: Jonathan Gift [EMAIL PROTECTED] Reply-To: Jonathan Gift [EMAIL PROTECTED] Subject: Help Again moving /cdrom to /mnt/cdrom for apt-get Hi, I want to move the cdrom from /cdrom to /mnt/cdrom and even though so noted in fstab, apt-get refuses to see anything but /cdrom to grab apps. Any idea how to change its config? 'man apt-cdrom' Can you just delete the sources.list entry and... put in the cd... 'apt-cdrom add' and set the correct location? I haven't done it in a while so I can't remember for sure but I think the correct path is the first thing apt-cdrom asks for. I used apt-cdrom briefly a few weeks ago and noted that it appears to be hardcoded to use /cdrom as a mountpoint. There must be a /cdrom directory, and an /etc/fstab entry for the CD-ROM to mount on /cdrom. I didn't explore deeply but noted this at the time. IMO it's a bug, should probably be filed as such (or checked). -- Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself Evangelist, Opensales, Inc.http://www.opensales.org What part of Gestalt don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/http://www.kuro5hin.org GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0 pgpNaTBYywsJr.pgp Description: PGP signature
Re: Help Again moving /cdrom to /mnt/cdrom for apt-get
On Fri, Oct 13, 2000 at 09:41:22AM -0700, kmself@ix.netcom.com wrote: I used apt-cdrom briefly a few weeks ago and noted that it appears to be hardcoded to use /cdrom as a mountpoint. There must be a /cdrom directory, and an /etc/fstab entry for the CD-ROM to mount on /cdrom. I didn't explore deeply but noted this at the time. IMO it's a bug, should probably be filed as such (or checked). The answer was given on the list recently: put Acquire::cdrom::mount /mnt/cdrom; //or any other path in /etc/apt/apt.conf. Cheers, Chris -- It is much easier to be critical than to be correct. -- Benjamin Disraeli
Re: Help Again moving /cdrom to /mnt/cdrom for apt-get
On Fri, Oct 13, 2000 at 09:41:22AM -0700, kmself@ix.netcom.com wrote: On Fri, Oct 13, 2000 at 06:57:00AM -0500, John Travis ([EMAIL PROTECTED]) wrote: On Fri, 13 Oct 2000, Jonathan Gift wrote: I want to move the cdrom from /cdrom to /mnt/cdrom and even though so noted in fstab, apt-get refuses to see anything but /cdrom to grab apps. Any idea how to change its config? I used apt-cdrom briefly a few weeks ago and noted that it appears to be hardcoded to use /cdrom as a mountpoint. There must be a /cdrom directory, and an /etc/fstab entry for the CD-ROM to mount on /cdrom. I didn't explore deeply but noted this at the time. IMO it's a bug, should probably be filed as such (or checked). From apt.conf(5): cdrom CDROM URIs; the only setting for CDROM URIs is the mount point, cdrom::Mount which must be the mount point for the CDROM drive as specified in /etc/fstab. It is possible to provide alternate mount and unmount commands if your mount point cannot be listed in the fstab (such as an SMB mount). The syntax is to put /cdrom/::Mount foo; within the cdrom block. It is important to have the trailing slash. Unmount commands can be specified using UMount. Brent