Package Details: ttf-ms-win11-auto-japanese 10.0.22631.2428-2

Git Clone URL: https://aur.archlinux.org/ttf-ms-win11-auto.git (read-only, click to copy)
Package Base: ttf-ms-win11-auto
Description: Microsoft Windows 11 Japanese TrueType fonts
Upstream URL: https://www.microsoft.com/typography/fonts/product.aspx?PID=164
Licenses: custom
Conflicts: ttf-ms-win11-japanese
Provides: ttf-ms-win11-japanese
Submitter: octocorvus
Maintainer: octocorvus (kode54)
Last Packager: kode54
Votes: 65
Popularity: 4.66
First Submitted: 2022-05-06 13:39 (UTC)
Last Updated: 2024-05-06 21:28 (UTC)

Dependencies (3)

Required by (0)

Sources (145)

Pinned Comments

kode54 commented on 2024-02-04 10:43 (UTC) (edited on 2024-02-04 10:45 (UTC) by kode54)

You apparently need to be a member of the disk group to mount a filesystem as an otherwise unprivileged user.

sudo usermod -aG disk $USER

And log out and back in again.

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

agolovanov commented on 2024-05-07 07:50 (UTC)

@RashadGasimli I'd guess you need to manually unmount the path where this iso file is mounted. In my case it's mounted at /run/media/%username%/CENA_X64FREE_EN-US_DV9.

RashadGasimli commented on 2024-05-07 06:39 (UTC)

Hello guys, how can I fix this issue?

==> Removing existing $srcdir/ directory... rm: cannot remove '/home/rashadgasimli/.cache/yay/ttf-ms-win11-auto/src/mnt/http/22631.2428.231001-0608.23H2_NI_RELEASE_SVC_REFRESH_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso': Function not implemented

==> ERROR: An unknown error has occurred. Exiting... -> error making: ttf-ms-win11-auto-signal: user defined signal 1 -> Failed to install the following packages. Manual intervention is required: ttf-ms-win11-auto - signal: user defined signal 1

bbx0 commented on 2024-05-06 13:30 (UTC)

I had some trouble building in a chroot without udisks running and to bypass the unprivilegedMountAllowed check in general. Here are some proposed changes to make it work. :)

  • Fix an undetected pipefail from piping udisksctl into awk. (The awk command is successful even if the udisksctl command fails, which makes the whole expression true.)
  • Fix running loop-delete even when the loop-setup has initially failed.
  • Fix the _unprivilegedMountAllowed check always being true. (The string false is matched as a non-zero value and hence always interpreted as true.)
diff --git a/PKGBUILD b/PKGBUILD
index ccf6fae..7145b2b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -403,12 +403,14 @@ prepare() {
     echo -ne "- Mount filesystems as a non-privileged user: "
     touch test.mount
     _unprivilegedMountAllowed=false
-    _testLoopDev=$(udisksctl loop-setup -r -f test.mount --no-user-interaction | awk '{print $NF}') && _unprivilegedMountAllowed=true
-    _testLoopDev=${_testLoopDev::-1}
+    _udisksctlOutput=$(udisksctl loop-setup -r -f test.mount --no-user-interaction) && {
+      _unprivilegedMountAllowed=true
+      _testLoopDev=$(echo "$_udisksctlOutput" | awk '{print $NF}' RS='.\n')
       udisksctl loop-delete -b "$_testLoopDev" --no-user-interaction
+    }
     rm test.mount

-    if [ $_unprivilegedMountAllowed ]; then
+    if [ "$_unprivilegedMountAllowed" = "true" ]; then
       echo "allowed"
       echo "- Downloading fonts directly"
       mkdir -p mnt/http

kode54 commented on 2024-04-08 07:31 (UTC)

@mdjake Yes, unfortunately, the stock build process uses udisks to mount the disk images without root privileges. You can alter the PKGBUILD, but it will have to be built as root somehow.

mdjake commented on 2024-04-08 05:43 (UTC)

Hi!

I've failed to install this package through an ssh connection. However I've managed to install it flawlessly by sitting down in front of my computer and logging into it interactively.

Dingisoul commented on 2024-02-27 04:21 (UTC)

I got this error when update to the newest version

==> Removing existing $srcdir/ directory...
rm: cannot remove '/home/dingisoul/.cache/yay/ttf-ms-win11-auto/src/mnt/http': Is a directory

==> ERROR: An unknown error has occurred. Exiting...

However, I don't see this rm command in PKGBUILD. Can friends tell me how to fix it. Thanks !!!

jalejotorresm commented on 2024-02-15 19:00 (UTC) (edited on 2024-02-15 19:03 (UTC) by jalejotorresm)

Hi everyone,

I am tryin to update to the latest version of this package but I got the following error message

install: cannot stat 'wingding.ttf': No such file or directory
==> ERROR: A failure occurred in package_ttf-ms-win11-auto().
    Aborting...
 -> error making: ttf-ms-win11-auto-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ttf-ms-win11-auto - exit status 4

The part of install: cannot stat 'wingding.ttf': No such file or directory appears for other fonts, such as arial.

Any advice on how to get this update completed? I have all deps updated, so I don't think it would be on that side.

UPDATE: Forgot to comment that system is failing to create SymLinks: ln: failed to create symbolic link '/home/jalejotorresm/.cache/yay/ttf-ms-win11-auto/src/' -> '': No such file or directory

Not sure if this could also be impacting the process, any lead is greatly appreciated.

Thank you for all the help.

kode54 commented on 2024-02-12 20:24 (UTC) (edited on 2024-02-12 20:25 (UTC) by kode54)

Huh, I noticed, I don't have it installed, either.

I do have this in my kernel configuration:

CONFIG_UDF_FS=m

gregthwuen commented on 2024-02-12 15:53 (UTC)

That's odd, I don't have udftools installed and have no problems installing.

kode54 commented on 2024-02-12 07:05 (UTC)

I will add it as a make dependency.