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 fails when using gitpod/workspace-full-vnc #872

Closed
ChristianHuff-DEV opened this issue Jul 4, 2022 · 8 comments · Fixed by #875
Closed

apt-get update fails when using gitpod/workspace-full-vnc #872

ChristianHuff-DEV opened this issue Jul 4, 2022 · 8 comments · Fixed by #875

Comments

@ChristianHuff-DEV
Copy link

ChristianHuff-DEV commented Jul 4, 2022

Bug description

When using the Image gitpod/workspace-full-vnc running sudo apt-get update inside the workspace fails due to the following error:

W: GPG error: http://download.opensuse.org/repositories/home:/ungoogled_chromium/Ubuntu_Focal  InRelease: The following signatures were invalid: EXPKEYSIG 02456C79B2FD48BF home:ungoogled_chromium OBS Project <home:[email protected]>
E: The repository 'http://download.opensuse.org/repositories/home:/ungoogled_chromium/Ubuntu_Focal  InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Steps to reproduce

  1. Open a workspace configured to use the image gitpod/workspace-full-vnc
  2. Open a terminal and run sudo apt-get update

Workspace affected

All workspaces using the image. (i.e. https://christianhuf-updatetest-2d0tybv92zw.ws-eu51.gitpod.io/)

Expected behavior

No error occurs and the update command finishes.

Example repository

https://github.com/ChristianHuff-DEV/update-test

Anything else?

Using the default image the error isn't reproducable.

@ChristianHuff-DEV ChristianHuff-DEV changed the title apt-get update when using gitpod/workspace-full-vnc apt-get update fails when using gitpod/workspace-full-vnc Jul 4, 2022
@pawlean pawlean transferred this issue from gitpod-io/gitpod Jul 5, 2022
@axonasif axonasif moved this to In Progress in 🌌 Workspace Team Jul 5, 2022
@axonasif axonasif moved this from In Progress to Blocked in 🌌 Workspace Team Jul 5, 2022
@axonasif axonasif moved this from Blocked to In Progress in 🌌 Workspace Team Jul 5, 2022
@axonasif axonasif moved this from In Progress to Done in 🌌 Workspace Team Jul 5, 2022
@axonasif axonasif moved this from Done to In Progress in 🌌 Workspace Team Jul 5, 2022
@kylos101 kylos101 removed the status in 🌌 Workspace Team Jul 5, 2022
@axonasif axonasif moved this to Scheduled in 🌌 Workspace Team Jul 5, 2022
@kylos101
Copy link
Collaborator

kylos101 commented Jul 5, 2022

@axonasif were you working this issue? I ask because it was set to in-progress on the project, but, there is no assignee. Lemme know?

@axonasif axonasif moved this from Scheduled to In Progress in 🌌 Workspace Team Jul 5, 2022
@axonasif axonasif moved this from In Progress to Blocked in 🌌 Workspace Team Jul 5, 2022
@axonasif axonasif removed the status in 🌌 Workspace Team Jul 5, 2022
@axonasif axonasif moved this to Scheduled in 🌌 Workspace Team Jul 5, 2022
@axonasif
Copy link
Member

axonasif commented Jul 5, 2022

@axonasif were you working this issue? I ask because it was set to in-progress on the project, but, there is no assignee. Lemme know?

Umm yes, I do intend to work on it. However in this particular case I was testing out a github to slack integration 🙈
Sorry if that caused confusion 😅

@axonasif axonasif self-assigned this Jul 5, 2022
@axonasif axonasif moved this from Scheduled to In Progress in 🌌 Workspace Team Jul 6, 2022
@axonasif axonasif moved this from In Progress to Scheduled in 🌌 Workspace Team Jul 6, 2022
@J0F3
Copy link

J0F3 commented Jul 8, 2022

I have the same problem. Any news how to fix that?
Thx!

@ChristianHuff-DEV
Copy link
Author

ChristianHuff-DEV commented Jul 8, 2022

As a workaround I removed the source list entry in my .gitpod.Dockerfile:

RUN sudo rm /etc/apt/sources.list.d/ungoogled_chromium.list

Not sure what the impact of that is. Probably Chromium won't be installed?

@J0F3
Copy link

J0F3 commented Jul 8, 2022

Thanks @ChristianHuff-DEV. I am also doing that for now.
As long as you do not install any packages from "ungoogled_chromium" by our own it should not have any impact at all. Chromium is still in the Image as it was already installed at built time of gitpod/workspace-full-vnc itself.

@axonasif
Copy link
Member

axonasif commented Jul 8, 2022

Seems like ungoogled-chromium isn't well maintained.

See:

Falling back to google-chrome with a few additional tweaks at #875:

  • Disable welcome screen
  • Disable 'set as default browser' prompt

to make it a bit more development focused.

Repository owner moved this from Scheduled to Done in 🌌 Workspace Team Jul 8, 2022
@J0F3
Copy link

J0F3 commented Jul 11, 2022

@axonasif Great news! Thank you!
But when looking at the image tag on docker hub I am a bit confused what to do now: https://hub.docker.com/r/gitpod/workspace-full-vnc/tags?page=1&ordering=last_updated

It says the latest tag was last updated 6 days ago and the latest "fixed" tag (which the GitPod documentation recommends to us use) is even 21 days old (https://hub.docker.com/layers/workspace-full-vnc/gitpod/workspace-full-vnc/2022-06-20-19-54-55/images/sha256-452b2d5d604c51fa39273668dc26c83b114e1611e4415ebe10443faf2a72cab6?context=explore)

So does that mean the update ist actually not published yet?

Thanks!

axonasif added a commit to gitpod-samples/template-flutter that referenced this issue Jul 22, 2022
@axonasif
Copy link
Member

Hi @J0F3, sorry for such a late reply. If you're still on it, you could use latest tag or the most recent timestamped tag now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants