Description of problem: urpmi.addmedia --probe-rpms file://mnt/hd/mageia2/rpms/noarch local_noarch fails with, "bad <url> (for local directory, the path must be absolute)". Version-Release number of selected component (if applicable): Mageia2 rc i586 DVD plus updates. How reproducible: Every time. Steps to Reproduce: 1. Type on the command line as above.
and with ? urpmi.addmedia --probe-rpms /mnt/hd/mageia2/rpms/noarch local_noarch
[root@test noarch]# pwd /mnt/hd/mageia2/rpms/noarch [root@test noarch]# urpmi.addmedia --probe-rpms /mnt/hd/mageia2/rpms/noarch local_noarch bad <url> (for local directory, the path must be absolute)
Try this way: urpmi.addmedia local_noarch /mnt/hd/mageia2/rpms/noarch
CC: (none) => sander.lepik
[root@test noarch]# urpmi.addmedia local_noarch /mnt/hd/mageia2/rpms/noarch adding medium "local_noarch" before remote medium "core media" adding 57 new rpms not available in existing hdlist replacing /var/cache/urpmi/partial/synthesis.hdlist.cz with synthesis.hdlist.cz.tmp updating /var/cache/urpmi/partial/MD5SUM [root@test noarch]# urpmi.addmedia --help | grep usage usage: urpmi.addmedia [options] <name> <url> usage: urpmi.addmedia [options] --distrib --mirrorlist <url> usage: urpmi.addmedia [options] --mirrorlist <url> <name> <relative path> [root@test noarch]# Bother. Something is confused - possibly me. Is that third "usage" line correct?
indeed :) >Bother. Something is confused - possibly me. Is that third "usage" line >correct? nop you have to use usage 1, the --mirrorlist is if you want to use the api for take a mirror in list (like http://mirrors.mageia.org/api/mageia.1.i586.list) (https://wiki.mageia.org/en/URPMI take from the mdv wiki)
Status: NEW => RESOLVEDResolution: (none) => INVALID