Score:0

Ubuntu 18.04 E: Package 'ttf-mscorefonts-installer' has no installation candidate

pk flag
eos

Im trying to install webpagetest agent using the ubuntu installer script here https://github.com/WPO-Foundation/wptagent-install

On a fresh Azure Ubuntu 18.04 LTS image, it works no problem.

However, I need to install it on a fresh VPSCity Ubuntu 18.04 LTS image (which is located in NZ). When Run the installer on this it fails with:

$ 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

I have done the following prior to this:

sudo apt-get update
sudo apt-get upgrade -y

cat /etc/apt/sources.list

gives

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

I have seen some posts saying I need to enable multiverse. How do I do this via SSH command line session?

Is it normal that two different Ubuntu 18.04 LTS servers are so different?

I also tried it on 20.04, same issue.

Score:1
in flag

If you search for the package on packages.ubuntu.com you'll notice that the package is in the multiverse repository, which is missing in your sources.list.

You just need to add it to the line in your sources.list file:

deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
Score:0
pk flag
eos

I found a solution.

I took the working sources.list from an Azure vm and added it to the end of the existing one, so my updated sources.list is as follows:

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
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.