| Summary: | urpmi wont use local rpm depository | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Robert Courtright <rbcourt> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | marja11, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | urpmi-8.01-2.mga5 | CVE: | |
| Status comment: | |||
|
Description
Robert Courtright
2014-10-18 21:59:53 CEST
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 =>
RESOLVED 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 |