catchpoint / WebPageTest.agent-install

Automated scripts for installing dedicated wptagent instances
Apache License 2.0
10 stars 25 forks source link

E: Package 'ttf-mscorefonts-installer' has no installation candidate when trying to install on Ubuntu 18.04 LTS #20

Open nutmix opened 1 year ago

nutmix commented 1 year ago

For some reason, when I try ot run this installer on a VPSCITY fresh ubuntu 18.04 LTS or an ubuntu 20.04 LTS image, I get the following error: E: Package 'ttf-mscorefonts-installer' has no installation candidate.

Any ideas how to fix?

If I try manually installing this package, I get:

$ 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

nutmix commented 1 year ago

I found a solution. Looks like the installer uses some "non free" packages. I had to add additional sources to /etc/apt/sources.list to get the installer to work:

standard:

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

added to get installer to work:

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