Errors adding my Mageia 5 repository using the OBS instructions

Hi,

If you go to the download page of my Vim package you will see that the instructions for installing on Mageia 5 are running:


urpmi.addmedia home:fusion809 http://download.opensuse.org/repositories/home:fusion809/Mageia_5/
urpmi.update -a
urpmi vim

as root. I ran this in a Docker container for Mageia 5 and the first line (i.e., urpmi.addmedia…) gave the error:


adding medium "home:fusion809"
...retrieving failed: curl failed: exited with 22

I have opened http://download.opensuse.org/repositories/home:fusion809/Mageia_5/ in my web browser and it does exist so this error isn’t because the repository doesn’t exist…

Thanks for your time,
Brenton

just wondering here, but can the urpmi command work on anything else? like installing a package from the default repositories? because what usually worked back when I used mandriva was to switch between mirrors, although as you say, this one seems to be online.

the net seems to be fine as running:


urpmi.update -a

returns:


medium "Core Release" is up-to-date
    http://distro.ibiblio.org/mageia/distrib/5/x86_64/media/core/updates/media_info/20170129-223032-synthesis.hdlist.cz
updated medium "Core Updates"                                                  
medium "Core 32bit Release" is up-to-date
    http://distro.ibiblio.org/mageia/distrib/5/i586/media/core/updates/media_info/20170129-222653-synthesis.hdlist.cz
updated medium "Core 32bit Updates"

which unless I greatly misunderstand urpmi this means it was downloading http://distro.ibiblio.org/mageia/distrib/5/x86_64/media/core/updates/media_info/20170129-223032-synthesis.hdlist.cz and http://distro.ibiblio.org/mageia/distrib/5/i586/media/core/updates/media_info/20170129-222653-synthesis.hdlist.cz to update the local media, “Core Updates” and “Core 32bit Updates”.

also been able to upgrade the shadow-utils package with:


urpmi --auto-select

which does require my network connection to be adequate.

I’d recommend you post your entire Docker file for inspection.

TSU

You need to add proper architecture subdir, i.e. http://download.opensuse.org/repositories/home:fusion809/Mageia_5/x86_64. You may need to add both this and noarch.

It worked! How can I tell the maintainers of the OBS about this error in their installation instructions?

You could start with opensuse-buildservice mailing list.