Description of problem: urpmi wont use local rpm depository Version-Release number of selected component (if applicable): urpmi-8.01-2.mga5 How reproducible: with every update Steps to Reproduce: 1. build a local directory of local rpm's 2. add that directory to the list of sources 3. using urpmi try to install one of those rpms I have Cauldron installed on 5 different machine all of different configurations for testing. I keep a copy of Cauldron rpms on my file server and is updated from the closest repository every 6 hours. If I add the that directoryas a source urpmi will not use it. No matter how I add the directory by command line or gui. Its much harder to do testing with this problem. Reproducible: Steps to Reproduce:
urpmi does use properly installed media. If you try to install a package which have same NEVR in several media, urpmi will pick it from the first matching medium
Status: NEW => RESOLVEDCC: (none) => thierry.vignaudResolution: (none) => INVALID
Yes I know that. Not all media have the same new packages. In Mageia 4 cauldron no matter what I did it would not use the local repositorys Once Mageia 4 was released it worked like all other earlier versions did. Now the problem is. Now if I use urpmi.addmedia --distrib {Path} I get no error when loading but all packages are up to date. If I use urpmi.addmedia {Name} file:{Path}media/core/release It works like I would expect but I have to create a uniqe name for each, I then update to the locals first I get >95% of all rpms. I then add remote repositorys and len than <5% of the total. Just to make sure I had the right idea. I loaded 2 machinea with the alpha 2 and updated it to the latest. Both ad to upgrade over 1900 packages, The first only using the remote mirrors took 2 days. The second using both local then remote took less than 2 hours. This is why I keep my own local repositorys
Do you make sure that all lines about the local repo come first in /etc/urpmi/urpmi.cfg (so above the ones for the remote repo)?
CC: (none) => marja11
Yes! It don't work when I use urpmi.addmedia --distrib {Path} and it works when I use urpmi.addmedia {Name} file:{Path}media/core/release
Then the media.cfg you manually wrote must be invalid as it works fine for official with --distrib & for individual local medium