NethServer Version: 7.6.1810 (final)
Module: yum
I installed a bananapi as described at my howto:
My Hardware is a banana pi m2 ultra (bpi m2u). I choose this one because it has 2 GB RAM instead of most other “mini-arm-pcs” with only 1 GB. I want to run it as a little “Secure-Box” with IPS, Firewall and Antivir to filter the incoming traffic, so I need some more RAM. You can install the system at a micro SD-Card, I take a 64 GB Class 10 card. Don’t use a to slow Card.
Now we start with downloading a CentOS Image for bpi m2u
Images for other bpi models are also at this site. The root pass…
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?
dnutan
(Marc)
March 8, 2019, 5:05pm
2
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
mrmarkuz
(Markus Neuberger)
March 8, 2019, 10:54pm
3
2 Likes
m.traeumner
(Michael Träumner)
March 10, 2019, 12:57pm
4
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
mrmarkuz
(Markus Neuberger)
March 10, 2019, 8:02pm
5
You need to comment the mirrorlist lines and uncomment the baseurl lines.like:
#mirrorlist=...
baseurl=...
giacomo
(Giacomo Sanchietti)
March 11, 2019, 7:07am
6
The problem was reported also by @dz00te , few days ago. Be patient, we will fix it in a couple of days
2 Likes
m.traeumner
(Michael Träumner)
March 11, 2019, 10:05am
7
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?
Of cause it was a rhetorical question, I think we get a patch to install.
giacomo
(Giacomo Sanchietti)
March 11, 2019, 10:17am
8
It’s a server-side patch, no need to install anything on the NethServer
This is the patch but it’s still a working in progress. We should finish it soon.
1 Like
giacomo
(Giacomo Sanchietti)
March 11, 2019, 11:14am
9
The fix should be already in place thanks to @davidep .
See also ARM development: next steps
1 Like
m.traeumner
(Michael Träumner)
March 11, 2019, 7:59pm
11
With sclo disabled it works now.