Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft Fonts aren't installed #2

Closed
gquittet opened this issue Oct 24, 2020 · 36 comments
Closed

Microsoft Fonts aren't installed #2

gquittet opened this issue Oct 24, 2020 · 36 comments

Comments

@gquittet
Copy link

gquittet commented Oct 24, 2020

Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="20.10"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 20.10"
VERSION_ID="20.10"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=groovy
UBUNTU_CODENAME=groovy
LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

Issue/Bug Description:

The ttf-mscorefonts-installer is installed but the fonts are not installed. See the below screenshot:

Capture d’écran du 2020-10-24 12-03-36

Capture d'écran Deepin_zone de sélection _20201024122439

Steps to reproduce (if you know):

Install the latest PopOS release or install the PopOS 20.04 and upgrade with the upgrader tool.

Expected behavior:

I think the best beahvior for newcomers is to have to Microsoft fonts already installed.

Other Notes:

@gquittet
Copy link
Author

How to fix it

  1. Install again the Microsoft fonts
sudo apt install --reinstall ttf-mscorefonts-installer

Capture d’écran du 2020-10-24 12-25-18

Capture d’écran du 2020-10-24 12-25-37

  1. Generate again the cache of the fonts
sudo fc-cache -fv

Capture d'écran Deepin_zone de sélection _20201024122649

@gquittet
Copy link
Author

The fix for PopOS team is really simple.
The fonts aren't installed because the EULA isn't accepted.

So before installing the Microsoft fonts you have to accept the conditions with these command :

echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
sudo apt-get install ttf-mscorefonts-installer

@gquittet
Copy link
Author

Hello guys,

Any update on this issue?

I suggested a fix in the above comment.

@jacobgkau
Copy link
Member

The fix for PopOS team is really simple.
The fonts aren't installed because the EULA isn't accepted.

Would it be legal for a distribution to accept an end-user license agreement on behalf of its end users? If that was possible, I would expect that the package wouldn't be set up to require manually accepting a EULA in the first place.

The ttf-mscorefonts-installer is installed but the fonts are not installed. See the below screenshot:

That package is not installed by default on a 20.04, 20.10, or 21.04 system. The only reason I can see that it might be installed by default is because LibreOffice depends on either ttf-mscorefonts-installer or fonts-liberation2, but the latter package is what's installed by default on the test machines I'm looking at.

@gquittet
Copy link
Author

I can re-install my PopOS to test again the issue.

The screenshots come from a virtual machine that had just been installed six months ago.

@tridenda
Copy link

The fix for PopOS team is really simple. The fonts aren't installed because the EULA isn't accepted.

So before installing the Microsoft fonts you have to accept the conditions with these command :

echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
sudo apt-get install ttf-mscorefonts-installer

Still does not work for me. I just try it and it is still the same.

@gquittet
Copy link
Author

gquittet commented Oct 19, 2021

The fix for PopOS team is really simple. The fonts aren't installed because the EULA isn't accepted.
So before installing the Microsoft fonts you have to accept the conditions with these command :

echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
sudo apt-get install ttf-mscorefonts-installer

Still does not work for me. I just try it and it is still the same.

@tridenda The solution that you've tried is the one for the PopOS team when they generate the operating system.

If you have already installed your system, you'd have to do this solution: #2

@vibhuthasak
Copy link

vibhuthasak commented Nov 6, 2021

I found a working solution for this.
Download the Debian version of tf-mscorefonts-installer from debian official repository
wget http://ftp.us.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.8_all.deb

And installed it with dkpg
sudo dpkg -i ttf-mscorefonts-installer_3.8_all.deb

image

NAME="Pop!_OS"
VERSION="21.04"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.04"
VERSION_ID="21.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
LOGO=distributor-logo-pop-os

@hyslee2
Copy link

hyslee2 commented Nov 6, 2021

I fixed the issue by installing missing dependencies.

sudo apt install libmspack0 cabextract

NAME="Pop!_OS"
VERSION="21.04"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.04"
VERSION_ID="21.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
LOGO=distributor-logo-pop-os

@plzhelpmevoid
Copy link

plzhelpmevoid commented Nov 7, 2021

Hi, I've tried all the above but have had no luck yet.

