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

No matching distribution found for libu2f-udev #17

Open
radiocontrolled opened this issue May 26, 2023 · 1 comment
Open

No matching distribution found for libu2f-udev #17

radiocontrolled opened this issue May 26, 2023 · 1 comment

Comments

@radiocontrolled
Copy link

Hello, I am getting the build error No matching distribution found for libu2f-udev
How would I add libu2f-udev?
I have left comments with what I tried below.

FROM ubuntu.jammy:latest
## note tried focal as well... didn't work
ARG DEBIAN_FRONTEND=noninteractive
RUN echo "===> Installing system dependencies..." && \
    BUILD_DEPS="curl unzip" && \
    apt-get update && apt-get install --no-install-recommends -y \
    python3 python3-pip wget \
    fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 \
    ## adding libu2f-udev after libvulkan1 did not work...
    libnspr4 libnss3 lsb-release xdg-utils libxss1 libdbus-glib-1-2 libgbm1 libvulkan1 \
    $BUILD_DEPS \
    xvfb

## does not work..
RUN wget http://archive.ubuntu.com/ubuntu/pool/main/libu/libu2f-host/libu2f-udev_1.1.4-1_all.deb && \
    dpkg -i libu2f-udev_1.1.4-1_all.deb

## also does not work 
# RUN apt-get install equivs -y && \
#     equivs-control libu2f-udev && \
#     equivs-build libu2f-udev && \
#     dpkg -i libu2f-udev_1.0_all.deb


RUN echo "===> Installing chromedriver and google-chrome..." && \
    CHROMEDRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE` && \
    wget https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip && \
    unzip chromedriver_linux64.zip -d /usr/bin && \
    chmod +x /usr/bin/chromedriver && \
    rm chromedriver_linux64.zip && \
    \
    CHROME_SETUP=google-chrome.deb && \
    wget -O $CHROME_SETUP "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" && \
    dpkg -i $CHROME_SETUP && \
    apt-get install -y -f && \
    rm $CHROME_SETUP

ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
ENV PCD_FILE pcd_file
ENV PYTHONUNBUFFERED=1

ENV APP_HOME /usr/src/app
WORKDIR /$APP_HOME


COPY . $APP_HOME/
RUN pip3 install --trusted-host pypi.python.org -r $APP_HOME/requirements.txt


CMD tail -f /dev/null

CMD python3 mscript.py
@radiocontrolled
Copy link
Author

The error (I am building using CodeBuild) was

ERROR: Could not find a version that satisfies the requirement libu2f-udev (from versions: none)
--
991 | ERROR: No matching distribution found for libu2f-udev

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