Skip to content

[BUG] linuxserver/firefox fonts mod package not found #966

@by-justin

Description

@by-justin

Is there an existing issue for this?

  • I have searched the existing issues

Name of mod

firefox-fonts

Name of base container

linuxserver/firefox

Current Behavior

Fonts packages not found.

/etc/s6-overlay/s6-rc.d/init-mod-firefox-fonts-add-package/run: line 3: apk: command not found
**** Adding firefox-fonts packages to install list ****
[pkg-install-init] **** Installing all mod packages ****
Hit:1 https://download.docker.com/linux/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Hit:4 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu noble InRelease
Hit:5 http://archive.ubuntu.com/ubuntu noble-security InRelease
Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [688 kB]
Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [514 kB]
Fetched 1,328 kB in 5s (265 kB/s)
Reading package lists...
W: https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/noble/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package ttf-dejavu
E: Unable to locate package font-noto-emoji
E: Unable to locate package font-noto-cjk
E: Unable to locate package font-croscore

Expected Behavior

Correctly install the required fonts.

Install

fonts-dejavu
fonts-noto-cjk
fonts-croscore
fonts-noto-color-emoji

Instead of

 ttf-dejavu
font-noto-emoji
font-noto-cjk
font-croscore

Steps To Reproduce

Run container with mods, mods doesn't install. Chinese fonts still can't display.

Environment

No response

CPU architecture

x86-64

Docker creation

docker run -d \
  --name=firefox \
  --security-opt seccomp=unconfined `#optional` \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Asia/Shanghai \
  -e FIREFOX_CLI=https://www.google.com/ `#optional` \
  -e DOCKER_MODS=linuxserver/mods:firefox-fonts \
  -p 3000:3000 \
  -p 3001:3001 \
  -v firefox_data:/config \
  --shm-size="1gb" \
  --restart unless-stopped \
  lscr.io/linuxserver/firefox:latest

Container logs

root@OpenWrt:~# docker logs -f 177f7d1
[mod-init] Running Docker Modification Logic
[mod-init] Adding linuxserver/mods:firefox-fonts to container
[mod-init] Downloading linuxserver/mods:firefox-fonts from lscr.io
[mod-init] Installing linuxserver/mods:firefox-fonts
[mod-init] linuxserver/mods:firefox-fonts applied to container
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
/etc/s6-overlay/s6-rc.d/init-mod-firefox-fonts-add-package/run: line 3: apk: command not found
**** Adding firefox-fonts packages to install list ****
[pkg-install-init] **** Installing all mod packages ****
Hit:1 https://download.docker.com/linux/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Hit:4 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu noble InRelease
Hit:5 http://archive.ubuntu.com/ubuntu noble-security InRelease
Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [688 kB]
Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [514 kB]
Fetched 1,328 kB in 5s (265 kB/s)
Reading package lists...
W: https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/noble/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package ttf-dejavu
E: Unable to locate package font-noto-emoji
E: Unable to locate package font-noto-cjk
E: Unable to locate package font-croscore
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.3.2 - built Oct 12 2024 19:21:44
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

[ls.io-init] done.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
Obt-Message: Xinerama extension is not present on the server
19
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
^C

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions