ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • nothing provides libcrypto.so.10 와 libssl.so.10 이를 해결한 dnf
    BACKEND/AWS 2023. 5. 2. 16:47

    뭐가 원인이었나?

    AmazonLinux-2023 인스턴스에서 레포지토리 버전이 맞지 않아서 발생했던 원인이었다.

    dnf를 통해 설치를 진행하면 성공할 듯싶다.

    오류 내용...


    $ sudo yum install mariadb-server
    Last metadata expiration check: 0:02:34 ago on Tue May  2 06:58:19 2023.
    Error: 
     Problem: conflicting requests
      - nothing provides libcrypto.so.10()(64bit) needed by MariaDB-server-10.3.36-1.el7.centos.x86_64
      - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by MariaDB-server-10.3.36-1.el7.centos.x86_64
      - nothing provides libssl.so.10()(64bit) needed by MariaDB-server-10.3.36-1.el7.centos.x86_64
      - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by MariaDB-server-10.3.36-1.el7.centos.x86_64
      - nothing provides libcrypto.so.10(OPENSSL_1.0.2)(64bit) needed by MariaDB-server-10.3.36-1.el7.centos.x86_64
      - nothing provides libcrypto.so.10()(64bit) needed by MariaDB-server-10.3.37-1.el7.centos.x86_64
      - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by MariaDB-server-10.3.37-1.el7.centos.x86_64
      - nothing provides libssl.so.10()(64bit) needed by MariaDB-server-10.3.37-1.el7.centos.x86_64
      - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by MariaDB-server-10.3.37-1.el7.centos.x86_64
      - nothing provides libcrypto.so.10(OPENSSL_1.0.2)(64bit) needed by MariaDB-server-10.3.37-1.el7.centos.x86_64
      - nothing provides libcrypto.so.10()(64bit) needed by MariaDB-server-10.3.38-1.el7.centos.x86_64
      - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by MariaDB-server-10.3.38-1.el7.centos.x86_64
      - nothing provides libssl.so.10()(64bit) needed by MariaDB-server-10.3.38-1.el7.centos.x86_64
      - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by MariaDB-server-10.3.38-1.el7.centos.x86_64
      - nothing provides libcrypto.so.10(OPENSSL_1.0.2)(64bit) needed by MariaDB-server-10.3.38-1.el7.centos.x86_64
    (try to add '--skip-broken' to skip uninstallable packages)

    왜 자꾸 이런 시련을 주냐고.....

    레포를 만들고 뭘 하고 뭘 해도 안된다...

    그러다 찾은 공식문서

    https://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2023.html

    인스턴스를 amazon-linux-2023으로 한 것이 기억나서 천천히 읽어보는데

    sudo dnf install mariadb105-server

    dnf는 뭐지? yum 아니었나

    바로 dnf로 변경해서 설치해 본 결과

    $ sudo dnf install mariadb105-server
    Last metadata expiration check: 0:39:24 ago on Tue May  2 06:58:19 2023.
    Dependencies resolved.
    =============================================================================================================================================
     Package                                        Architecture       Version                                     Repository               Size
    =============================================================================================================================================
    Installing:
     mariadb105-server                              x86_64             3:10.5.18-1.amzn2023.0.1                    amazonlinux              10 M
    Installing dependencies:
     mariadb-connector-c                            x86_64             3.1.13-1.amzn2023.0.3                       amazonlinux             196 k
     mariadb-connector-c-config                     noarch             3.1.13-1.amzn2023.0.3                       amazonlinux             9.2 k
     mariadb105                                     x86_64             3:10.5.18-1.amzn2023.0.1                    amazonlinux             1.6 M
     mariadb105-common                              x86_64             3:10.5.18-1.amzn2023.0.1                    amazonlinux              31 k
     mariadb105-errmsg                              x86_64             3:10.5.18-1.amzn2023.0.1                    amazonlinux             215 k
     mysql-selinux                                  noarch             1.0.4-2.amzn2023.0.3                        amazonlinux              36 k
     perl-B                                         x86_64             1.80-477.amzn2023.0.3                       amazonlinux             180 k
     perl-DBD-MariaDB                               x86_64             1.22-1.amzn2023.0.4                         amazonlinux             153 k
     perl-DBI                                       x86_64             1.643-7.amzn2023.0.3                        amazonlinux             700 k
     perl-Data-Dumper                               x86_64             2.174-460.amzn2023.0.2                      amazonlinux              55 k
     perl-File-Copy                                 noarch             2.34-477.amzn2023.0.3                       amazonlinux              21 k
     perl-FileHandle                                noarch             2.03-477.amzn2023.0.3                       amazonlinux              17 k
     perl-Math-BigInt                               noarch             1:1.9998.18-458.amzn2023.0.2                amazonlinux             189 k
     perl-Math-Complex                              noarch             1.59-477.amzn2023.0.3                       amazonlinux              48 k
     perl-Sys-Hostname                              x86_64             1.23-477.amzn2023.0.3                       amazonlinux              18 k
     perl-base                                      noarch             2.27-477.amzn2023.0.3                       amazonlinux              17 k
    Installing weak dependencies:
     mariadb105-backup                              x86_64             3:10.5.18-1.amzn2023.0.1                    amazonlinux             6.2 M
     mariadb105-cracklib-password-check             x86_64             3:10.5.18-1.amzn2023.0.1                    amazonlinux              16 k
     mariadb105-gssapi-server                       x86_64             3:10.5.18-1.amzn2023.0.1                    amazonlinux              18 k
     mariadb105-server-utils                        x86_64             3:10.5.18-1.amzn2023.0.1                    amazonlinux             216 k
    
    Transaction Summary
    =============================================================================================================================================
    Install  21 Packages
    
    Total download size: 20 M
    Installed size: 117 M
    Is this ok [y/N]:

    잘 된다.

    설치 한 뒤에

    $ sudo systemctl start mariadb

    Wow...

    이렇게 성공!

    댓글

Designed by black7375.