bbusse / swayvnc-firefox

Headless wayland browser vnc sessions in a container
BSD 3-Clause "New" or "Revised" License
15 stars 4 forks source link

`podman build -t swayvnc-firefox .` STEP 7/12 ERROR: unable to select packages: #18

Closed semistrict closed 1 year ago

semistrict commented 1 year ago

Running the command podman build -t swayvnc-firefox . on Ubuntu 22.04 gives the following error:

STEP 1/12: FROM ghcr.io/bbusse/swayvnc:latest
Trying to pull ghcr.io/bbusse/swayvnc:latest...
Getting image source signatures
Copying blob 9041ab77c22b done
Copying blob 88ecf269dec3 done
Copying blob 9fe403ab194c [======================================] 3.1MiB / 3.1MiB
Copying blob e9690d6cd162 done
Copying blob cdf6c75b2615 done
Copying blob 7beeeb81bbac done
Copying blob f44dea815ac8 done
Copying blob 5b4b39b84151 done
Copying blob 8d99be723f93 done
Copying blob 288f96c1351d done
Copying blob 60f347107135 done
Copying blob 8a69ee167c5d done
Copying blob 014bee99825c done
Copying config 939f5df652 done
Writing manifest to image destination
Storing signatures
STEP 2/12: LABEL maintainer="Björn Busse <bj.rn@baerlin.eu>"
--> bffb0ca276a
STEP 3/12: LABEL org.opencontainers.image.source https://github.com/bbusse/swayvnc-firefox
--> c6a1a55d7c1
STEP 4/12: ARG GECKODRIVER_VERSION
--> a25815791c8
STEP 5/12: ENV ARCH="x86_64"     USER="firefox-user"     APK_ADD="python3 py3-pip firefox"     APK_DEL=""
--> b199f29d374
STEP 6/12: USER root
--> 78a5fb7fc7b
STEP 7/12: RUN addgroup -S $USER && adduser -S $USER -G $USER     && sed -i -e 's/https/http/' /etc/apk/repositories     && apk add --no-cache ${APK_ADD}     && apk del --no-cache ${APK_DEL}     && rm -rf       /usr/share/man/*       /usr/includes/*       /var/cache/apk/*     && wget https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER_VERSION}/geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz     && tar -xzf geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz -C /usr/bin     && rm geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz     && geckodriver --version     && wget -P /usr/local/bin https://raw.githubusercontent.com/bbusse/webdriver-util/main/webdriver_util.py     && chmod +x /usr/local/bin/webdriver_util.py     && wget -O /tmp/requirements_webdriver.txt https://raw.githubusercontent.com/bbusse/webdriver-util/main/requirements.txt     && wget -P /usr/local/bin https://raw.githubusercontent.com/bbusse/stream-controller/main/controller.py     && chmod +x /usr/local/bin/controller.py     && wget -O /tmp/requirements_controller.txt https://raw.githubusercontent.com/bbusse/stream-controller/main/requirements.txt     && echo "exec controller.py --stream-source=vnc-browser --debug=$DEBUG" >> /etc/sway/config.d/firefox
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
  so:libicui18n.so.71 (no such package):
    required by: firefox-106.0.1-r0[so:libicui18n.so.71]
  so:libicuuc.so.71 (no such package):
    required by: firefox-106.0.1-r0[so:libicuuc.so.71]
Error: error building at STEP "RUN addgroup -S $USER && adduser -S $USER -G $USER     && sed -i -e 's/https/http/' /etc/apk/repositories     && apk add --no-cache ${APK_ADD}     && apk del --no-cache ${APK_DEL}     && rm -rf       /usr/share/man/*       /usr/includes/*       /var/cache/apk/*     && wget https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER_VERSION}/geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz     && tar -xzf geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz -C /usr/bin     && rm geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz     && geckodriver --version     && wget -P /usr/local/bin https://raw.githubusercontent.com/bbusse/webdriver-util/main/webdriver_util.py     && chmod +x /usr/local/bin/webdriver_util.py     && wget -O /tmp/requirements_webdriver.txt https://raw.githubusercontent.com/bbusse/webdriver-util/main/requirements.txt     && wget -P /usr/local/bin https://raw.githubusercontent.com/bbusse/stream-controller/main/controller.py     && chmod +x /usr/local/bin/controller.py     && wget -O /tmp/requirements_controller.txt https://raw.githubusercontent.com/bbusse/stream-controller/main/requirements.txt     && echo "exec controller.py --stream-source=vnc-browser --debug=$DEBUG" >> /etc/sway/config.d/firefox": error while running runtime: exit status 3
bbusse commented 1 year ago

Thanks for your report! I can reproduce the issue and will look into it

bbusse commented 1 year ago

It seems this particular error was fixed upstream in Alpine. My latest run worked, although I had to fix a different issue. Please try now

semistrict commented 1 year ago

yup, fixed