Software Center Empty

I uncommented the baseurls in the nethserver.repo file for centos-base and centos-updates and it appears to be working now… weird.

Comparing the nethserver.repo file to a few other installs, the baseurl options should be commented out. So does anyone have any thoughts about what happened and why?

because I can’t cut and paste text from an image to try to reproduce the issue…

images are a bad thing in this case…

no, cut and paste, thank you

Just put the image in Acrobat and OCR it if your typing skills aren’t up to par.

I kid, of course. :wink:

On that note, check out the following screenshot. It shows that the problem is still there and uncommenting the base urls was just a work-around:

Text added for @zamboni

yum update
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Setting up Update Process
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/
 * nethserver-base: mirror1.nethserver.org
 * nethserver-updates: mirror1.nethserver.org
No Packages marked for Update

thank you

every time “we” use CLI, we should just copy and paste here command, results and error messages…

images are good for UI, not for debugging

Makes sense to me.

You should have a forum title of “Forum Nazi” or something. You seem to always be the one setting people straight, whether people are veering from the preferred NS roadmap or posting incorrectly. :smiley:

no, you’re wrong

since we are not in fron of the “problematic” server and everybody here is trying to help in his spare time, I think that we all should help the others to help…

in other words, if you (generally speaking) think I (generally speaking) will re-type all the error messages and commands (to try to reproduce the issue or just to search with google), well, you (generally speaking) are wrong…

moreover, using a CLI makes cut and paste the text so easy that you (generally speaking) have no reason to create a screenshot and upload here… and, remember, trying to read and understand what is wrote into a minipicture (using my smartphone) is quite difficult…

this is no a nazi approach, this is almost 15 years in helpdesk (starting from usenet and going trought may, many forums)

HTH

Maybe you took what I was saying the wrong way. I’m almost always in agreement with what you have to say, I was just joking around referring to other posts I’ve seen by you in the past. Rather than having to go digging through the forum quoting all of your prior comments that I’m referring to which will even further derail this thread… nevermind.

Let’s try to understand the problem. :smile:

@Adam, could you show the output of yum repolist -v ?

Mine is:

Repo-id      : centos-base
Repo-name    : CentOS-6 Base
Repo-revision: 1438723315
Repo-updated : Tue Aug  4 23:24:45 2015
Repo-pkgs    : 6,575
Repo-size    : 5.4 G
Repo-baseurl : http://it.centos.contactlab.it/6.7/os/x86_64/, http://centos.muzzy.it/6.7/os/x86_64/,
             : ftp://ftp.eutelia.it/CentOS/6.7/os/x86_64/, http://mirrors.prometeus.net/centos/6.7/os/x86_64/,
             : http://mi.mirror.garr.it/mirrors/CentOS/6.7/os/x86_64/, http://centos.fastbull.org/centos/6.7/os/x86_64/,
             : http://mirror.crazynetwork.it/centos/6.7/os/x86_64/, http://ftp.hosteurope.de/mirror/centos.org/6.7/os/x86_64/,
             : http://mirror.informatik.hs-fulda.de/centos6.7/os/x86_64/, http://mirror.maeh.org/centos/6.7/os/x86_64/
Repo-mirrors : http://mirrorlist.nethserver.org/6.7/centos?release=6&repo=os&arch=x86_64
Repo-expire  : 21,600 second(s) (last: Thu Nov 12 16:07:02 2015)

Repo-id      : centos-updates
Repo-name    : CentOS-6 Updates
Repo-revision: 1447188368
Repo-updated : Tue Nov 10 21:48:54 2015
Repo-pkgs    : 652
Repo-size    : 3.3 G
Repo-baseurl : http://centos.fastbull.org/centos/6.7/updates/x86_64/, ftp://ftp.eutelia.it/CentOS/6.7/updates/x86_64/,
             : http://mirrors.prometeus.net/centos/6.7/updates/x86_64/, http://centos.muzzy.it/6.7/updates/x86_64/,
             : http://mi.mirror.garr.it/mirrors/CentOS/6.7/updates/x86_64/,
             : http://mirror.crazynetwork.it/centos/6.7/updates/x86_64/, http://it.centos.contactlab.it/6.7/updates/x86_64/,
             : http://ftp.halifax.rwth-aachen.de/centos/6.7/updates/x86_64/,
             : http://mirror.jgotteswinter.com/centos/6.7/updates/x86_64/, http://centosmirror.netcup.net/centos/6.7/updates/x86_64/
Repo-mirrors : http://mirrorlist.nethserver.org/6.7/centos?release=6&repo=updates&arch=x86_64
Repo-expire  : 21,600 second(s) (last: Thu Nov 12 16:07:07 2015)

