Installing updates on arm (bananapi) fails with mirror not found

NethServer Version: 7.6.1810 (final)
Module: yum

I installed a bananapi as described at my howto:

but if I try to install updates

yum update

I get an error that mirror isn’t found.

failure: repodata/repomd.xml from ce-base: [Errno 256] No more mirrors to try.
http://mirror.centos.org/centos/7.6.1810/os/armhfp/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

After removing every repofile except nethserver.repo the error was the same.
has somebody any idea?

the repo file is pointing to a wrong URL (it’s missing altarch directory branch):
http://mirror.centos.org/altarch/7.6.1810/os/armhfp/repodata/repomd.xml

2 Likes

Seems a known bug, see ARM development: next steps

2 Likes

Thanks to Markus and Marc,
but I didn’t get it work.
I changed like @Mr.Olie described, but get the same error.

# ================= DO NOT MODIFY THIS FILE =================
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at NethServer official site: https://www.nethserver.org
#
#

[nethserver-base]
name=NethServer-$nsrelease - Base
mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=base&arch$
#baseurl=http://mirror.nethserver.org/nethserver/$releasever/base/$basearch/
gpgcheck=1
repo_gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
enabled=1
enablegroups=0

[nethserver-updates]
name=NethServer-$nsrelease - Updates
mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=updates&a$
#baseurl=http://mirror.nethserver.org/nethserver/$releasever/updates/$basearch/
gpgcheck=1
repo_gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
enabled=1
enablegroups=1

[nethserver-testing]
name=NethServer-$nsrelease - Testing
mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=testing&a$
#baseurl=http://mirror.nethserver.org/nethserver/$releasever/testing/$basearch/
gpgcheck=1
repo_gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
enabled=0
enablegroups=0

[ce-base]
name=CE-Base-$nsrelease
mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=ce-base&a$
#baseurl=http://mirror.centos.org/altarch/$nsrelease/os/$basearch/
gpgcheck=1
repo_gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1

[ce-updates]
name=CE-Updates-$nsrelease
mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=ce-update$
#baseurl=http://mirror.centos.org/altarch/$nsrelease/updates/$basearch/
gpgcheck=1
repo_gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1

[ce-extras]
name=CE-Extras-$nsrelease
mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=ce-extras$
#baseurl=http://mirror.centos.org/altarch/$nsrelease/extras/$basearch/
gpgcheck=1
repo_gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1

[ce-sclo-sclo]
name=CE-SCLo-sclo-$nsrelease
mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=ce-sclo-s$
#baseurl=http://mirror.centos.org/altarch/$nsrelease/sclo/$basearch/sclo/
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo
enabled=0

[ce-sclo-rh]
name=CE-SCLo-rh-$nsrelease
mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=ce-sclo-r$
#baseurl=http://mirror.centos.org/altarch/$nsrelease/sclo/$basearch/rh/
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo
enabled=0

You need to comment the mirrorlist lines and uncomment the baseurl lines.like:

#mirrorlist=...
baseurl=...

The problem was reported also by @dz00te, few days ago. Be patient, we will fix it in a couple of days :wink:

2 Likes

Thanks for your answers.
@mrmarkuz Thanks for the hint and helping me with my foolishness. Will try this.
@giacomo How to get this update, if updates didn’t work? :joy:
Of cause it was a rhetorical question, I think we get a patch to install.

It’s a server-side patch, no need to install anything on the NethServer :slight_smile:

This is the patch but it’s still a working in progress. We should finish it soon.

1 Like

The fix should be already in place thanks to @davidep.

See also ARM development: next steps

1 Like

I’ll try later. Thanks.

With sclo disabled it works now.