yum error의 굴레

reenact_l·2023년 5월 31일
0

server

목록 보기
6/11
cammand not found, but can be installed with :
apt install yum

해당 에러가 떠서 오케이 yum이 없구나.. 하고 yum을 깔았음

그러나

unable to acquire the dpkg frontend lck

을 시작으로 온갖 에러가 발생하고 error의 굴레를 벗어나지 못하고있었음

의존성 에러,,
dpkg 에러,,
설치하라는거 다 설치하고
파일에서 url 입력하라고 하는것

sudo vi sources.list

deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse

이것도 다 해봤느데 도저히 안되는 것임

그러다가 방법을 알아냄

다들 나처럼 고생하지 않길 바라는 마음으로 서술하는데

리눅스 최신버전은 yum을 지원하지 않음!
yum4를 설치하시면 됩니다

sudo apt install nextgen-yum4

이후 터미널 창에서 yum이 필요한 경우에는 alias를 사용하면됨

$ echo "alias yum='dnf'" >> ~/.bashrc
$ source ~/.bashrc하세요
profile
icantdoanything

0개의 댓글