Repo-id      : nethserver-base
Repo-name    : NethServer 6.7 base
Repo-revision: 1445525368
Repo-updated : Thu Oct 22 16:49:32 2015
Repo-pkgs    : 446
Repo-size    : 417 M
Repo-mirrors : http://mirrorlist.nethserver.org/6.7/nethserver?release=6&repo=base&arch=x86_64
Repo-baseurl : http://mirror.nethesis.it/nethserver/6.7/base/x86_64/
Repo-expire  : 21,600 second(s) (last: Thu Nov 12 16:07:09 2015)

Repo-id      : nethserver-updates
Repo-name    : NethServer 6.7 updates
Repo-revision: 1447256812
Repo-updated : Wed Nov 11 16:46:53 2015
Repo-pkgs    : 22
Repo-size    : 30 M
Repo-mirrors : http://mirrorlist.nethserver.org/6.7/nethserver?release=6&repo=updates&arch=x86_64
Repo-baseurl : http://mirror.nethesis.it/nethserver/6.7/updates/x86_64/
Repo-expire  : 21,600 second(s) (last: Thu Nov 12 16:07:09 2015)

repolist: 7,695
1 Like

ok, so I’d apologize, shouldn’t I? :smile:

BTW, please remember another thing: here there are people coming from all the world, not native english speakers… and all we are just reading black words on a white background… they have no “sound” and a reader can misunderstand the meaning :wink:

in any case, sorry for the misunderstanding :wink:

1 Like
yum repolist -v
Loading "changelog" plugin
Loading "fastestmirror" plugin
Loading "nethserver_events" plugin
Loading "presto" plugin
Config time: 0.187
Yum Version: 3.2.29
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/
 * nethserver-base: mirror1.nethserver.org
 * nethserver-updates: mirror1.nethserver.org
Setting up Package Sacks
pkgsack time: 0.062
Repo-id      : centos-base
Repo-name    : CentOS-6 Base
Repo-revision: 1438723315
Repo-updated : Tue Aug  4 17:24:45 2015
Repo-pkgs    : 6,575
Repo-size    : 5.4 G
Repo-baseurl : http://mirror.centos.org/centos/6/os/x86_64/
Repo-mirrors : http://mirrorlist.nethserver.org/6.7/centos?release=6&repo=os&arch=x86_64
Repo-expire  : 21,600 second(s) (last: Thu Nov 12 09:31:31 2015)

Repo-id      : centos-updates
Repo-name    : CentOS-6 Updates
Repo-revision: 1447188368
Repo-updated : Tue Nov 10 15:48:54 2015
Repo-pkgs    : 652
Repo-size    : 3.3 G
Repo-baseurl : http://mirror.centos.org/centos/6/updates/x86_64/
Repo-mirrors : http://mirrorlist.nethserver.org/6.7/centos?release=6&repo=updates&arch=x86_64
Repo-expire  : 21,600 second(s) (last: Thu Nov 12 09:31:32 2015)

Repo-id      : nethserver-base
Repo-name    : NethServer 6.7 base
Repo-revision: 1445525368
Repo-updated : Thu Oct 22 10:49:32 2015
Repo-pkgs    : 446
Repo-size    : 417 M
Repo-mirrors : http://mirrorlist.nethserver.org/6.7/nethserver?release=6&repo=base&arch=x86_64
Repo-baseurl : http://mirror1.nethserver.org/nethserver/6.7/base/x86_64/ (7
             : more)
Repo-expire  : 21,600 second(s) (last: Thu Nov 12 09:31:35 2015)

Repo-id      : nethserver-updates
Repo-name    : NethServer 6.7 updates
Repo-revision: 1447256812
Repo-updated : Wed Nov 11 10:46:53 2015
Repo-pkgs    : 22
Repo-size    : 30 M
Repo-mirrors : http://mirrorlist.nethserver.org/6.7/nethserver?release=6&repo=updates&arch=x86_64
Repo-baseurl : http://mirror1.nethserver.org/nethserver/6.7/updates/x86_64/ (7
             : more)
Repo-expire  : 21,600 second(s) (last: Thu Nov 12 09:31:35 2015)

repolist: 7,695

Here Error YumRepo Error: we found a problem with ipv6.
Could you try to disable ipv6?

sysctl -w net.ipv6.conf.default.disable_ipv6=1
sysctl -w net.ipv6.conf.all.disable_ipv6=1

I ran those two commands and rebooted. Still seeing the same errors when running any yum commands.

I ran ifconfig and ipv6 addresses are still listed. Is that normal?

Please, don’t reboot after running those commands.

LOL! Oops! OK. ifconfig looks as expected without rebooting. Still seeing the same errors though.

