반응형 에러/linux11 failure: repodata/repomd.xml from pgdg-common: [Errno 256] No more mirrors to try. 해결 방법 찾기 OS 정보 : CentOS 7.9 Version발생 에러 : yum 으로 설치 시 발생하였음...에러명 : Errno 256 No more mirrors to try ChatGPT 에 물어봤을 때 나오는 결과"[Errno 256] No more mirrors to try"는 패키지 관리자가 설치할 수 있는 미러 서버를 모두 시도했지만, 원하는 패키지를 다운로드할 수 없을 때 발생하는 오류입니다. 이 오류는 보통 미러 서버의 문제, 패키지의 경로가 잘못되었거나, 패키지가 서버에서 제거되었을 때 발생합니다. 해결책으로는 레포지토리 설정을 확인하고, 다른 미러 사이트를 사용하거나, 사전 유효성을 확인하는 것이 있습니다. 중요한 정보는 다시 확인하시기 바랍니다. 보통은 yum 캐시가 손상되는데, 필자는 그래도 .. 2024. 12. 4. error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory 해결해보기 OS Version : Rocky Linux release 9.3 (Blue Onyx) 해당 Error 원인 : libnsl.so.1 이 없다. dnf install -y libnsl 조치 후 정상적이다. 2024. 2. 22. gcc: multiple definition of bb.c:(.text+0x0): multiple definition of `test' /tmp/ccoyicve.o:aa.c:(.text+0x0): first defined here 첫번째 줄 해석 그대로 중복된 정의라는 얘기이다. 아래와 같이 해당 함수가 중복으로 선언이 되었다는 것을 알 수 있다. 두번째 줄의 경우 첫번째로 선언되어 있는 곳을 알려준다. 따라서 중복되는 함수를 유의 깊게 보면 된다. 위의 경우 test 라는 함수가 중복이 되었고, bb.c 파일과 aa.c 파일에 중복 선언이 되어있는 test 함수를 체크한다. 2023. 12. 4. libc.so.6: cannot open shared object file: No such file or directory 아예 ls, mv, cp 모든 기본명령어가 안먹혔다.... google에 검색하여 구세주같은 글을 보았다. https://sh-safer.tistory.com/249 libc.so.6 심볼릭 링크 삭제시 복구 방법 원인 및 현상 무슨 정신으로 unlink libc.so.6 를 진행하여 shared library 심볼릭링크를 끊어 버렸다 shared library를 찾지 못한다는 내용. libc.so.6 cannot open shared object file no such file or directory 터미널까지 나 sh-safer.tistory.com 위 블로그에 있는 마지막 명령어가 먹어서 다행히도 잘 해결했다. ldconfig -l -v /lib64/libc-2.24.so 2023. 11. 16. These critical programs are missing or too old: bison glibc 를 설치하기 위하여 빌드를 하는 과정에서 생긴 오류이다. bison 이 없거나 지나치게 오래되었다라는 건데... bison을 설치하여보자!! 참고 : https://stackoverflow.com/questions/53735137/glibc-configure-error-yacc-bison-missing glibc configure error: yacc/bison missing I'm following the instructions from LFS but with a twist: I'm only following parts of Section 5 - Constructing a Temporary System to the extent that I can build my own GCC, reason .. 2023. 11. 16. xfs_growfs 에러 xfs_growfs: /dev/mapper/centos-home is not a mounted XFS filesystem esxi 에서 서버의 디스크를 증설하였고, 그 마지막 단계에서 xfs_grow 에서 error 가 났다. 디스크 증설 도중에 아래와 같은 에러가 났다. $ xfs_growfs /dev/mapper/centos-home xfs_growfs: /dev/mapper/centos-home is not a mounted XFS filesystem /dev/mapper/centos-home 이 XFS 파일시스템으로 마운트되지 않았다는 얘기였다... cat /etc/fstab 으로 확인해보니 /dev/mapper/centos-root 가 XFS로 되어있었다. 정확한 mount 포인트가 아니였다. 정확한 mount 포인트를 설정해주어야 가능했다. centos-home 의 경우에는 마운트포인트가 '/' 였기 때문에 그 .. 2023. 10. 18. 이전 1 2 다음