
Estou tentando instalar o agente webpagetest usando o script de instalação do Ubuntu aquihttps://github.com/WPO-Foundation/wptagent-install
Em uma nova imagem LTS do Azure Ubuntu 18.04, funciona sem problemas.
No entanto, preciso instalá-lo em uma nova imagem VPSCity Ubuntu 18.04 LTS (localizada na Nova Zelândia). Ao executar o instalador, ele falha com:
$ sudo apt-get install ttf-mscorefonts-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ttf-mscorefonts-installer 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 'ttf-mscorefonts-installer' has no installation candidate
Eu fiz o seguinte antes disso:
sudo apt-get update
sudo apt-get upgrade -y
gato /etc/apt/sources.list
dá
deb http://archive.ubuntu.com/ubuntu bionic main restricted universe
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu bionic partner
Tenho visto alguns posts dizendo que preciso habilitar o multiverso. Como faço isso por meio da sessão de linha de comando SSH?
É normal que dois servidores Ubuntu 18.04 LTS diferentes sejam tão diferentes?
Eu também tentei em 20.04, mesmo problema.
Responder1
Se você procurar o pacote empacotes.ubuntu.comvocê notará que o pacote está nomultiverso repositório, que está faltando em seu sources.list.
Você só precisa adicioná-lo à linha em seu arquivo sources.list:
deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
Responder2
Eu encontrei uma solução.
Peguei o sources.list funcional de uma VM do Azure e adicionei-o ao final do existente, então meu sources.list atualizado é o seguinte:
deb http://archive.ubuntu.com/ubuntu bionic main restricted universe
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu bionic partner
deb http://azure.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://azure.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://azure.archive.ubuntu.com/ubuntu/ bionic universe
deb http://azure.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://azure.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://azure.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://azure.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://azure.archive.ubuntu.com/ubuntu/ bionic-security main restricted
deb http://azure.archive.ubuntu.com/ubuntu/ bionic-security universe
deb http://azure.archive.ubuntu.com/ubuntu/ bionic-security multiverse