[Bug 115536] Re: apt-cdrom add fails to mount the medium
Battant
115536 at bugs.launchpad.net
Sun Apr 10 14:20:20 UTC 2016
Hello,
If I type ihis command i a terminal
sudo apt-cdrom -m add
I get this result
apt-cdrom -m add
Using CD-ROM mount point /media/cdrom/
Identifying...
E: Unable to change to /media/cdrom/ - chdir (2: No such file or directory)
E: No CD-ROM could be auto-detected or found using the default mount point.
You may try the --cdrom option to set the CD-ROM mount point.
See 'man apt-cdrom' for more information about the CD-ROM auto-detection and mount point.
It seem the cdrom mount point it in the seme folder that the other mount point device
In my case is this
/media/mparchet/Ubuntu\ 15.10\ amd64/
Sould I create a symbolik link /media/cdrom/that point on the cdrom
sudo ln -s /media/mparchet/Ubuntu\ 15.10\ amd64/ /media/cdrom
I tesed this semm work.
Coul you confirm thos
Thanks for your help
mparchet
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/115536
Title:
apt-cdrom add fails to mount the medium
Status in apt package in Ubuntu:
Invalid
Status in synaptic package in Ubuntu:
Invalid
Bug description:
Binary package hint: apt
While running 'apt-cdrom add' in my notebook its always fails saying:
E: Failed to mount the cdrom.
APT looks into /etc/fstab to get the default cdrom mount point. My fstab looks like:
/dev/cdrom /cdrom udf,iso9660 user,noauto 0 0
APT tries to mount '/cdrom/' instead of just '/cdrom' (withou slash).
If I change fstab and add the slash in the mount point everything
works well.
Suggestion:
a) APT needs to use the hal mounting point instead the /etc/fstab, so it would works with no mention in fstab
b) The default fstab mounting point should be '/cdrom/' instead of just '/cdrom'
c) The default mounting point where apt looks into should be '/cdrom'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/115536/+subscriptions
More information about the foundations-bugs
mailing list