Debian Bug report logs - #7582
dselect can't install with "cdrom" method if cdrom is already mounted

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: Christian Schwarz <schwarz@monet.m.isar.de>

Date: Sun, 23 Feb 1997 16:33:05 UTC

Severity: normal

Done: Anthony Towns <ajt@master.debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson <ian@chiark.greenend.org.uk>:
Bug#7582; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Christian Schwarz <schwarz@monet.m.isar.de>:
New bug report received and forwarded. Copy sent to Ian Jackson <ian@chiark.greenend.org.uk>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Christian Schwarz <schwarz@monet.m.isar.de>
To: Debian Bugs <submit@bugs.debian.org>
Subject: dselect can't install with "cdrom" method if cdrom is already mounted
Date: Sun, 23 Feb 1997 16:29:09 +0100 (CET)
Package: dpkg
Version: 1.4.0.8

The installation method "cdrom" fails to install/update the package list
when the CDROM is already mounted, before selecting the menu item. Perhaps
this behaviour could be changed. The method should check if a cdrom is
already mounted and use it instead of complaining.


Thanks,

Chris

--                 Christian Schwarz
Do you know         schwarz@monet.m.isar.de, schwarz@debian.org,
Debian GNU/Linux?    schwarz@mathematik.tu-muenchen.de, bm955877@muenchen.org
      
Visit                  PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
http://www.debian.org   http://fatman.mathematik.tu-muenchen.de/~schwarz/



Information forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson <ian@chiark.greenend.org.uk>:
Bug#7582; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Dale Scheetz <dwarf@polaris.net>:
Extra info received and forwarded to list. Copy sent to Ian Jackson <ian@chiark.greenend.org.uk>. (full text, mbox, link).


Message #10 received at 7582@bugs.debian.org (full text, mbox, reply):

From: Dale Scheetz <dwarf@polaris.net>
To: Christian Schwarz <schwarz@monet.m.isar.de>, 7582@bugs.debian.org
Cc: Ian Jackson <ian@chiark.greenend.org.uk>
Subject: Re: Bug#7582: dselect can't install with "cdrom" method if cdrom is already mounted
Date: Mon, 3 Mar 1997 14:34:06 -0500 (EST)
On Sun, 23 Feb 1997, Christian Schwarz wrote:

> 
> Package: dpkg
> Version: 1.4.0.8
> 
> The installation method "cdrom" fails to install/update the package list
> when the CDROM is already mounted, before selecting the menu item. Perhaps
> this behaviour could be changed. The method should check if a cdrom is
> already mounted and use it instead of complaining.
> 
The work around for this is to not choose "cdrom" when you have already
mounted it. You should, instead, choose "mounted file system", or whatever
the mounted method is called.

Luck,

Dwarf

------------                                          --------------

aka   Dale Scheetz                   Phone:   1 (904) 656-9769
      Flexible Software              11000 McCrackin Road
      e-mail:  dwarf@polaris.net     Tallahassee, FL  32308

------------ If you don't see what you want, just ask --------------



Information forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson <ian@chiark.greenend.org.uk>:
Bug#7582; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Christian Schwarz <schwarz@monet.m.isar.de>:
Extra info received and forwarded to list. Copy sent to Ian Jackson <ian@chiark.greenend.org.uk>. (full text, mbox, link).


Message #15 received at 7582@bugs.debian.org (full text, mbox, reply):

From: Christian Schwarz <schwarz@monet.m.isar.de>
To: Dale Scheetz <dwarf@polaris.net>
Cc: 7582@bugs.debian.org, Ian Jackson <ian@chiark.greenend.org.uk>
Subject: Re: Bug#7582: dselect can't install with "cdrom" method if cdrom is already mounted
Date: Tue, 4 Mar 1997 14:43:00 +0100 (CET)
On Mon, 3 Mar 1997, Dale Scheetz wrote:

> On Sun, 23 Feb 1997, Christian Schwarz wrote:
> 
> > 
> > Package: dpkg
> > Version: 1.4.0.8
> > 
> > The installation method "cdrom" fails to install/update the package list
> > when the CDROM is already mounted, before selecting the menu item. Perhaps
> > this behaviour could be changed. The method should check if a cdrom is
> > already mounted and use it instead of complaining.
> > 
> The work around for this is to not choose "cdrom" when you have already
> mounted it. You should, instead, choose "mounted file system", or whatever
> the mounted method is called.

Well, this is one of the points that make dselect really "ugly".

If we stick to the way it's now, then I suggest renaming the method from
"cdrom" to "unmounted cdrom" :-)

No, I really suggest to add this little test.


Cheers,

Chris

--                 Christian Schwarz
                    schwarz@monet.m.isar.de, schwarz@debian.org,
Don't know Perl?     schwarz@mathematik.tu-muenchen.de, bm955877@muenchen.org
      
Visit                  PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
http://www.perl.com     http://fatman.mathematik.tu-muenchen.de/~schwarz/



Information forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson <ian@chiark.greenend.org.uk>:
Bug#7582; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Dale Scheetz <dwarf@polaris.net>:
Extra info received and forwarded to list. Copy sent to Ian Jackson <ian@chiark.greenend.org.uk>. (full text, mbox, link).