EDIT: I'm an extremely new and inexperienced Linux user but I managed to get the mscore fonts by installing Synaptic Packages Manager, adding the first US link here https://packages.debian.org/sid/synaptic to the list of repositories, searching, and marking mscorefonts to reinstall. Hope this helps someone else here.

Now on to those pesky vista fonts...

EDIT 2: Quite happily, Vista fonts were easily obtained following these glorious instructions: http://plasmasturm.org/code/vistafonts-installer/. Just make sure you've got cabextract and the Powerpoint .ext file the site directs you to.

So glad I don't have to go back to Windows this week.

@gquittet
Copy link
Author

gquittet commented Nov 8, 2021

@hyslee2 @vibhuthasak @plzhelpmevoid

Just follow these commands to fix the issue : #2

Installing a deb from Debian is not a proper solution.

@madman404
Copy link

Installing a deb from Debian is not a proper solution.

With all due respect: Your solution of reinstalling, for one reason or another, did not work for me - the debian package did. That is about as much a "solution" as I could expect for fonts.

@Nandopolis
Copy link

Hi, I had the same problem in a fresh install of Pop!_OS 20.04, I tried these steps: #2 but didn't work, what I noticed is that the post install script (the script that actually download the ms corefonts) wasn't running so I tried the steps from these comment #2 and it worked, something to notice is that the version from the apt repository for ttf-mscorefonts-installer is 3.7 while the version from the deb package that worked is 3.8, maybe something is preventing to run the post install script in the 3.7 recipe?

@eduardo22santos
Copy link

eduardo22santos commented Jan 5, 2022

@vibhuthasak this way worked for me too.

@compul
Copy link

compul commented Jan 19, 2022

@hyslee2 @vibhuthasak @plzhelpmevoid

Just follow these commands to fix the issue : #1321 (comment)

Installing a deb from Debian is not a proper solution.

I can confirm that the issue persists on a brand new PopOS 21.10 install, and the proposed solution doesn't work.

fc-cache -fv:

/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 0 fonts, 0 dirs

After installation the font directory is empty. And yes, I did accept the EULA. You're right, installing a debian .deb is not a proper solution. But the other one doesn't work.

This did the trick for me, except that /var/lib/update-notifier doesn't exist.

@gquittet
Copy link
Author

@jacobgkau
Some people have this issue since 1 year.
Investigate may be a good choice as PopOS is for newcomers.
Or just close the issue.

@kiocosta
Copy link

sudo dkpg -i ttf-mscorefonts-installer_3.8_all.deb

It's not dkpg, it's dpkg.

@KevinA410
Copy link

I found a working solution for this. Download the Debian version of tf-mscorefonts-installer from debian official repository wget http://ftp.us.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.8_all.deb

And installed it with dkpg sudo dkpg -i ttf-mscorefonts-installer_3.8_all.deb

image

NAME="Pop!_OS" VERSION="21.04" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 21.04" VERSION_ID="21.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=hirsute UBUNTU_CODENAME=hirsute LOGO=distributor-logo-pop-os

Thanks a lot, this solution worked well for me!

@ghost
Copy link

ghost commented May 21, 2022

So after 2 years this is not fixed? Can't believe that linux desktop market share is just 2%. Go find out.

@hugovelasco
Copy link

I found a working solution for this. Download the Debian version of tf-mscorefonts-installer from debian official repository wget http://ftp.us.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.8_all.deb

And installed it with dkpg sudo dpkg -i ttf-mscorefonts-installer_3.8_all.deb

image

NAME="Pop!_OS" VERSION="21.04" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 21.04" VERSION_ID="21.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=hirsute UBUNTU_CODENAME=hirsute LOGO=distributor-logo-pop-os

It worked for me!
Thanks a lot!!

@ghost
Copy link

ghost commented Aug 14, 2022

I found a working solution for this. Download the Debian version of tf-mscorefonts-installer from debian official repository wget http://ftp.us.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.8_all.deb

And installed it with dkpg sudo dpkg -i ttf-mscorefonts-installer_3.8_all.deb

image

NAME="Pop!_OS" VERSION="21.04" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 21.04" VERSION_ID="21.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=hirsute UBUNTU_CODENAME=hirsute LOGO=distributor-logo-pop-os

