The automatic handling of /var/lib/urpmi/names.<media_name> files has been introduced as a hack for speeding up urpmi bash completion. However, it is not used anymore, and I doubt any other program ever used them. I think it is quite safe to drop _generate_medium_names function in media.pm, as well as the only line calling it in the same file. It's actually a 'feature removal' request, but there is no such category in bugzilla :)
Assignee: bugsquad => thierry.vignaud
I actually use those files when confirming (after the fact), where I installed a package from. I.E. core updates testing or non-free updates testing. At present, urpmi.update doesn't always seem to create the one for updates testing, and I then have to run rpmdrake to create it. I find grep packagename /var/lib/urpmi/na* to be the fastest way to do that. I also sometimes use the file to see which packages were generated at about the same time (since the files are in push order), when an update involves multiple srpm files.
CC: (none) => davidwhodgins
Hi, This bug was filed against cauldron, but we do not have cauldron at the moment. Please report whether this bug is still valid for Mageia 2. Thanks :) Cheers, marja
Keywords: (none) => NEEDINFO
Dave: urpmq --list | grep is just marginally slower, and less error-prone, as it honours urpmi configuration, such as disabled medias. Thierry: any opinion here ? Otherwise, we might as well close this one.
urpmq & urpmf are fast when names exist...
Priority: Normal => LowStatus: NEW => RESOLVEDResolution: (none) => INVALID