Bug 6871

Summary: How can'I prevent urpmi from using rsync source
Product: Mageia Reporter: Fabrice Boyrie <fboyrie>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Normal CC: luzemario, mageiatools, marja11, thierry.vignaud
Version: CauldronKeywords: Junior_job
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: urpmi-6.48.2-1.mga2 CVE:
Status comment:

Description Fabrice Boyrie 2012-07-26 14:43:13 CEST
Description of problem:
In my university, we can't access outside rsync server.
By default, Mageia choose automatically the mirror, and often select a rsync mirror.
  
An I see no way to explain urpmi to only select ftp and http url.
Comment 1 Manuel Hiebel 2012-07-26 16:17:36 CEST
You can add a specific mirror and not use mirrorlist. 

Also seems we can play something with --mirrorlist but no easy way yet.

(from treegazer on irc: wget -O- -q http://mirrors.mageia.org/api/ftp | grep -v rsync | grep -v ftp )

Sysadmin is seems that we can't use search for specific protocol, should be easy to implement no ? 

http://svnweb.mageia.org/soft/mirrors/mga-mirrors/trunk/lib/MGA/Mirrors/Controller/Api.pm?revision=715&view=markup

Keywords: (none) => Junior_job
CC: (none) => sysadmin-bugs
Component: RPM Packages => Others
Version: 2 => unspecified
Assignee: bugsquad => sysadmin-bugs
Product: Mageia => Infrastructure

Manuel Hiebel 2012-07-26 16:17:53 CEST

CC: (none) => thierry.vignaud

Comment 2 Thierry Vignaud 2012-07-26 17:41:39 CEST
Either uninstall rsync would do it or manually pick a mirror instead of using mirrorlist
Comment 3 Fabrice Boyrie 2012-07-26 17:48:51 CEST
Than for the answers. The last one didn't work  for me

 urpme rsync
 LC_ALL=C urpmi --auto-update
...retrieving failed: rsync is missing
...retrieving failed: rsync is missing
...retrieving failed: rsync is missing
...retrieving failed: rsync is missing

I've finished to make it to work with --wget option

I know I can specify a mirror. I'm just suggesting an enhancement.
Comment 4 Thierry Vignaud 2012-07-27 14:00:03 CEST
You need to purge the cache (/var/cache/urpmi/mirrors.cache) after removing rsync so that urpmi picks a non rsync media.
Previous choosen mirror is cached.
Comment 5 Luzemário Dantas 2013-04-25 20:21:40 CEST
This forum thread talk about this bug too:

https://forums.mageia.org/en/viewtopic.php?f=25&t=4780

CC: (none) => luzemario

Nicolas Vigier 2013-09-21 15:56:49 CEST

CC: (none) => boklm
Component: Others => RPM Packages
Version: unspecified => Cauldron
Product: Infrastructure => Mageia

Nicolas Vigier 2013-09-21 17:00:54 CEST

Assignee: sysadmin-bugs => thierry.vignaud

Nicolas Vigier 2014-03-24 10:52:27 CET

CC: boklm => (none)

Marja Van Waes 2017-12-02 12:58:23 CET

CC: sysadmin-bugs => mageiatools, marja11