10/10/19 Cannot find a valid baseurl for repo: ce-base/7/x86_64

7.6.1810 (final) with Nextcloud app. Running for over well over a year.

Ran update from Software Center - Failed w/Clear Yum Cache message -
Cleared, no difference.

Running any Yum commands at console - .

[root@files ~]# yum update Loaded plugins: changelog, fastestmirror, nethserver_events Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.nethserver.org/?release=7&repo=ce-base&arch=x86_64&nsrelease=yum clean all error was 14: HTTP Error 400 - Bad Request

One of the configured repositories failed (Unknown),
and yum doesn’t have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work “fix” this:

 1. Contact the upstream for the repository and get them to fix the problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Run the command with the repository temporarily disabled
        yum --disablerepo=<repoid> ...

 4. Disable the repository permanently, so yum won't use it by default. Yum
    will then just ignore the repository until you permanently enable it
    again or use --enablerepo for temporary usage:

        yum-config-manager --disable <repoid>
    or
        subscription-manager repos --disable=<repoid>

 5. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

        yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: ce-base/7/x86_64

Not a dns or networking problem - can access mirrorlist from server. running

[root@files yum.repos.d]# curl 'http://mirrorlist.nethserver.org/?release=7&repo=updates&arch=x86_64&nsrelease=' http://mirror.nethserver.org/nethserver/7.7.1908/updates/x86_64/ http://mirror1.nethserver.org/nethserver/7.7.1908/updates/x86_64/ https://mirror.nethesis.it/nethserver/7.7.1908/updates/x86_64/ http://nethserver.de-labrusse.fr/7.7.1908/updates/x86_64/ http://mirror.framassa.org/nethserver/7.7.1908/updates/x86_64/ http://mirror.nordest.systems/nethserver/7.7.1908/updates/x86_64/ https://mirror.alpix.eu/nethserver/7.7.1908/updates/x86_64/ http://mrmarkuz.goip.de/mirror/nethserver/7.7.1908/updates/x86_64/ https://mirror.pcxlan.es/nethserver/7.7.1908/updates/x86_64/ https://markusneuberger.at/mirror/nethserver/7.7.1908/updates/x86_64/ http://buck.goip.de/nethserver/7.7.1908/updates/x86_64/ http://mrmarkuz.dynu.net/nethserver/7.7.1908/updates/x86_64/ http://server.liftingtrade.hu/nethserver/7.7.1908/updates/x86_64/ http://ketrax.eu/nethserver/7.7.1908/updates/x86_64/ http://ns-mirror1.ibi.net.br/7.7.1908/updates/x86_64/ http://ns-mirror2.ibi.net.br/7.7.1908/updates/x86_64/ http://ns-mirror3.ibi.net.br/7.7.1908/updates/x86_64/ http://nethserver.interlin.nl/nethserver/7.7.1908/updates/x86_64/ Appears I'm checking 7.7.1908 while I'm still at 7.6.1810

Running

[root@files yum.repos.d]# yum repolist
Loaded plugins: changelog, fastestmirror, nethserver_events
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.nethserver.org/?release=7&repo=ce-base&arch=x86_64&nsrelease=yum clean all error was
14: HTTP Error 400 - Bad Request
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 16 kB 00:00
epel/x86_64 | 5.4 kB 00:00
epel/x86_64/group_gz | 88 kB 00:00
epel/x86_64/updateinfo | 1.0 MB 00:00
epel/x86_64/primary_db | 6.9 MB 00:00
repo id repo name status
ce-base/7/x86_64 CE-Base-yum clean all 0
ce-extras/7/x86_64 CE-Extras-yum clean all 0
ce-sclo-rh/7/x86_64 CE-SCLo-rh-yum clean all 0
ce-sclo-sclo/7/x86_64 CE-SCLo-sclo-yum clean all 0
ce-updates/7/x86_64 CE-Updates-yum clean all 0
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_6 0
nethforge/7/x86_64 NethForge 7 0
nethserver-base/7/x86_64 NethServer-yum clean all - Base 0
nethserver-updates/7/x86_64 NethServer-yum clean all - Updates 0
stephdl/7 Stephdl (Stephane de Labrusse) repository for 0
repolist: 0

Any suggestions?
Thank you

The nsrelease value is missing: the response falls back to latest stable.

Run

 signal-event software-repos-save

And see if it fixes the problem

1 Like

Excellent! Fixed the problem. Thank you Davide

1 Like

A post was split to a new topic: Repodata: [Error 14] HTTP Error 404 - Not Found