In the meantime I did check again that ipv6 is working as expected on mirrorlist.nethserver.org.
Could you please run the following curl command?

curl -v -L 'http://mirrorlist.nethserver.org/6.7/nethserver?release=6&repo=updates&arch=x86_64'

Here’s my output

* About to connect() to mirrorlist.nethserver.org port 80 (#0)
*   Trying 2a00:1a48:7805:111:c9b1:34ca:ff08:516... connected
* Connected to mirrorlist.nethserver.org (2a00:1a48:7805:111:c9b1:34ca:ff08:516) port 80 (#0)
> GET /6.7/nethserver?release=6&repo=updates&arch=x86_64 HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: mirrorlist.nethserver.org
> Accept: */*
> 
< HTTP/1.1 200 OK
< Server: nginx/1.2.4
< Date: Thu, 12 Nov 2015 15:51:12 GMT
< Content-Type: text/plain; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: PHP/5.3.19
< 
http://mirror.nethserver.org/nethserver/6.7/updates/x86_64/
http://mirror1.nethserver.org/nethserver/6.7/updates/x86_64/
http://mirror2.nethserver.org/nethserver/6.7/updates/x86_64/
http://mirror.nethesis.it/nethserver/6.7/updates/x86_64/
http://nethserver.de-labrusse.fr/6.7/updates/x86_64/
http://nethserver.antani.co/nethserver/6.7/updates/x86_64/
http://mirror.framassa.org/nethserver/6.7/updates/x86_64/
http://mirror.imao-fr.com/nethserver/6.7/updates/x86_64/
* Connection #0 to host mirrorlist.nethserver.org left intact
* Closing connection #0

Looking again at repolist output, you may have problems reaching centos mirror, not nethserver mirrors.

curl -v -L 'http://mirrorlist.nethserver.org/6.7/nethserver?release=6&repo=updates&arch=x86_64'
* About to connect() to mirrorlist.nethserver.org port 80 (#0)
*   Trying 95.138.187.145... connected
* Connected to mirrorlist.nethserver.org (95.138.187.145) port 80 (#0)
> GET /6.7/nethserver?release=6&repo=updates&arch=x86_64 HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: mirrorlist.nethserver.org
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx/1.2.4
< Date: Thu, 12 Nov 2015 15:55:09 GMT
< Content-Type: text/plain; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: PHP/5.3.19
<
http://mirror.nethserver.org/nethserver/6.7/updates/x86_64/
http://mirror1.nethserver.org/nethserver/6.7/updates/x86_64/
http://mirror2.nethserver.org/nethserver/6.7/updates/x86_64/
http://mirror.nethesis.it/nethserver/6.7/updates/x86_64/
http://nethserver.de-labrusse.fr/6.7/updates/x86_64/
http://nethserver.antani.co/nethserver/6.7/updates/x86_64/
http://mirror.framassa.org/nethserver/6.7/updates/x86_64/
http://mirror.imao-fr.com/nethserver/6.7/updates/x86_64/
* Connection #0 to host mirrorlist.nethserver.org left intact
* Closing connection #0

I agree… but I can ping mirror.centos.org just fine from the server.

I hard coded the distro version, release and arch in /etc/yum.repos.d/NethServer.repo for the two repos that are having problems and I’m no longer seeing errors.

New:

[centos-base]
name=CentOS-$releasever Base
mirrorlist=http://mirrorlist.nethserver.org/6.7/centos?release=6&repo=os&arch=x86_64
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=1
enablegroups=0

[centos-updates]
name=CentOS-$releasever Updates
mirrorlist=http://mirrorlist.nethserver.org/6.7/centos?release=6&repo=updates&arch=x86_64
baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=1
enablegroups=0

Old:

[centos-base]
name=CentOS-$releasever Base
mirrorlist=http://mirrorlist.nethserver.org/$distroversion/centos?release=$releasever&repo=os&arch=$basearch
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=1
enablegroups=0

[centos-updates]
name=CentOS-$releasever Updates
mirrorlist=http://mirrorlist.nethserver.org/$distroversion/centos?release=$releasever&repo=updates&arch=$basearch
baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=1
enablegroups=0

So why would it not pull these values correctly just for these two repositories?

I reproduced the problem. It seems that mirrorlist.centos.org has problems with ipv6.
See using ipv6:

# curl -L 'http://mirrorlist.centos.org/?release=6.7&arch=x86_64&repo=updates'
Invalid release

Forcing ipv4:

# curl -4 -L 'http://mirrorlist.centos.org/?release=6.7&arch=x86_64&repo=updates'
http://mirror.cov.ukservers.com/centos/6.7/updates/x86_64/
http://mirror.ukhost4u.com/centos/6.7/updates/x86_64/