Fran�ois Pons wrote: > > Pierre Fortin <[EMAIL PROTECTED]> writes: > > > > > I tried: > > > > # mount -o loop /home/ISO/Mandrake81-cd1-inst.i586.iso /mnt/cd1 > > > > # urpmi.addmedia cdrom1 file:///mnt/cd1 with Mandrake/base/hdlist1.cz > >... > > but the URL parsing should be changed to allow "file:///mnt/..." unless there is > > never likely to be any confusion with "//mnt/..." entries I noticed in an > > /etc/fstab... > > This is unclear I man pages will be fixed, in fact it should be file:/<path>. > > where path is absolute, but using non absolute path is correct (!) at least for > ftp or http URLs. (you can use cwd when login) > > For file:/, path should be absolute or problems will comes. > > Another problem is using with, you have removed one possibility of urpmi (I > wonder if this is a bug) where urpmi automatically searches for packages, so > writing > urpmi.addmedia cdrom1 file://mnt/cd1 > is correct (should be) and urpmi find all rpms on the first CD, but > urpmi.addmedia cdrom1 file://mnt/cd1 with Mandrake/base/hdlist1.cz > removes this possibility of searching (like for ftp or http where with is > mandatory).
The problem is this: I wanted to install gnucash (no CDs at remote site or even anyone there to load the tray). All the CDs were copied to /home/ISO/... and mounted as /mnt/cd[123] Given this, what is the correct way to setup urpmi config files to avoid the request to insert a CD into /dev/cdrom...? The only way I succeeded was to fix the files (cd1 in particular) which urpmi.addmedia created and delete the original "disc\ [123]\ Downloa..." entries in /etc/urpmi/urpmi.cfg. Thanks, Pierre
