프로그램을 설치하려고하는데 어떤 프로그램을 설치해도 다음과 같은 오류가 발생합니다. 예를 들어 skype 'skype-debian_4.2.0.11-1_i386.deb'를 다운로드하고 다음 명령을 실행했습니다.
$ cd downloads
그리고:
$ sudo apt-get install skype-debian_4.2.0.11-1_i386
그리고 다음과 같은 오류가 발생합니다.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package skype-debian_4.2.0.11-1_i386
E: Couldn't find any package by regex 'skype-debian_4.2.0.11-1_i386'
저는 CrunchBang을 실행하고 있습니다. 에서 sources.list
파일은 말한다 :
## CRUNCHBANG
## Compatible with Debian Wheezy, but use at your own risk.
deb http://packages.crunchbang.org/waldorf waldorf main
#deb-src http://packages.crunchbang.org/waldorf waldorf main
## DEBIAN
deb http://http.debian.net/debian wheezy main contrib non-free
#deb-src http://http.debian.net/debian wheezy main contrib non-free
## DEBIAN SECURITY
deb http://security.debian.org/ wheezy/updates main
#deb-src http://security.debian.org/ wheezy/updates main
And in the folder there is one file called google-chrome.list and it says in it
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb http://dl.google.com/linux/chrome/deb/ stable main
명령을 실행하려고 할 때 :
$ sudo gdebi skype-debian_4.2.0.11-1_i386.deb
나는 이것을 얻는다 :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
This package is uninstallable
Wrong architecture 'i386'
apt-get
데비안 저장소에서 패키지를 다운로드하고 설치하기위한 것입니다. 로컬 .deb 파일을 설치하기위한 것이 아닙니다. 이를 위해 gdebi
대신 다음을 사용해야 합니다.
sudo gdebi skype-debian_4.2.0.11-1_i386
또는 그래픽 인터페이스의 경우
sudo gdebi-gtk skype-debian_4.2.0.11-1_i386
CrunchBang을 사용하지는 않았지만 거의 확실하게 설치 프로그램을 두 번 클릭하면 설치할 수 있습니다. 에서 자동으로 열립니다 gdebi-gtk
.
또는 직접 설치할 수 dpkg
있지만 권장되지는 않습니다 (종속성 문제, 버전 문제 등이 발생할 가능성이 더 큼).
sudo dpkg -i skype-debian_4.2.0.11-1_i386
이것이 귀하가 한 일에 대한 배경 지식을 제공하는 것이 중요한 이유입니다. 제 생각에 일어난 일입니다. skype를 설치하기 위해 튜토리얼을 따랐습니다. 32 비트 응용 프로그램이고 64 비트 시스템을 실행중인 것 같으므로 일반적인 절차는 다중 아키텍처 를 활성화하는 것 입니다. 이것은 명령으로 수행됩니다 sudo dpkg --add-architecture
. 어떤 이유에서인지 당신은
sudo dpkg --add-architecture asdf
Thiw는 존재하지 않는 apt-get
저장소의 디렉토리에서 패키지를 찾습니다 binary-asdf
.
이러한 오류를 수정하려면 다음 명령을 실행하십시오.
sudo dpkg --remove-architecture asdf
그런 다음 실행
sudo apt-get update
오류없이 완료되어야합니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다