> 
> One of my remote machines (8.1) is 2 hours away, with only 31.2kb
modem
> access;
> so I loaded the ISO images onto the HD figuring I could install
proggies
> remotely.  I'm trying to install gnucash for the user.  Gnucash has a
load
> of
> dependencies, so I thought urpmi would ease the process...
> 
> 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
> [snip]

Wrong (two times). First error is, URL points to RPMs location in this
case /mnt/cd1/Mandrake/RPMS

> (likewise for CD2 and CD3)
> 
> "file:///mnt..." because the docs say "file://<path>" and <path> is
> "/mnt/cd..."; hence "///".
> 

Wrong second time. Urpmi knows that path is absolute. Adding third slash
result in extra double slashes which usually does not hurt, but ...

> Even after deleting the default /dev/cdrom stuff from
/etc/urpmi/urpmi.cfg,
> urpmi.addmedia still insists on setting it up to use /dev/cdrom...
> 

Have you removed old media?

> Finally edited /var/lib/urpmi/list.cdrom1 to fix the broken paths from
> "/mnt/cd1/" to "/mnt/cd1/Mandrake/RPMS/" (see below).

You told it to use this path.

  For some reason,
> unlike
> CD1,  CD2 in /var/lib/urpmi/list.cdrom2 got the correct path so I only
> changed

That's really funny. Should not actually if you used the above form.


-andrej

Reply via email to