Debian Bug report logs -
#282344
apt-cdrom: please change default CD-ROM mountpoint
Reported by: martin f krafft <madduck@debian.org>
Date: Sun, 21 Nov 2004 14:48:01 UTC
Severity: wishlist
Found in version 0.5.27
Done: Miguel Figueiredo <elmig@debianpt.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Message #3 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: apt
Version: 0.5.27
Severity: wishlist
cirrus:~# apt-cdrom ident
Using CD-ROM mount point /cdrom/
Mounting CD-ROM
E: Unable to stat the mount point /cdrom/ - stat (2 No such file or directory)
E: Failed to mount the cdrom.
We are now using /media/cdrom by default. Please change APT. Thanks,
--
.''`. martin f. krafft <madduck@debian.org>
: :' : proud Debian developer, admin, user, and author
`. `'`
`- Debian - when you have better things to do than fixing a system
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Acknowledgement sent to Matt Zimmerman <mdz@debian.org>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(full text, mbox, link).
Message #8 received at 282344@bugs.debian.org (full text, mbox, reply):
On Sun, Nov 21, 2004 at 03:37:04PM +0100, martin f krafft wrote:
> Package: apt
> Version: 0.5.27
> Severity: wishlist
>
> cirrus:~# apt-cdrom ident
> Using CD-ROM mount point /cdrom/
> Mounting CD-ROM
> E: Unable to stat the mount point /cdrom/ - stat (2 No such file or directory)
> E: Failed to mount the cdrom.
>
> We are now using /media/cdrom by default. Please change APT. Thanks,
Until a symlink is provided for backward compatibility (/media/cdrom ->
/cdrom), this would break working systems.
--
- mdz
Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Message #11 received at 282344@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
also sprach Matt Zimmerman <mdz@debian.org> [2004.12.28.0350 +0100]:
> Until a symlink is provided for backward compatibility (/media/cdrom ->
> /cdrom), this would break working systems.
... this does not prevent you from changing to use /media/cdrom.
I purposely removed the /cdrom symlink to find problematic packages
which still use it.
--
.''`. martin f. krafft <madduck@debian.org>
: :' : proud Debian developer, admin, user, and author
`. `'`
`- Debian - when you have better things to do than fixing a system
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Acknowledgement sent to Matt Zimmerman <mdz@debian.org>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(full text, mbox, link).
Message #16 received at 282344@bugs.debian.org (full text, mbox, reply):
On Tue, Dec 28, 2004 at 10:27:28AM +0100, martin f krafft wrote:
> also sprach Matt Zimmerman <mdz@debian.org> [2004.12.28.0350 +0100]:
> > Until a symlink is provided for backward compatibility (/media/cdrom ->
> > /cdrom), this would break working systems.
>
> ... this does not prevent you from changing to use /media/cdrom.
> I purposely removed the /cdrom symlink to find problematic packages
> which still use it.
There are a large number of installed systems which use /cdrom in
/etc/fstab. Changing apt-cdrom's default mount point to /media/cdrom would
break apt-cdrom on those systems, unless there is some process to convert
them on upgrade.
--
- mdz
Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Acknowledgement sent to Otavio Salvador <otavio@debian.org>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(full text, mbox, link).
Message #21 received at 282344@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
|| On Tue, 28 Dec 2004 09:37:25 -0800
|| Matt Zimmerman <mdz@debian.org> wrote:
mz> On Tue, Dec 28, 2004 at 10:27:28AM +0100, martin f krafft wrote:
>> also sprach Matt Zimmerman <mdz@debian.org> [2004.12.28.0350 +0100]:
>> > Until a symlink is provided for backward compatibility (/media/cdrom ->
>> > /cdrom), this would break working systems.
>>
>> ... this does not prevent you from changing to use /media/cdrom.
>> I purposely removed the /cdrom symlink to find problematic packages
>> which still use it.
mz> There are a large number of installed systems which use /cdrom in
mz> /etc/fstab. Changing apt-cdrom's default mount point to /media/cdrom would
mz> break apt-cdrom on those systems, unless there is some process to convert
mz> them on upgrade.
But this kinda of upgrade process probably broke the policy since you
will need change /etc/fstab directly.
Another option is provide a symbolic link to old place and then
providing backward compatibility.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
you the whole house."
[Message part 2 (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Message #24 received at 282344@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
also sprach Matt Zimmerman <mdz@debian.org> [2004.12.28.1837 +0100]:
> There are a large number of installed systems which use /cdrom in
> /etc/fstab. Changing apt-cdrom's default mount point to
> /media/cdrom would break apt-cdrom on those systems, unless there
> is some process to convert them on upgrade.
Can apt-cdrom check if /media/cdrom exists, and use /cdrom
otherwise?
--
.''`. martin f. krafft <madduck@debian.org>
: :' : proud Debian developer, admin, user, and author
`. `'`
`- Debian - when you have better things to do than fixing a system
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Acknowledgement sent to Matt Zimmerman <mdz@debian.org>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(full text, mbox, link).
Message #29 received at 282344@bugs.debian.org (full text, mbox, reply):
On Wed, Feb 09, 2005 at 01:22:54AM +0100, martin f krafft wrote:
> also sprach Matt Zimmerman <mdz@debian.org> [2004.12.28.1837 +0100]:
> > There are a large number of installed systems which use /cdrom in
> > /etc/fstab. Changing apt-cdrom's default mount point to
> > /media/cdrom would break apt-cdrom on those systems, unless there
> > is some process to convert them on upgrade.
>
> Can apt-cdrom check if /media/cdrom exists, and use /cdrom
> otherwise?
Not exactly; it would need to parse /etc/fstab to know which one to use.
--
- mdz
Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Message #32 received at 282344@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
also sprach Matt Zimmerman <mdz@debian.org> [2005.02.09.0140 +0100]:
> Not exactly; it would need to parse /etc/fstab to know which one to use.
True, although I wonder how many systems have a /media/cdrom
directory and continue to use /cdrom.
Anyway, parsing /etc/fstab should not be that hard, no?
if grep -q '[[:space:]]/media/cdrom' /etc/fstab; then
if grep -q '[[:space:]]/cdrom' /etc/fstab; then
# use /cdrom
else
# use /media/cdrom
fi
else
# use /cdrom
fi
This is conservative...
--
.''`. martin f. krafft <madduck@debian.org>
: :' : proud Debian developer, admin, user, and author
`. `'`
`- Debian - when you have better things to do than fixing a system
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Acknowledgement sent to Matt Zimmerman <mdz@debian.org>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(full text, mbox, link).
Message #37 received at 282344@bugs.debian.org (full text, mbox, reply):
On Wed, Feb 09, 2005 at 01:55:37AM +0100, martin f krafft wrote:
> also sprach Matt Zimmerman <mdz@debian.org> [2005.02.09.0140 +0100]:
> > Not exactly; it would need to parse /etc/fstab to know which one to use.
>
> True, although I wonder how many systems have a /media/cdrom
> directory and continue to use /cdrom.
/media/cdrom will be created on upgrade, while /etc/fstab is unchanged, no?
--
- mdz
Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Message #40 received at 282344@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
also sprach Matt Zimmerman <mdz@debian.org> [2005.02.09.0205 +0100]:
> /media/cdrom will be created on upgrade, while /etc/fstab is
> unchanged, no?
I would not know by whom:
% dpkg -S /media/cdrom
dpkg: /media/cdrom not found.
% grep /media/cdrom /var/lib/dpkg/info/*.*inst || echo none
none
--
.''`. martin f. krafft <madduck@debian.org>
: :' : proud Debian developer, admin, user, and author
`. `'`
`- Debian - when you have better things to do than fixing a system
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Acknowledgement sent to Vytautas Germanavicius <vytis@openoffice.lt>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(full text, mbox, link).
Message #45 received at 282344@bugs.debian.org (full text, mbox, reply):
When in debian users will be able to use apt with cdrom media without
changing config files manually. It's so hard to use fstab parsing code,
posted by martin f krafft <madduck@debian.org> ?
Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Acknowledgement sent to Frans Pop <elendil@planet.nl>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(full text, mbox, link).
Message #50 received at 282344@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Please reconsider supporting /media/cdrom as default before the release of
Etch as Etch will be the second Debian release where the installer
creates /media/cdrom by default.
[Message part 2 (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Acknowledgement sent to stappers@stappers.nl (Geert Stappers):
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(full text, mbox, link).
Message #55 received at 282344@bugs.debian.org (full text, mbox, reply):
retitle 382424 D-I hangs: /cdrom became /media/cdrom0
thanks
# clone 382424 -1
# reassign -1 apt
On Wed, Aug 23, 2006 at 08:58:23PM +0200, Jens Seidel wrote:
>
> I can now reproduce it and found also the problem:
> APT is not able to mount a Debian CD, since APT searchs by default in
> /cdrom (see #282344) but /target/etc/fstab refers to /media/cdrom0.
> Setting Acquire::cdrom::mount "/media/cdrom0" in /target/etc/apt/apt.conf
> fixes this.
>
> To reproduce it use the Beta 3 netinst ISO ("install" target) and
> install a system without network mirror. Once the installation finished
> the CD is unmounted. Now select again "Select and install software" and
> try to install another task. The system hangs now because APT cannot
> mount the CD. The same happens if the user unmout the CD manually ...
I have been thinking about splitting (cloning) this bugreport,
but it is a common problem for the apt and the d-i maintainers.
And Jens allready noticed #282344 (now CC-ed)
Apt maintainers: Are you in 'freeze' or before the Etch freeze?
Cheers
Geert Stappers
Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#282344; Package apt.
(full text, mbox, link).
Acknowledgement sent to Marco Rodrigues <gothicx@sapo.pt>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>.
(full text, mbox, link).
Message #60 received at 282344@bugs.debian.org (full text, mbox, reply):
This is fixed on debian 4 ? If true, the bug can be closed as fix released.
--
Marco Rodrigues
http://Marco.Tondela.org
Reply sent
to Miguel Figueiredo <elmig@debianpt.org>:
You have taken responsibility.
(Mon, 21 Mar 2011 21:51:05 GMT) (full text, mbox, link).
Notification sent
to martin f krafft <madduck@debian.org>:
Bug acknowledged by developer.
(Mon, 21 Mar 2011 21:51:05 GMT) (full text, mbox, link).
Message #65 received at 282344-done@bugs.debian.org (full text, mbox, reply):
This was fixed in apt 0.8.11
#611569 is also related.
--
Melhores cumprimentos/Best regards,
Miguel Figueiredo
http://www.DebianPT.org
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 19 Apr 2011 07:33:30 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jan 11 06:15:26 2018;
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.