왜 데비안에 Midnight Commander를 설치할 수 없나요?

왜 데비안에 Midnight Commander를 설치할 수 없나요?

Midnight Commander가 내 Debian Linux에 설치되어 있지 않아서 다운로드해 보았습니다.

apt-get install mc터미널에서 실행했는데 the pack is not found. 이 작업을 루트로 수행했는데 인터넷 연결이 완벽했습니다. 왜 MC를 다운로드하고 설치할 수 없는지 모르겠습니다. 아는 사람 있나요?

나의 /etc/apt/sources.list:

#

# deb cdrom: [Debian GNU/Linux 7.6.0 _Wheezy_ - Offical amd64 CD Binary-1 20140712-14:11]/ wheezy main

deb cdrom: [Debian GNU/Linux 7.6.0 _Wheezy_ - Offical amd64 CD Binary-1 20140712-14:11]/wheezy main

deb http://security.debian.org/ wheezy/update main
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
# A networl mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ wheezy-updates main
# deb-src http://ftp.debian.org/debian/ wheezy-updates main

답변1

기본 데비안 리포지토리가 누락되었으며 소스는 보안 리포지토리만 가리킵니다. 에서 마지막 줄의 주석 처리를 제거합니다 /etc/apt/sources/list. 이것을 변경하십시오:

# deb http://ftp.debian.org/debian/ wheezy-updates main
# deb-src http://ftp.debian.org/debian/ wheezy-updates main

이에:

 deb http://ftp.debian.org/debian/ wheezy main
 deb-src http://ftp.debian.org/debian/ wheezy main

그러나 이를 통해 일반 저장소에 액세스할 수 있으며 로컬 미러 중 하나를 선택하면 훨씬 더 나은 성능을 얻을 수 있습니다. 그러니 다음 중 가까운 곳을 선택하세요.이 목록또는 사용netselect-apt:

sudo apt-get install netselect-apt
sudo netselect-apt -n wheezy
sudo cp ./sources.list /etc/apt/sources.list

무엇을 선택하든 다음을 실행하여 소스를 새로 고치는 것을 잊지 마세요.

sudo apt-get update

답변2

Debian 리디렉터를 활용하려면(http://http.debian.net/)...

리디렉터는 사용자와 미러의 지역 및 네트워크 위치, 요청된 파일의 아키텍처, IP 주소 계열, 미러의 가용성 및 최신성 및 기타 몇 가지 사항을 사용합니다.

리디렉터와 함께 main, contrib 및 non-free를 사용하면 /etc/apt/sources.list 다음과 같습니다.

deb http://http.debian.net/debian/ wheezy main contrib non-free
deb-src http://http.debian.net/debian/ wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib

# wheezy-updates, previously known as 'volatile'
deb http://http.debian.net/debian/ wheezy-updates main contrib
deb-src http://http.debian.net/debian/ wheezy-updates main contrib

업데이트: sudo apt-get update MC 설치:sudo apt-get install mc

관련 정보