Thanks. That's fully work for me too.
After install this package don't forget to run this command:

sudo fc-cache -f -v

Idk why popOS dev didn't fix this issue. because on ubuntu it works fine with apt command regularly.

I've test on libre writer.
Screenshot from 2022-08-14 10-21-41

@lpingree
Copy link

lpingree commented Nov 9, 2022

The fixes to load from deb worked for me. But I do wish the distro authors would include the fix out of the box.

@leviport
Copy link
Member

leviport commented Nov 9, 2022

To reiterate what has already been said, these fonts require the acceptance of a EULA. I think that accepting the EULA on behalf of the user is legally problematic, so this isn't something we can "just fix".

I'm not sure whether there is a clause in the EULA about distributing the fonts, so if someone's qualified to weigh in on that, then that would be a helpful contribution to this discussion.

@gquittet
Copy link
Author

A simple fix is to not installed by default ttf-mscorefonts-installer and let the user decide if he needs this package.

Honestly, it's a pity that we can't just accept this EULA automatically.

IMO, it will improve the user experience for newcomers that certainly needs some fonts that are everywhere (Arial, ...)

@leviport
Copy link
Member

A simple fix is to not installed by default ttf-mscorefonts-installer and let the user decide if he needs this package.

I think I might be missing what you're saying. Isn't that the current state of affairs? ttf-mscorefonts-installer is not installed by default, but it is installable, at which time the user must agree to the EULA to complete the installation of that package.

Honestly, it's a pity that we can't just accept this EULA automatically.

Yes, it's frustrating that a solution to a simple technical problem is hampered by a legal issue. But that's just how it is in this situation.

IMO, it will improve the user experience for newcomers that certainly needs some fonts that are everywhere (Arial, ...)

I don't think anyone disagrees on that point. It has been said many times in this thread.

@jackpot51
Copy link
Member

We cannot require the acceptance of a EULA for use of Pop!_OS. The user is free to install these fonts using the ttf-mscorefonts-installer package. Closing this.

@zaycker
Copy link

zaycker commented Nov 24, 2022

it wasn't about unaccepted EULA. I accepted EULA, there were no fonts. Tried to reinstall the package and it says in logs "mscorefonts-eula license has already been accepted". There is something else. Installing debian package solved the problem.
image

@jackpot51
Copy link
Member

I see. I will re-open for us to comfirm this issue

@jackpot51 jackpot51 reopened this Nov 25, 2022
@Parrawk
Copy link

Parrawk commented Dec 2, 2022

Ran into the same issue when trying to install them and I manually accepted the EULA

image

image

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

@AR2000AR
Copy link

Same issue here. Fixed by downloading the debian package. It's clear from the output of this one that the package in the repo does nothing to install the fonts, unlike debian's one (see terminal screenshot)
image

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

@KIC
Copy link

KIC commented Jan 11, 2023

is not working after a purge and re-install and of the ttf-mscorefonts-installer package and of course accepting the EULA I still get

sudo fc-cache -fv && sudo fc-match 'Arial'

LiberationSans-Regular.ttf: "Liberation Sans" "Regular"

@newzealandpaul
Copy link

This is still an issue. I was able to fix by manually installing the .deb.

When I tried it by apt-get installing, I accepted the EULA but like everyone else commenting, the package ignored my selection.

@jackpot51
Copy link
Member

@mmstick can you take a look at this, since you packaged https://github.com/pop-os/msttcorefonts?

@rajmondburgaj
Copy link

Accepted the EULA by following this https://itsfoss.com/install-microsoft-fonts-ubuntu/ and did not work for me. It does not say anything failed but the fonts are not available. The same procedure worked on other distributions like Mint or Ubuntu, not sure what is different on Pop-Os! thou

@mmstick
Copy link
Member

mmstick commented Feb 22, 2023

There's a branch in staging that may fix this:

sudo apt-manage add popdev:ms
sudo apt update
sudo apt install ttf-mscorefonts-installer

Then to remove the staging repository

sudo apt-manage remove popdev-ms

@mmstick
Copy link
Member

mmstick commented Feb 22, 2023

Moving issue to appropriate repo

@mmstick mmstick transferred this issue from pop-os/pop Feb 22, 2023
@mmstick mmstick closed this as completed Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests