
우리는 certbot을 설치하고 SSL용 인증서를 암호화하는 오래된 Ubuntu 14 서버를 가지고 있었습니다. 그런 다음 서버를 우분투 20으로 업그레이드했습니다.
그 이후로 또는 renew 명령을 사용하여 새 인증서를 갱신하거나 생성하려고 할 때마다 sudo certbot --apache
다음 오류가 발생합니다.
Bootstrapping dependencies for Debian-based OSes... (you can skip this with --no-bootstrap)
Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 https://download.docker.com/linux/ubuntu focal InRelease
Hit:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease
Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Fetched 114 kB in 2s (72.8 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python-is-python2' instead of 'python'
Note, selecting 'python-dev-is-python2' instead of 'python-dev'
Package python-virtualenv 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 'python-virtualenv' has no installation candidate
나는 이 최고 Google 히트작을 포함하여 끝없는 포럼과 트릭을 시도했습니다 ->https://stackoverflow.com/questions/62314556/how-to-install-virtualenv-on-ubuntu-20-04-gcp-instance, 하지만 아직 운이 없습니다 :( 어떤 아이디어가 있나요?