나는이 문제에 봉착했습니다 :-
# apt-get install software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package software-properties-common
누군가 이 문제를 해결하는 방법을 말해 줄 수 있습니까?
이것은 apt-cache 정책의 결과입니다.
apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
1000 http://downloads.mariadb.com/Tools/debian stretch/main amd64 Packages
release o=MariaDB Enterprise,n=stretch,l=MariaDB,c=main,b=amd64
origin downloads.mariadb.com
1000 http://downloads.mariadb.com/MaxScale/2.3/debian stretch/main amd64 Packages
release o=MariaDB,n=stretch,l=MariaDB Maxscale repository,c=main,b=amd64
origin downloads.mariadb.com
1000 http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/debian stretch/main amd64 Packages
release o=MariaDB,n=stretch,l=MariaDB,c=main,b=amd64
origin downloads.mariadb.com
500 http://mariadb.nethub.com.hk/repo/10.3/debian stretch/main ppc64el Packages
release o=MariaDB,n=stretch,l=MariaDB,c=main,b=ppc64el
origin mariadb.nethub.com.hk
500 http://mariadb.nethub.com.hk/repo/10.3/debian stretch/main i386 Packages
release o=MariaDB,n=stretch,l=MariaDB,c=main,b=i386
origin mariadb.nethub.com.hk
500 http://mariadb.nethub.com.hk/repo/10.3/debian stretch/main amd64 Packages
release o=MariaDB,n=stretch,l=MariaDB,c=main,b=amd64
origin mariadb.nethub.com.hk
500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64
origin security.debian.org
Pinned packages:
답변1
/etc/apt/sources.list
저장소 구성에는 Debian 9 저장소(보안 저장소 제외)가 포함되어 있지 않습니다. 최소한 포함 해야 합니다.
deb http://deb.debian.org/debian stretch main
deb http://deb.debian.org/debian stretch-updates main
deb http://security.debian.org stretch/updates main
답변2
~부터패키지는 software-properties-common
Debian 9에 확실히 존재합니다., 문제는 사용 중인 저장소 이미지에 있어야 합니다.
다른 저장소를 사용해 보세요.