Almalinux v.8.7에 MySQL 서버를 설치하려고 합니다.
$ sudo dnf install mysql
PostgreSQL 9.6 for RHEL/CentOS 8 - x86_64 757 B/s | 146 B 00:00
Errors during downloading metadata for repository 'pgdg96':
- Status code: 404 for
https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-8-
x86_64/repodata/repomd.xml (IP: 147.75.85.69)
Error: Failed to download metadata for repo 'pgdg96': Cannot download repomd.xml:
Cannot download repodata/repomd.xml: All mirrors were tried
HREL 버전 확인
$ hostnamectl
Static hostname: 89.162.205.92.host.secureserver.net
Icon name: computer-vm
Chassis: vm
Machine ID: 08e54cb75f274905b94df9482e6eb3ba
Boot ID: cf3ba98fd2d64b57acae1711a4dee431
Virtualization: kvm
Operating System: AlmaLinux 8.7 (Stone Smilodon)
CPE OS Name: cpe:/o:almalinux:almalinux:8::baseos
Kernel: Linux 4.18.0-425.19.2.el8_7.x86_64
Architecture: x86-64
이 전에 나는 시도했다PostgreSQL 설치같은 오류로 실패했습니다.
pgdg96 비활성화
시도하면 sudo dnf --disable pgdg96
응답은 다음과 같습니다.
--enable, --set-enabled and --disable, --set-disabled must be
used with config-manager command.
config-manager
나는 또한 시도했을 때 실패했습니다.
$ sudo yum-config-manager --disablerepo pgdg96
sudo: yum-config-manager: command not found
$ sudo yum-config-manager --disable pgdg96
sudo: yum-config-manager: command not found
$ sudo config-manager --disable pgdg96
sudo: config-manager: command not found
$ sudo config-manager --disablerepo pgdg96
sudo: config-manager: command not found
하지만 sudo dnf config-manager --disable pgdg96
작동합니다!