Microsoft Fonts

Hello, first time poster here. I’m trying to install microsoft core fonts, but I can’t seem to be able to. I’ve tried:

sudo yay -S ttf-ms-fonts ttf-vista-fonts ttf-office-2007-fonts ttf-win7-fonts ttf-ms-win8 ttf-ms-win10 ttf-ms-win11

I keep getting an error message:

==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
→ error downloading sources: /tmp/yay/ttf-office-2007-fonts
context: error downloading sources: /tmp/yay/ttf-office-2007-fonts
context: exit status 10

error downloading sources: /tmp/yay/ttf-win7-fonts
context: error downloading sources: /tmp/yay/ttf-win7-fonts
context: exit status 10

error downloading sources: /tmp/yay/ttf-ms-win8
context: error downloading sources: /tmp/yay/ttf-ms-win8
context: exit status 10

error downloading sources: /tmp/yay/ttf-ms-win10
context: error downloading sources: /tmp/yay/ttf-ms-win10
context: exit status 10

error downloading sources: /tmp/yay/ttf-ms-win11
context: error downloading sources: /tmp/yay/ttf-ms-win11
context: exit status 10

error downloading sources: /tmp/yay/ttf-ms-fonts
context: error downloading sources: /tmp/yay/ttf-ms-fonts
context: exit status 10

error downloading sources: /tmp/yay/ttf-vista-fonts
context: error downloading sources: /tmp/yay/ttf-vista-fonts
context: exit status 10

error downloading sources: /tmp/yay/bsdiff
context: error downloading sources: /tmp/yay/bsdiff
context: exit status 10

:: Remove make dependencies after install? [y/N] y
:: (1/8) Parsing SRCINFO: ttf-win7-fonts
:: (2/8) Parsing SRCINFO: ttf-ms-win8
:: (3/8) Parsing SRCINFO: ttf-ms-win10
:: (4/8) Parsing SRCINFO: ttf-ms-win11
:: (5/8) Parsing SRCINFO: ttf-ms-fonts
:: (6/8) Parsing SRCINFO: ttf-vista-fonts
:: (7/8) Parsing SRCINFO: bsdiff
:: (8/8) Parsing SRCINFO: ttf-office-2007-fonts
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
→ Failed to install layer, rolling up to next layer.error:error making: bsdiff - exit status 10
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
→ error making: ttf-ms-win11-exit status 10
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
→ error making: bsdiff-exit status 10
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
→ error making: ttf-ms-fonts-exit status 10
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
→ error making: ttf-vista-fonts-exit status 10
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
→ error making: ttf-office-2007-fonts-exit status 10
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
→ error making: ttf-win7-fonts-exit status 10
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
→ error making: ttf-ms-win8-exit status 10
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
→ error making: ttf-ms-win10-exit status 10
error: target not found: bsdiff
→ Failed to install the following packages. Manual intervention is required:
ttf-office-2007-fonts - exit status 10
ttf-win7-fonts - exit status 10
ttf-ms-win8 - exit status 10
ttf-ms-win10 - exit status 10
ttf-ms-win11 - exit status 10
bsdiff - exit status 10
ttf-ms-fonts - exit status 10
ttf-vista-fonts - exit status 10
exit status 1

I’m not sure what I’m doing wrong here but any help would be appreciated.

Best,
Jacob

Welcome to the community! :vulcan_salute: :enos_flag:

First things first: NEVER use yay with sudo. It will ask you for a password when necessary.

Do sudo pacman -Syu then try the command again without sudo:

sudo pacman -Syu 
yay tf-ms-fonts ttf-vista-fonts ttf-office-2007-fonts ttf-win7-fonts ttf-ms-win8 ttf-ms-win10 ttf-ms-win11

In this case, I am assuming all of those packages exist. If they don’t then make sure to find the relevant packages and run yay without sudo.

2 Likes

Thank you for the info. I’ve tried that and what comes up is the following:

Blockquote
:: Synchronizing package databases…
endeavouros is up to date
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade…
there is nothing to do

Blockquote

I also tried:

Blockquote
fc-match TimesNewRoman

Blockquote

but all that I get back is:

Blockquote
LiberationSerif-Regular.ttf: “Liberation Serif” “Regular”

Blockquote

Thank you for the response!

Best,
Jacob

Good. This means your system is fully updated.
In a terminal, please run the command below and post it here:

pacman -Q | grep -A 2 -E "(ttf-ms|ttf-vista|ttf-office|ttf-win7)"

You can check for more by adding | between each query.

A friendly tips about Discourse:

Send a message to @discobot with the meassage start tutorial.

Follow the tutorial and get acquainted with the forum software

3 Likes

Hi! To find out what I can do, say @discobot display help.

1 Like

I ran that and got nothing back

Okay… Weird. Do the below then:

yay -S ttf-ms-fonts ttf-vista-fonts ttf-office-2007-fonts ttf-win7-fonts ttf-ms-win8 ttf-ms-win10 ttf-ms-win11

Remember, no sudo.

And please show the entire output, including the command itself.

Ok here is what I got:

