Public bug reported:

Binary package hint: apt

I have the lucid-dvd iso image file mounted on /mnt/lucid-dvd.

grep lucid /etc/fstab
/data/Install/lucid-dvd-i386.iso        /mnt/lucid-dvd iso9660          loop    
00

Command
apt-cdrom -m --cdrom=/mnt/lucid-dvd add
after a while writes:

Using CD-ROM mount point /media/apt/
Identifying.. [f962a298e59d90dde35dc2546808273b-2]
Scanning disc for index files..
Found 0 package indices, 0 source indices, 0 translation indices and 0 
signatures
W: Failed to mount '/dev/sr0' to '/media/apt/'
E: Unable to locate any package files, perhaps this is not a Debian Disc or the 
wrong architecture?

1) apt-cdrom writes bad mount point /media/apt/. It should use /mnt/lucid-dvd.
2) apt-cdrom should found packages in mounted /mnt/lucid-dvd.
3) apt-cdrom should not try to mount  '/dev/sr0' to '/media/apt/'.
4) apt-cdrom should add a line to /etc/apt/sources.list about Lucid. It didn't.
5) apt-cdrom should quickly return. What is it doing? Trying to mount cdrom?
6) The error messaage could be more specific.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: apt 0.7.25.3ubuntu7
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Fri May  7 13:06:23 2010
SourcePackage: apt

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug apt i386 lucid

-- 
apt-cdrom bad mount-point
https://bugs.launchpad.net/bugs/576932
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to