Page 1 of 1

CentOS 7.5: Could not retrieve mirrorlist error was 14

Posted: Mon Nov 05, 2018 6:04 pm
by alexmzk
Hey there,

I am on CentOS 7.5 + Plesk. After running the ASL Installer from the Plesk extension, I noticed that the kernel is not installed.

After a few hours of try and error (read googling). I couldn't find out what's wrong.

Eyerytime I run:

Code: Select all

yum --disableexcludes=all --enablerepo=tortix-kernel upgrade kernel-asl
I get:

Code: Select all

Geladene Plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                                                                                              |  29 kB  00:00:00
Could not retrieve mirrorlist file:///etc/asl/tortix-kernel-mirrorlist error was
14: curl#37 - "Couldn't open file /etc/asl/tortix-kernel-mirrorlist"


 One of the configured repositories failed (Unbekannt),
 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: tortix-kernel
Your help is much appreciated. :D

Re: CentOS 7.5: Could not retrieve mirrorlist error was 14

Posted: Wed Nov 07, 2018 4:28 pm
by mikeshinn
What happens when you run:

yum upgrade kernel-asl

Re: CentOS 7.5: Could not retrieve mirrorlist error was 14

Posted: Thu Nov 08, 2018 5:12 pm
by alexmzk
Hey Michael,

I get the following:

Code: Select all

# yum upgrade kernel-asl
Geladene Plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * asl-4.0: www4.atomicorp.com
 * base: mirror.checkdomain.de
 * epel: mirror.23media.de
 * extras: mirror.fra10.de.leaseweb.net
 * tortix: www4.atomicorp.com
 * updates: mirror.checkdomain.de
Kein Übereinstimmung für Argument: kernel-asl
Kein Paket kernel-asl verfügbar.
No packages marked for update

Re: CentOS 7.5: Could not retrieve mirrorlist error was 14

Posted: Thu Nov 08, 2018 7:08 pm
by mikeshinn
Is yum configured to exclude kernel* rpms? And is this system a VPS or a bare iron server?

Re: CentOS 7.5: Could not retrieve mirrorlist error was 14

Posted: Thu Nov 08, 2018 7:26 pm
by alexmzk
It's a dedicated root server, no VPS.

I think it's not excluded.

Here my yum.conf :

Code: Select all

[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

Re: CentOS 7.5: Could not retrieve mirrorlist error was 14

Posted: Wed Nov 14, 2018 4:44 pm
by mikeshinn
Could you send an email to support AT atomicorp.com. Well get someone on your system to see whats blocking the installation.