NS7 repo issue?

Centos 7 minimal

yum install -y http://mirror.nethserver.org/nethserver/nethserver-release-7.rpm
nethserver-install

Starting NethServer installation process. It will take a while...

Installing base system...

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile


 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: nethserver-base/7/x86_64
Could not retrieve mirrorlist http://mirrorlist.nethserver.org/?release=7&repo=base&arch=x86_64&nsrelease=$nsrelease error was
14: HTTP Error 404 - Not Found
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile


 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: nethserver-base/7/x86_64
Could not retrieve mirrorlist http://mirrorlist.nethserver.org/?release=7&repo=base&arch=x86_64&nsrelease=$nsrelease error was
14: HTTP Error 404 - Not Found

Configuring system, please wait...

Failed to execute operation: No such file or directory
/usr/sbin/nethserver-install: line 45: /sbin/e-smith/signal-event: No such file or directory

You can access the Web interface at:
/usr/sbin/nethserver-install: line 51: /sbin/e-smith/db: No such file or directory
/usr/sbin/nethserver-install: line 52: /sbin/e-smith/db: No such file or directory

    https://.:980/usr/sbin/nethserver-install: line 48: /sbin/e-smith/db: No such file or directory

    Login: root
    Password: <your_root_password>


Installation log can be found here: /var/log/nethserver-install.log
1 Like

Thank you for reporting, I think this is due to latest updates to mirrorlist configuration.

We will try to fix ASAP

/cc @davidep

2 Likes

Hi @LayLow I applied a fix to the server-side script. Could you try again nethserver-install?

See also

1 Like

Appears to be fixed, install-nethserver running now.

Thanks!

edit: and up and running!

1 Like