@gshinguji interesting. I don't know why this would work for me and not for you. Do you build in a chroot?
Can you share the full build log please?
-L, --log Log package build process
Git Clone URL: | https://aur.archlinux.org/ttf-ms-win10-auto.git (read-only, click to copy) |
---|---|
Package Base: | ttf-ms-win10-auto |
Description: | Microsoft Windows 10 Other TrueType fonts |
Upstream URL: | http://www.microsoft.com/typography/fonts/product.aspx?PID=164 |
Licenses: | custom |
Conflicts: | ttf-ms-win10-other |
Provides: | ttf-ms-win10-other |
Submitter: | Zepman |
Maintainer: | RubenKelevra |
Last Packager: | RubenKelevra |
Votes: | 36 |
Popularity: | 1.38 |
First Submitted: | 2021-02-24 16:44 (UTC) |
Last Updated: | 2024-07-23 00:51 (UTC) |
@gshinguji interesting. I don't know why this would work for me and not for you. Do you build in a chroot?
Can you share the full build log please?
-L, --log Log package build process
7-Zip [64] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,6 CPUs x64)
Scanning the drive for archives:
ERROR: No such file or directory
/sources/install.wim
System ERROR:
Unknown error -2147024894
Fixed the download link, works for me now. LMK if there's anything not working. :)
Hi, all,
This PKGBUILD needs some love from someone who groks how one this complicated works :(
I d'l'ded the new/latest 19044.1288.211006-0501.21h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso and updated the .iso checksum. But some of the fonts included within have changed so a few of the individual font checksums fail, and the pkgs don't build.
I futzed around with it for about 20 minutes trying to figure out how to update these incorrect checksums, but I ended up more confused :\
P.S.: loryeam's ttf-ms-win11-auto pkg did work fine for me, if those fonts meet your needs :)
Clemmitt Sigler
I made ttf-ms-win11-auto that uses newer httpdirfs instead of unmaintained and buggy httpfs2. I'm not entirely sure if it works, I'd like people to test it!
==> Starting prepare()...
- Examininging locally available fonts
- Fonts are missing
- Mount filesystems as a non-privileged user: allowed
- Downloading fonts directly
- Mounting HTTP file
file name: 19042.631.201119-0144.20h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x86FRE_en-us.iso
host name: software-download.microsoft.com
port number: 80
protocol: http
request path: /download/pr/19042.631.201119-0144.20h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x86FRE_en-us.iso
auth data: (null)
httpfs2: HEAD: failed with status: 301 Moved Permanently.
HTTP/1.1 301 Moved Permanently
Date: Wed, 04 May 2022 21:15:31 GMT
Location: http://software-static.download.prss.microsoft.com/pr/download/19042.631.201119-0144.20h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x86FRE_en-us.iso
Server: ECAcc (mic/9AC7)
Content-Length: 0
httpfs2: HEAD: exchange: server error
HTTP/1.1 301 Moved Permanently
Date: Wed, 04 May 2022 21:15:31 GMT
Location: http://software-static.download.prss.microsoft.com/pr/download/19042.631.201119-0144.20h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x86FRE_en-us.iso
Server: ECAcc (mic/9AC7)
Content-Length: 0
==> ERROR: A failure occurred in prepare().
Aborting...
error: failed to build 'ttf-ms-win10-auto-10.0.19042.789-3':
error: packages failed to build: ttf-ms-win10-auto-10.0.19042.789-3
New build
19044.1288.211006-0501.21h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso
Old one doesn't work.
Failing with HTTP error, seems the ISO link doesn't work anymore
httpfs2: HEAD: exchange: server error
HTTP/1.1 301 Moved Permanently
Date: Thu, 31 Mar 2022 23:26:31 GMT
Location: http://software-static.download.prss.microsoft.com/pr/download/19042.631.201119-0144.20h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x86FRE_en-us.iso
Server: ECAcc (via/F2BB)
Content-Length: 0
To fix the "already mounted" problem on a gnome install:
Error mounting /dev/loop1: GDBus.Error:org.freedesktop.UDisks2.Error.AlreadyMounted: Device /dev/loop1 is already mounted at `/run/media/too/CENA_X86FREE_EN-US_DV9'.
Disable automount in gnome using dconf or the following commands:
gsettings set org.gnome.desktop.media-handling automount-open false
gsettings set org.gnome.desktop.media-handling automount false
First installation failed because of Error mounting /dev/loop1: GDBus.Error:org.freedesktop.UDisks2.Error.AlreadyMounted: Device /dev/loop1 is already mounted at `/media/CENA_X86FREE_EN-US_DV9'.
Second because of rm: the removal of '/tmp/makepkg/ttf-ms-win10-auto/src/mnt/http/19042.631.201119-0144.20h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x86FRE_en-us.iso' is impossible: The needed function is not implemented
Quitting Udisks2 and sudo umount /tmp/makepkg/ttf-ms-win10-auto/src/mnt/http -l
fixes it.
Pinned Comments
Zepman commented on 2021-02-24 16:49 (UTC) (edited on 2021-03-24 22:08 (UTC) by Zepman)
This package is based on ttf-ms-win10. It differs in that it automatically downloads the fonts from Microsoft, if possible without downloading an entire ISO file.
If Polkit allows the user to create loop devices and mount files using udisks, around 200 MB of (mostly compressed) data will be downloaded. This can be a slow download method even over the fastest connections, since the fonts are taken from a large ISO file without downloading the entire file.
If Polkit is not available or it does not allow the user to use udisks, the entire ISO file will be downloaded and install.wim will be extracted. A check ensures that enough temporary disk space is available, which can be up to twice the size of the ISO file. This can happen if either Polkit or an authentication agent is not running, or when a user is logged in remotely (e.g. through SSH).