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

ENABLE_CJK_FONT leads to dpkg fatal error #184

Open
sockpuppetclock opened this issue Aug 14, 2024 · 0 comments
Open

ENABLE_CJK_FONT leads to dpkg fatal error #184

sockpuppetclock opened this issue Aug 14, 2024 · 0 comments

Comments

@sockpuppetclock
Copy link

I recently grabbed this Docker on Unraid off from Community Applications, and for a while I was unable to get the container to run at all. The container would always stop shortly after being created with the log below. I had set ENABLE_CJK_FONT=1.

[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env    ] GTK2_RC_FILES: executing...
[cont-env    ] GTK2_RC_FILES: terminated successfully.
[cont-env    ] GTK2_RC_FILES: loading...
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: loading...
[cont-env    ] HOME: loading...
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: loading...
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] XDG_STATE_HOME: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-openbox.sh: executing...
[cont-init   ] 10-openbox.sh: terminated successfully.
[cont-init   ] 10-pkgs-mirror.sh: executing...
[cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
[cont-init   ] 10-set-tmp-dir-perms.sh: executing...
[cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: creating VNC password file from environment variable...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-cjk-font.sh: executing...
[cont-init   ] 15-cjk-font.sh: installing CJK font...
[cont-init   ] 15-cjk-font.sh: Get:1 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease [8,041 B]
[cont-init   ] 15-cjk-font.sh: Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
[cont-init   ] 15-cjk-font.sh: Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
[cont-init   ] 15-cjk-font.sh: Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
[cont-init   ] 15-cjk-font.sh: Get:5 https://dl.winehq.org/wine-builds/ubuntu jammy/main i386 Packages [275 kB]
[cont-init   ] 15-cjk-font.sh: Get:6 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages [277 kB]
[cont-init   ] 15-cjk-font.sh: Get:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
[cont-init   ] 15-cjk-font.sh: Get:8 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages [646 kB]
[cont-init   ] 15-cjk-font.sh: Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,422 kB]
[cont-init   ] 15-cjk-font.sh: Get:10 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2,861 kB]
[cont-init   ] 15-cjk-font.sh: Get:11 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1,132 kB]
[cont-init   ] 15-cjk-font.sh: Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [905 kB]
[cont-init   ] 15-cjk-font.sh: Get:13 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2,167 kB]
[cont-init   ] 15-cjk-font.sh: Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse i386 Packages [5,048 B]
[cont-init   ] 15-cjk-font.sh: Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [849 kB]
[cont-init   ] 15-cjk-font.sh: Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [2,963 kB]
[cont-init   ] 15-cjk-font.sh: Get:17 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages [772 kB]
[cont-init   ] 15-cjk-font.sh: Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [51.8 kB]
[cont-init   ] 15-cjk-font.sh: Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2,446 kB]
[cont-init   ] 15-cjk-font.sh: Get:20 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [33.7 kB]
[cont-init   ] 15-cjk-font.sh: Get:21 http://archive.ubuntu.com/ubuntu jammy-backports/universe i386 Packages [19.8 kB]
[cont-init   ] 15-cjk-font.sh: Fetched 17.2 MB in 4s (3,942 kB/s)
[cont-init   ] 15-cjk-font.sh: Reading package lists...
[cont-init   ] 15-cjk-font.sh: W: https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
[cont-init   ] 15-cjk-font.sh: Reading package lists...
[cont-init   ] 15-cjk-font.sh: Building dependency tree...
[cont-init   ] 15-cjk-font.sh: Reading state information...
[cont-init   ] 15-cjk-font.sh: The following NEW packages will be installed:
[cont-init   ] 15-cjk-font.sh:   fonts-wqy-zenhei
[cont-init   ] 15-cjk-font.sh: 0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.
[cont-init   ] 15-cjk-font.sh: Need to get 7,472 kB of archives.
[cont-init   ] 15-cjk-font.sh: After this operation, 16.8 MB of additional disk space will be used.
[cont-init   ] 15-cjk-font.sh: Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 fonts-wqy-zenhei all 0.9.45-8 [7,472 kB]
[cont-init   ] 15-cjk-font.sh: debconf: delaying package configuration, since apt-utils is not installed
[cont-init   ] 15-cjk-font.sh: Fetched 7,472 kB in 2s (3,745 kB/s)
[cont-init   ] 15-cjk-font.sh: dpkg: unrecoverable fatal error, aborting:
[cont-init   ] 15-cjk-font.sh:  unknown system group 'messagebus' in statoverride file; the system group got removed
[cont-init   ] 15-cjk-font.sh: before the override, which is most probably a packaging bug, to recover you
[cont-init   ] 15-cjk-font.sh: can remove the override manually with dpkg-statoverride
[cont-init   ] 15-cjk-font.sh: E: Sub-process /usr/bin/dpkg returned an error code (2)
[cont-init   ] 15-cjk-font.sh: terminated with error 100.

This would occur every time I started it as long as ENABLE_CJK_FONT=1. Until I set that variable to something else, then the container finally started up just fine.

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

1 participant