Blockquote
AUR Explicit (7): ttf-ms-fonts-2.0-12, ttf-vista-fonts-1-11, ttf-office-2007-fonts-1.0-3, ttf-win7-fonts-7.1-9, ttf-ms-win8-6.3.9600.17238-1, ttf-ms-win10-10.0.19043.1055-1, ttf-ms-win11-10.0.22631.3737-1
AUR Make Dependency (1): bsdiff-4.3-1
:: (1/8) Downloaded PKGBUILD: ttf-ms-fonts
:: (2/8) Downloaded PKGBUILD: ttf-vista-fonts
:: (3/8) Downloaded PKGBUILD: bsdiff
:: (4/8) Downloaded PKGBUILD: ttf-ms-win11
:: (5/8) Downloaded PKGBUILD: ttf-win7-fonts
:: (6/8) Downloaded PKGBUILD: ttf-ms-win8
:: (7/8) Downloaded PKGBUILD: ttf-office-2007-fonts
:: (8/8) Downloaded PKGBUILD: ttf-ms-win10
8 ttf-office-2007-fonts (Build Files Exist)
7 ttf-win7-fonts (Build Files Exist)
6 ttf-ms-win8 (Build Files Exist)
5 ttf-ms-win10 (Build Files Exist)
4 ttf-ms-win11 (Build Files Exist)
3 bsdiff (Build Files Exist)
2 ttf-ms-fonts (Build Files Exist)
1 ttf-vista-fonts (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/8): /home/jacob/.cache/yay/ttf-office-2007-fonts
HEAD is now at 90b3820 Remove .install for pacman hooks
:: Deleting (2/8): /home/jacob/.cache/yay/ttf-win7-fonts
HEAD is now at 1121503 Remove .install for pacman hooks
:: Deleting (3/8): /home/jacob/.cache/yay/ttf-ms-win8
HEAD is now at 70810e0 Update to new adaptable PKGBUILD
:: Deleting (4/8): /home/jacob/.cache/yay/ttf-ms-win10
HEAD is now at 55f95d5 Inkfree updated to 1.01
:: Deleting (5/8): /home/jacob/.cache/yay/ttf-ms-win11
HEAD is now at e9d3bc6 Upstream update to 22631.3737
:: Deleting (6/8): /home/jacob/.cache/yay/bsdiff
HEAD is now at f0b2473 Fixed desc
:: Deleting (7/8): /home/jacob/.cache/yay/ttf-ms-fonts
HEAD is now at 4b3621d Update upstream URL, other path is redirect this is canonical
:: Deleting (8/8): /home/jacob/.cache/yay/ttf-vista-fonts
HEAD is now at 7a1a0a5 Remove rebuild_font_cache from install script
8 ttf-win7-fonts (Build Files Exist)
7 ttf-ms-win8 (Build Files Exist)
6 ttf-ms-win10 (Build Files Exist)
5 ttf-ms-win11 (Build Files Exist)
4 bsdiff (Build Files Exist)
3 ttf-ms-fonts (Build Files Exist)
2 ttf-vista-fonts (Build Files Exist)
1 ttf-office-2007-fonts (Build Files Exist)

I also have the diffs to show as well if you want to take a look at that.

Thanks again for the replies!

Best,
Jacob

No need to show diffs. Proceed with the installation/reinstallation.

After it’s complete, if there are no actual errors, check for installed fonts with:

pacman -Qi ttf-ms-fonts

Also, you don’t need to type “Blockquote” — it’s not the right thing to use anyway. You should use the button with the two opposing arrows to format correctly.

image

Okay, many thanks. Unfortunately, an error message popped up:

error: package 'ttf-ms-fonts' was not found

That is really strange since pretty much all browsers require that font as a dependency.

pacman -Qi ttf-ms-fonts
Name            : ttf-ms-fonts
Version         : 2.0-12
Description     : Core TTF Fonts from Microsoft
Architecture    : any
URL             : http://corefonts.sourceforge.net
Licenses        : custom:Microsoft
Groups          : None
Provides        : ttf-font
Depends On      : None
Optional Deps   : None
Required By     : brave-bin  firefox  i3-wm  inkscape  python-weasyprint  qt6-webengine  sddm-git
                  steam  thunderbird  vivaldi
Optional For    : onlyoffice-bin
Conflicts With  : None
Replaces        : None
Installed Size  : 5.40 MiB
Packager        : Unknown Packager
Build Date      : Tue 09 Apr 2024 12:29:10 PM EST
Install Date    : Tue 09 Apr 2024 12:29:28 PM EST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

Try this:

pacman -Q | grep -A 2 -E ttf

Interesting. Here is the output from the above:

ttf-bitstream-vera 1.10-15
ttf-dejavu 2.37+18+g9b5d1b2f-7
ttf-hack 3.003-6
ttf-liberation 2.1.5-1
ttf-opensans 1.101-2
tzdata 2024a-2
uchardet 0.0.8-2

And what about this?

yay -Ss ttf-ms-fonts

This is what I get:

aur/ttf-ms-fonts 2.0-12 (+2138 5.76) 
    Core TTF Fonts from Microsoft

Run this then:

yay -S ttf-ms-fonts

I doubt you actually need the others. So only try to install that package, please.

3 Likes

This worked! Thank you. My apologies, I’m still fairly new to Linux and just switched to Endeavour from an Ubuntu-based distro.

Best,
Jacob

1 Like

this is ^^ absolutely correct. this single package will give you times new roman, andale, and the Big Hits of MS fonts…

3 Likes

You’re welcome.

Please also mark it as the solution so that others can find it more easily.

All the best in your EndeavourOS! :purple_heart:

1 Like