[Mageia-dev] [patch] use urpmi without root privileges to just download packages
guillomovitch at gmail.com
Tue Oct 30 15:41:04 CET 2012
Le 29/10/2012 20:43, Guillaume Rousse a écrit :
> Le 29/10/2012 16:00, Thierry Vignaud a écrit :
>> Together with --no-install, it's what you want.
> Indeed, excepted for two issues:
> - it won't warn the user about the unability to write into
> /var/cache/urpmi/rpms until the download start
> - it won't solve the 'you have to guess what I actually did' issue :/
> Could we have some kind of non-interactive, easy-to-parse,
> automation-dedicated output ?
I just tested the patches.
The --download-dir option seems borken:
[guillaume at beria trunk]$ LC_ALL=C ./urpmi --no-install --download-dir
Unknown option: download-dir
No package named /home/guillaume/tmp/
Without the option, I don't get any write error, but the packages get
saved into some mysterious temporary directory (/tmp/.urpmi-500/rpms).
lastly, the -v flag seems enough have the needed information in output:
retrieving rpm files from medium "core.release"...
% Total % Received % Xferd Average Speed Time Time Time
BOFH excuse #429:
More information about the Mageia-dev