You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Iamtheoldman (via GitHub)" <gi...@apache.org> on 2024/09/26 15:57:00 UTC

[I] Not working [superset]

Iamtheoldman opened a new issue, #30404:
URL: https://github.com/apache/superset/issues/30404

   ### Bug description
   
    > [superset superset-node  2/13] RUN apt-get update -qq     && apt-get install         -yqq --no-install-recommends         build-essential         python3         zstd:                                                                                                      
   0.981 W: GPG error: http://deb.debian.org/debian bullseye InRelease: At least one invalid signature was encountered.                                                                                                                                                            
   0.981 E: The repository 'http://deb.debian.org/debian bullseye InRelease' is not signed.                                                                                                                                                                                        
   0.981 W: GPG error: http://deb.debian.org/debian-security bullseye-security InRelease: At least one invalid signature was encountered.                                                                                                                                          
   0.981 E: The repository 'http://deb.debian.org/debian-security bullseye-security InRelease' is not signed.                                                                                                                                                                      
   0.981 W: GPG error: http://deb.debian.org/debian bullseye-updates InRelease: At least one invalid signature was encountered.
   0.981 E: The repository 'http://deb.debian.org/debian bullseye-updates InRelease' is not signed.
   
   ### How to reproduce the bug
   
   Steps to Reproduce
   Install Docker if it's not already installed. You can download and install Docker Desktop from here.
   
   Create a New Directory for your project:
   
   bash
   Copy code
   mkdir docker-apt-bug
   cd docker-apt-bug
   Create a Dockerfile: Create a file named Dockerfile in this directory:
   
   bash
   Copy code
   touch Dockerfile
   Edit the Dockerfile: Open the Dockerfile in your favorite text editor and add the following content. This is the same as what caused the GPG key errors you described:
   
   Dockerfile
   Copy code
   FROM debian:bookworm
   
   RUN apt-get update -qq && apt-get install -yqq --no-install-recommends \
       libnss3 libdbus-glib-1-2 libgtk-3-0 libx11-xcb1 libasound2 libxtst6 git pkg-config && \
       rm -rf /var/lib/apt/lists/*
   Build the Docker Image: Open your terminal in the directory where the Dockerfile is saved, and run:
   
   bash
   Copy code
   docker build -t test-apt-bug .
   Encounter the Bug: During the build process, you should encounter the error related to the GPG signature, similar to what you saw earlier:
   
   bash
   Copy code
   W: GPG error: http://deb.debian.org/debian bookworm InRelease: At least one invalid signature was encountered.
   E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed.
   
   
   ### Screenshots/recordings
   
   ![Screenshot 2024-09-26 at 9 56 39 AM](https://github.com/user-attachments/assets/d116a6e6-7ee5-45b3-9ef6-5d703d963dc0)
   
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Not working [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #30404:
URL: https://github.com/apache/superset/issues/30404#issuecomment-2377364633

   <!-- Greeting -->
   Hello @Iamtheoldman! I'm here to help you with any bugs or questions you have. I can also assist you in becoming a contributor while we wait for a human maintainer.
   
   <!-- Answer -->
   The issue you're encountering with GPG key errors during the Docker build process is due to invalid signatures for the Debian repositories. This is not directly related to Superset but rather to the Debian repositories being accessed.
   
   To resolve this, you can add the following steps to your Dockerfile to update the GPG keys:
   
   ```dockerfile
   FROM debian:bookworm
   
   # Add the necessary GPG keys
   RUN apt-get update -qq && apt-get install -yqq --no-install-recommends \
       gnupg2 \
       && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138 \
       && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC \
       && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9 \
       && apt-get update -qq
   
   # Install the required packages
   RUN apt-get install -yqq --no-install-recommends \
       libnss3 \
       libdbus-glib-1-2 \
       libgtk-3-0 \
       libx11-xcb1 \
       libasound2 \
       libxtst6 \
       git \
       pkg-config \
       && rm -rf /var/lib/apt/lists/*
   ```
   
   This will add the necessary GPG keys and should resolve the GPG errors you are encountering during the Docker build process.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org