Hi!
thanks for your comments!
Well, the main questions was that I need to manage urpmi using a proxy, but it's the first time I have to deal with this so I'm little confused.
I was trying to add media and update via MCC graphic interface but it can't connect to Internet because the proxy.
Then my second option was to invoke urpmi from command line with -proxy options.
Did read and learn a little more about how to add media from CLI, I found
https://wiki.mageia.org/en/URPMI it and it worked.
- Code: Select all
urpmi.addmedia --proxy YOURPROXYHERE:PORT --proxy-user=ask --distrib --mirrorlist '$MIRRORLIST'
Por favor, ingrese sus credenciales para acceder al proxy
Nombre de usuario:xxxxxxx
Contraseña:
añadiendo soporte «Core Release2»
añadiendo soporte «Core Release Debug» (ignorado por defecto)
añadiendo soporte «Core Updates»
añadiendo soporte «Core Updates Debug» (ignorado por defecto)
añadiendo soporte «Core Updates Testing» (ignorado por defecto)
añadiendo soporte «Core Updates Testing Debug» (ignorado por defecto)
añadiendo soporte «Core Backports» (ignorado por defecto)
añadiendo soporte «Core Backports Debug» (ignorado por defecto)
añadiendo soporte «Core Backports Testing» (ignorado por defecto)
añadiendo soporte «Core Backports Testing Debug» (ignorado por defecto)
añadiendo soporte «Nonfree Release2»
añadiendo soporte «Nonfree Release Debug» (ignorado por defecto)
añadiendo soporte «Nonfree Updates»
añadiendo soporte «Nonfree Updates Debug» (ignorado por defecto)
añadiendo soporte «Nonfree Updates Testing» (ignorado por defecto)
añadiendo soporte «Nonfree Updates Testing Debug» (ignorado por defecto)
añadiendo soporte «Nonfree Backports» (ignorado por defecto)
añadiendo soporte «Nonfree Backports Debug» (ignorado por defecto)
añadiendo soporte «Nonfree Backports Testing» (ignorado por defecto)
añadiendo soporte «Nonfree Backports Testing Debug» (ignorado por defecto)
añadiendo soporte «Tainted Release» (ignorado por defecto)
añadiendo soporte «Tainted Release Debug» (ignorado por defecto)
añadiendo soporte «Tainted Updates» (ignorado por defecto)
añadiendo soporte «Tainted Updates Debug» (ignorado por defecto)
añadiendo soporte «Tainted Updates Testing» (ignorado por defecto)
añadiendo soporte «Tainted Updates Testing Debug» (ignorado por defecto)
añadiendo soporte «Tainted Backports» (ignorado por defecto)
añadiendo soporte «Tainted Backports Debug» (ignorado por defecto)
añadiendo soporte «Tainted Backports Testing» (ignorado por defecto)
añadiendo soporte «Tainted Backports Testing Debug» (ignorado por defecto)
añadiendo soporte «Core 32bit Release»
añadiendo soporte «Core 32bit Updates»
añadiendo soporte «Core 32bit Updates Testing» (ignorado por defecto)
añadiendo soporte «Core 32bit Backports» (ignorado por defecto)
añadiendo soporte «Core 32bit Backports Testing» (ignorado por defecto)
añadiendo soporte «Nonfree 32bit Release»
añadiendo soporte «Nonfree 32bit Updates»
añadiendo soporte «Nonfree 32bit Updates Testing» (ignorado por defecto)
añadiendo soporte «Nonfree 32bit Backports» (ignorado por defecto)
añadiendo soporte «Nonfree 32bit Backports Testing» (ignorado por defecto)
añadiendo soporte «Tainted 32bit Release» (ignorado por defecto)
añadiendo soporte «Tainted 32bit Updates» (ignorado por defecto)
añadiendo soporte «Tainted 32bit Updates Testing» (ignorado por defecto)
añadiendo soporte «Tainted 32bit Backports» (ignorado por defecto)
añadiendo soporte «Tainted 32bit Backports Testing» (ignorado por defecto)
$MIRRORLIST: media/core/release/media_info/20170714-192548-synthesis.hdlist.cz
$MIRRORLIST: media/core/updates/media_info/20171110-191538-synthesis.hdlist.cz
$MIRRORLIST: media/nonfree/release/media_info/20170714-184104-synthesis.hdlist.cz
$MIRRORLIST: media/nonfree/updates/media_info/20171110-191138-synthesis.hdlist.cz
$MIRRORLIST: media/../../i586/media/core/release/media_info/20170714-192023-synthesis.hdlist.cz
$MIRRORLIST: media/../../i586/media/core/updates/media_info/20171110-191359-synthesis.hdlist.cz
$MIRRORLIST: media/../../i586/media/nonfree/release/media_info/20170714-184101-synthesis.hdlist.cz
$MIRRORLIST: media/../../i586/media/nonfree/updates/media_info/20171110-191137-synthesis.hdlist.cz
After that it tried to do some urpmi.update but for that without using proxy:
- Code: Select all
# ps -aux | grep urpmi
factura 9848 0.0 0.0 15940 2528 ? SN 11:39 0:00 /bin/sh /bin/urpmi.update --update
root 9849 0.0 0.3 156660 29076 ? SN 11:39 0:00 /usr/bin/perl /usr/libexec/urpmi.update --update
root 10886 0.0 0.2 77564 16492 ? SN 11:43 0:00 /usr/bin/aria2c --auto-file-renaming=false --ftp-pasv --summary-interval=1 --follow-metalink=mem --metalink-enable-unique-protocol=true --metalink-preferred-protocol=http --max-tries=5 --lowest-speed-limit=20K --timeout 3 --split=3 --uri-selector=adaptive --server-stat-if=/root/.aria2-adaptive-stats --server-stat-of=/root/.aria2-adaptive-stats --max-file-not-found=9 --connect-timeout=6 -Z -j1 --allow-overwrite=true /var/cache/urpmi/.metalink
And not sure if it worked because I first thought that not, but later I'd tried to do manually and the answer was that all was up to date ("está al día"):
- Code: Select all
[root@localhost factura]# urpmi.update --proxy YOURPROXYHERE:PORT --proxy-user=ask -a
Por favor, ingrese sus credenciales para acceder al proxy
Nombre de usuario:xxxxxxx
Contraseña:
el soporte «Core Release2» está al día
el soporte «Core Updates» está al día
el soporte «Nonfree Release2» está al día
el soporte «Nonfree Updates» está al día
$MIRRORLIST: media/tainted/release/media_info/20170714-184134-synthesis.hdlist.cz
el soporte «Core 32bit Release» está al día
el soporte «Core 32bit Updates» está al día
el soporte «Nonfree 32bit Release» está al día
el soporte «Nonfree 32bit Updates» está al día
Anyway I've continued with updates...
- Code: Select all
# urpmi --proxy YOURPROXYHERE:PORT --proxy-user=ask --auto-update
(stripped)
So, my doubts now are:
1.- Can I say in any way to urpmi to work always with the proxy. Trying to avoid to launch manually and to ensure it works for automatic updates?
Even if there is the possibility that use the GUI at MCC?
2.- How can I add tainted media by CLI? Did read here
https://wiki.mageia.org/en/URPMIbut can't understand. Did try with "urpmi.addmedia tainted" (with proxy settings) but it ask me for an URL.
Thanks!