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

Bug#153759: marked as done (apt: Fails to install packages from cd-rom if mount location isn't /cdrom)



Your message dated Sun, 21 Jul 2002 13:48:40 -0600 (MDT)
with message-id <[🔎] Pine.LNX.3.96.1020721134743.308B-100000@wakko.debian.net>
and subject line Bug#153759: apt: Fails to install packages from cd-rom if mount  location isn't /cdrom
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Jul 2002 17:55:40 +0000
>From peter@softwolves.pp.se Sun Jul 21 12:55:40 2002
Return-path: <peter@softwolves.pp.se>
Received: from pc56-61.oslo.avidi.no [148.122.61.56] (103)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17WKvi-0002c6-00; Sun, 21 Jul 2002 12:55:39 -0500
Received: by pc56-61.oslo.avidi.no (Postfix, from userid 501)
	id 06A48775; Sun, 21 Jul 2002 19:55:31 +0200 (CEST)
From: peter@softwolves.pp.se
Subject: apt: Fails to install packages from cd-rom if mount location isn't /cdrom
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10.1
Message-Id: <[🔎] 20020721175531.06A48775@pc56-61.oslo.avidi.no>
Date: Sun, 21 Jul 2002 19:55:31 +0200 (CEST)
Delivered-To: submit@bugs.debian.org

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

---------------------------------------
Received: (at 153759-done) by bugs.debian.org; 21 Jul 2002 19:49:11 +0000
>From jgg@debian.org Sun Jul 21 14:49:11 2002
Return-path: <jgg@debian.org>
Received: from h24-71-223-10.cg.shawcable.net (pd5mo1so.prod.shaw.ca) [24.71.223.10] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17WMhb-00019c-00; Sun, 21 Jul 2002 14:49:11 -0500
Received: from pd5mr2so.prod.shaw.ca
 (pd5mr2so-qfe3.prod.shaw.ca [10.0.141.233]) by l-daemon
 (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0GZM00GAP715RN@l-daemon> for 153759-done@bugs.debian.org; Sun,
 21 Jul 2002 13:48:41 -0600 (MDT)
Received: from pn2ml3so.prod.shaw.ca
 (pn2ml3so-qfe0.prod.shaw.ca [10.0.121.147]) by l-daemon
 (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0GZM0029L7155Z@l-daemon> for 153759-done@bugs.debian.org; Sun,
 21 Jul 2002 13:48:41 -0600 (MDT)
Received: from wakko.debian.net ([24.86.210.128])
 by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.6 (built Apr 26 2002))
 with ESMTP id <0GZM007KL715D3@l-daemon> for 153759-done@bugs.debian.org; Sun,
 21 Jul 2002 13:48:41 -0600 (MDT)
Received: from localhost	([127.0.0.1] helo=wakko.debian.net ident=jgg)
	by wakko.debian.net with smtp (Exim 3.35 #1 (Debian))
	id 17WMh6-0001Q9-00; Sun, 21 Jul 2002 13:48:40 -0600
Date: Sun, 21 Jul 2002 13:48:40 -0600 (MDT)
From: Jason Gunthorpe <jgg@debian.org>
Subject: Re: Bug#153759: apt: Fails to install packages from cd-rom if mount
 location isn't /cdrom
In-reply-to: <[🔎] 20020721175531.06A48775@pc56-61.oslo.avidi.no>
X-Sender: jgg@wakko.debian.net
To: peter@softwolves.pp.se, 153759-done@bugs.debian.org
Cc: APT Development Team <deity@lists.debian.org>, apt@packages.qa.debian.org
Message-id: <[🔎] Pine.LNX.3.96.1020721134743.308B-100000@wakko.debian.net>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
Delivered-To: 153759-done@bugs.debian.org


On Sun, 21 Jul 2002 peter@softwolves.pp.se wrote:

> Whereas apt-cdrom can be made to understand that by using
> 
>  apt-cdrom -d /mnt/cdrom add

You should set this option in apt.conf with:

Acquire::cdrom::mount "/mnt/cdrom"; 

Jason


-- 
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: