패키지 'ruby1.8-dev'에는 설치 후보가 없습니다.

패키지 'ruby1.8-dev'에는 설치 후보가 없습니다.

이 오류를 어떻게 해결할 수 있나요?

sudo apt-get update
sudo apt-get install ruby1.8-dev
sudo apt-get install mysql-server
sudo apt-get install libgemplugin-ruby

현재 다음 오류가 발생합니다.

sudo apt-get install ruby1.8-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ruby1.8-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'ruby1.8-dev' has no installation candidate

답변1

source.list에는 아무 것도 할 필요가 없습니다.

먼저 apt-cache search ruby1.8 모든 패키지를 나열합니다. 설치하려는 패키지 이름을 기록한 다음 해당 패키지 이름으로 sudo install을 수행하면 됩니다.

관련 정보