Bug#712433: Please add a way to disable the udev code in apt-cdrom
On Thu, Jun 20, 2013 at 02:42:21PM +0200, Michael Vogt wrote:
>On Sat, Jun 15, 2013 at 11:26:05PM +0100, Steve McIntyre wrote:
>> Package: apt
>> Version: 0.9.7.8
>> Severity: important
>> Justification: painful to debug problems
>
>Thanks for your bugreport.
>
>[..]
>> not find a CD drive on my machine via udev (nor in the VM where I
>> first started to debug). So, please:
>>
>> (a) if apt can't find a CD to add for some reason, please *say so*
>> rather than just saying "Repeat this process..." It currently also
>> returns 0, suggesting even more that everything worked fine.
>>
>> (b) add an option "Acquire::cdrom::UseUdev" or similar to allow people
>> (me!) to disable the udev code and allow direct use of an
>> already-mounted loopback ISO image or similar.
>
>Thanks. Would a message like this have helped you?
>"""
> _error->Info(_("No CD-ROM could be auto-detected, using default
> "
> "mount path '%s'. See 'man apt-cdrom' for more ",
> "information about CD-ROM auto-detection."),
> _config->Find("Acquire::cdrom::mount"));
>"""
Yup, definitely! :-) Making things clearer on the error path would be
very helpful.
>Plus the following man-page addition:
>"""
> --no-auto-detect, --cdrom
> Do not try to auto-detect the CD-ROM path. Usually combined
> with
> the --cdrom option. Configuration Item:
> Acquire::cdrom::AutoDetect.
>"""
Definitely also!
>If so, I will add it to the repo. David already fixed the exit code
>and misleading "Repeat this process..." message in his branch.
Cool.
Again, thanks for the quick responses here guys!
--
Steve McIntyre, Cambridge, UK. steve@einval.com
"Further comment on how I feel about IBM will appear once I've worked out
whether they're being malicious or incompetent. Capital letters are forecast."
Matthew Garrett, http://www.livejournal.com/users/mjg59/30675.html
Reply to: