저는 새로운 VPS에서 가장 먼저 webmin을 설정하고 싶습니다. 저는 Ubuntu에 익숙합니다(제 주요 작업 기계입니다).
이것이 VPS에 있는 내용입니다.
Description: Debian GNU/Linux 8.5 (jessie)
Release: 8.5
Codename: jessie
그래서 지침에 따라 virtualmin을 다운로드하고 설치했습니다.
wget http://software.virtualmin.com/gpl/scripts/install.sh
sudo /bin/sh install.sh
시작은 좋았으나 실패로 끝났습니다.
[정보] 설치 시작 로그/root/virtualmin-install.log
▣□□ Phase 1 of 3: Setup
Installing extra dependencies for Debian 8 [ ✔ ]
Downloading apt.gpg [ ✔ ]
Adding GPG key for PHP7 packages [ ✔ ]
Downloading RPM-GPG-KEY-virtualmin-6 [ ✔ ]
Downloading RPM-GPG-KEY-webmin [ ✔ ]
Installing Virtualmin 6 key [ ✔ ]
Installing Webmin key [ ✔ ]
Updating apt metadata [ ✔ ]
Downloading repository metadata [ ✔ ]
Disabling cdrom: repositories [ ✔ ]
Cleaning out old metadata [ ✔ ]
▣▣□ Phase 2 of 3: Installation
Installing Webmin [ERROR] Failed with error: 100
[ ✘ ]
[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
webmin : Depends: libauthen-pam-perl but it is not installable
Depends: libio-pty-perl but it is not installable
Depends: apt-show-versions but it is not installable
E: Unable to correct problems, you have held broken packages.
#
source.list는 다음과 같습니다.
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
# jessie-updates, previously known as 'volatile'
# A network 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/ jessie-updates main contrib
#deb-src http://ftp.debian.org/debian/ jessie-updates main contrib
deb http://software.virtualmin.com/vm/6/gpl/apt virtualmin-jessie main
deb http://software.virtualmin.com/vm/6/gpl/apt virtualmin-universal main
그런 다음 누락된 패키지를 설치하려고 시도했습니다. 누락된 각 패키지에 대해 동일한 응답을 받았습니다.
sudo apt install libauthen-pam-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libauthen-pam-perl 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 'libauthen-pam-perl' has no installation candidate
apt-show-versions
그래서 (누락된 패키지 중 하나)를 포함하는 저장소를 추가해 보았습니다 .
sudo add-apt-저장소...
하지만 (add-apt-repository) 명령이 존재하지 않습니다. 그래서 패키지를 로드해 보았지만 software-properties-common
역시 찾을 수 없었습니다.
이 광기를 없애고 뭔가를 로드하려면 어떻게 해야 합니까?
이것이 내가 얻는 것입니다 sudo apt update
:
Hit http://software.virtualmin.com virtualmin-jessie InRelease
Hit http://software.virtualmin.com virtualmin-universal InRelease
Hit http://packages.sury.org jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Hit http://software.virtualmin.com virtualmin-jessie/main amd64 Packages
Hit http://packages.sury.org jessie/main amd64 Packages
Get:1 http://packages.sury.org jessie/main Translation-en_GB [169 B]
Get:2 http://packages.sury.org jessie/main Translation-en [169 B]
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Get:3 http://packages.sury.org jessie/main Translation-en_GB [169 B]
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Get:4 http://packages.sury.org jessie/main Translation-en [169 B]
Hit http://software.virtualmin.com virtualmin-universal/main amd64 Packages
Get:5 http://packages.sury.org jessie/main Translation-en_GB [169 B]
Get:6 http://packages.sury.org jessie/main Translation-en [169 B]
Get:7 http://packages.sury.org jessie/main Translation-en_GB [169 B]
Get:8 http://packages.sury.org jessie/main Translation-en [169 B]
Get:9 http://packages.sury.org jessie/main Translation-en_GB [169 B]
Ign http://packages.sury.org jessie/main Translation-en_GB
Get:10 http://packages.sury.org jessie/main Translation-en [169 B]
Ign http://packages.sury.org jessie/main Translation-en
Ign http://software.virtualmin.com virtualmin-jessie/main Translation-en_GB
Ign http://software.virtualmin.com virtualmin-jessie/main Translation-en
Ign http://software.virtualmin.com virtualmin-universal/main Translation-en_GB
Ign http://software.virtualmin.com virtualmin-universal/main Translation-en
답변1
다음 줄을 다음 줄에 추가해야 합니다 /etc/apt/sources.list
.
deb http://ftp.debian.org/debian jessie main contrib
그런 다음 sudo apt update
스크립트를 실행하십시오.
콤보libauthen-pam-perl
main
(및 누락된 종속성)은 설치 스크립트가 실행될 때 저장소에서 자동으로 설치됩니다.
답변2
Ubuntu 20.04에 Webmin을 설치할 수 없습니다.
설치 대상 누락에 대한 불만 해결
E: Package 'libauthen-pam-perl' has no installation candidate
달리기
sudo add-apt-repository universe
그 다음에
sudo apt install webmin