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

apt-get update command fails in container based on latest image on DockerHub #127

Open
sp185338 opened this issue Mar 31, 2022 · 0 comments

Comments

@sp185338
Copy link

sp185338 commented Mar 31, 2022

Steps to repro:

  1. Launch container based on latest image of katalonstudio/katalon on Docker Hub:
    docker run -it --pull missing --name katalon -d katalonstudio/katalon:latest
  2. Run following command from the CLI of the container: apt-get update OR Run following command from a Command Prompt/Terminal on the host: docker exec katalon apt-get update.
    Expected Behavior: apt-get update executes and completes without errors.
    Actual Behavior: apt-get update command fails with errors as shown in log below.
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [99.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Ign:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [99.8 kB]
Ign:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [97.4 kB]
Ign:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Fetched 544 kB in 1s (347 kB/s)
Reading package lists...
**_E: The method driver /usr/lib/apt/methods/https could not be found.
W: GPG error: http://security.ubuntu.com/ubuntu xenial-security InRelease: At least one invalid signature was encountered.
W: The repository 'http://security.ubuntu.com/ubuntu xenial-security InRelease' is not signed.
W: GPG error: http://archive.ubuntu.com/ubuntu xenial InRelease: At least one invalid signature was encountered.
W: The repository 'http://archive.ubuntu.com/ubuntu xenial InRelease' is not signed.
W: GPG error: http://archive.ubuntu.com/ubuntu xenial-updates InRelease: At least one invalid signature was encountered.
W: The repository 'http://archive.ubuntu.com/ubuntu xenial-updates InRelease' is not signed.
W: GPG error: http://archive.ubuntu.com/ubuntu xenial-backports InRelease: At least one invalid signature was encountered.
W: The repository 'http://archive.ubuntu.com/ubuntu xenial-backports InRelease' is not signed.
E: Failed to fetch https://dl.google.com/linux/chrome/deb/dists/stable/InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead._**

Attempt to fix the first error (by installing the missing driver package) fails due to an issue with apt-get install - this is logged as Issue #128.

Reason for trying to execute this command: Trying to install ping and telnet on the container to troubleshoot/diagnose connectivity issues with container running web service under test.

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