Skip to content

Error when building the alfresco container #215

@douglascrp

Description

@douglascrp

I'm facing a problem during the building of the alfresco's container.
It's related with the yum repositories, and the error message is this:

0.208 sed: can't read /etc/yum.repos.d/CentOS-: No such file or directory
0.210 sed: can't read /etc/yum.repos.d/Rocky-: No such file or directory
0.345 0 files removed
192.7 Rocky Linux 9 - BaseOS                          0.0  B/s |   0  B     03:12
192.7 Errors during downloading metadata for repository 'baseos':
192.7   - Curl error (6): Couldn't resolve host name for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-9 [Could not resolve host: mirrors.rockylinux.org]
192.7   - Curl error (6): Couldn't resolve host name for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-9&countme=3 [Could not resolve host: mirrors.rockylinux.org]
192.7 Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-9 [Could not resolve host: mirrors.rockylinux.org]
------
failed to solve: process "/bin/bash -euo pipefail -c ls -la /etc/yum.repos.d/ &&     ((sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* &&     sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* 2>/dev/null)   

The problem happens because there is no file with the name starting with Rocky. The right prefix is rocky.

I'm creating a simple PR fixing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions