CentOS 7.5: Could not retrieve mirrorlist error was 14

Customer support forums for Atomic Protector (formerly Atomic Secured Linux). There is no such thing as a bad question here as long as it pertains to using Atomic Protector. Newbies feel free to get help getting started or asking questions that may be obvious. Regular users are asked to be gentle. :-)
alexmzk
New Forum User
New Forum User
Posts: 3
Joined: Mon Nov 05, 2018 5:56 pm
Location: Hamburg, Germany

CentOS 7.5: Could not retrieve mirrorlist error was 14

Unread post 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
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4120
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

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

Unread post by mikeshinn »

What happens when you run:

yum upgrade kernel-asl
alexmzk
New Forum User
New Forum User
Posts: 3
Joined: Mon Nov 05, 2018 5:56 pm
Location: Hamburg, Germany

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

Unread post 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
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4120
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

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

Unread post by mikeshinn »

Is yum configured to exclude kernel* rpms? And is this system a VPS or a bare iron server?
alexmzk
New Forum User
New Forum User
Posts: 3
Joined: Mon Nov 05, 2018 5:56 pm
Location: Hamburg, Germany

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

Unread post 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
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4120
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

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

Unread post by mikeshinn »

Could you send an email to support AT atomicorp.com. Well get someone on your system to see whats blocking the installation.
Post Reply