Message #20 received at 7582@bugs.debian.org (full text, mbox, reply):

From: Dale Scheetz <dwarf@polaris.net>
To: Christian Schwarz <schwarz@monet.m.isar.de>
Cc: 7582@bugs.debian.org, Ian Jackson <ian@chiark.greenend.org.uk>
Subject: Re: Bug#7582: dselect can't install with "cdrom" method if cdrom is already mounted
Date: Tue, 4 Mar 1997 16:03:55 -0500 (EST)
On Tue, 4 Mar 1997, Christian Schwarz wrote:

> On Mon, 3 Mar 1997, Dale Scheetz wrote:
> 
> > On Sun, 23 Feb 1997, Christian Schwarz wrote:
> > 
> > > 
> > > Package: dpkg
> > > Version: 1.4.0.8
> > > 
> > > The installation method "cdrom" fails to install/update the package list
> > > when the CDROM is already mounted, before selecting the menu item. Perhaps
> > > this behaviour could be changed. The method should check if a cdrom is
> > > already mounted and use it instead of complaining.
> > > 
> > The work around for this is to not choose "cdrom" when you have already
> > mounted it. You should, instead, choose "mounted file system", or whatever
> > the mounted method is called.
> 
> Well, this is one of the points that make dselect really "ugly".
> 
> If we stick to the way it's now, then I suggest renaming the method from
> "cdrom" to "unmounted cdrom" :-)

Well, I wasn't suggesting that it "not" be fixed. It's definately a bug.
What I should point out is that it will react the same way if you are
trying to install off of a pre-mounted disk partition as well. Probably
the best fix would be to merge the two methods into one. If there is no
mounted device then ask which to mount. Better yet, show mounted and
unmounted partitions to choose from. If the chosen device is mounted use
it, if it is not mounted, mount it and use it.

?

Dwarf

------------                                          --------------

aka   Dale Scheetz                   Phone:   1 (904) 656-9769
      Flexible Software              11000 McCrackin Road
      e-mail:  dwarf@polaris.net     Tallahassee, FL  32308

------------ If you don't see what you want, just ask --------------



Information forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson <ian@chiark.greenend.org.uk>:
Bug#7582; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Christian Schwarz <schwarz@monet.m.isar.de>:
Extra info received and forwarded to list. Copy sent to Ian Jackson <ian@chiark.greenend.org.uk>. (full text, mbox, link).


Message #25 received at 7582@bugs.debian.org (full text, mbox, reply):

From: Christian Schwarz <schwarz@monet.m.isar.de>
To: Dale Scheetz <dwarf@polaris.net>
Cc: 7582@bugs.debian.org, Ian Jackson <ian@chiark.greenend.org.uk>
Subject: Re: Bug#7582: dselect can't install with "cdrom" method if cdrom is already mounted
Date: Wed, 5 Mar 1997 14:06:08 +0100 (CET)
On Tue, 4 Mar 1997, Dale Scheetz wrote:

> On Tue, 4 Mar 1997, Christian Schwarz wrote:
> 
> > On Mon, 3 Mar 1997, Dale Scheetz wrote:
> > 
> > > On Sun, 23 Feb 1997, Christian Schwarz wrote:
> > > 
> > > > 
> > > > Package: dpkg
> > > > Version: 1.4.0.8
> > > > 
> > > > The installation method "cdrom" fails to install/update the package list
> > > > when the CDROM is already mounted, before selecting the menu item. Perhaps
> > > > this behaviour could be changed. The method should check if a cdrom is
> > > > already mounted and use it instead of complaining.
> > > > 
> > > The work around for this is to not choose "cdrom" when you have already
> > > mounted it. You should, instead, choose "mounted file system", or whatever
> > > the mounted method is called.
> > 
> > Well, this is one of the points that make dselect really "ugly".
> > 
> > If we stick to the way it's now, then I suggest renaming the method from
> > "cdrom" to "unmounted cdrom" :-)
> 
> Well, I wasn't suggesting that it "not" be fixed. It's definately a bug.
> What I should point out is that it will react the same way if you are
> trying to install off of a pre-mounted disk partition as well. Probably
> the best fix would be to merge the two methods into one. If there is no
> mounted device then ask which to mount. Better yet, show mounted and
> unmounted partitions to choose from. If the chosen device is mounted use
> it, if it is not mounted, mount it and use it.

Did you have a look at the experimental package "dpkg-mountable"? It does
exactly what you want. It works perfectly for me, but the screen messages
are "screwed up". This shouldn't be much work to fix, though.

Perhaps this could be included in some future version of dpkg and replace
the "mounted" and "cdrom" option.


Thanks,

Chris

--                  Christian Schwarz
                   schwarz@monet.m.isar.de, schwarz@debian.org,
                  schwarz@mathematik.tu-muenchen.de, bm955877@muenchen.org
                       
                PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
            
 CS Software goes online! Visit our new home page at
 	                                     http://www.schwarz-online.com



Bug reassigned from package `dpkg' to `dpkg-iwj'. Request was from Wichert Akkerman <wichert@cs.leidenuniv.nl> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg-iwj' to `dpkg'. Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. (full text, mbox, link).


Bug closed, ack sent to submitter - they'd better know why ! Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg' to `dpkg'. Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 26 18:33:12 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.