VSCodium/vscodium

E: Failed to fetch https://download.vscodium.com/debs/dists/vscodium/InRelease 403The repository 'https://download.vscodium.com/debs vscodium InRelease' is no longer signed. Updating from such a repository can't be done securely, and is therefore disabled by default.

Closed this issue · 4 comments

Describe the bug
A clear and concise description of what the bug is.

When attempting to install VSCodium on Pop!_OS 22.04 LTS using the official repository, the installation fails with a "403 Forbidden" error, indicating that the repository is either unavailable or not properly configured.

Please confirm that this problem is VSCodium-specific

  • This bug doesn't happen if I use Microsoft's Visual Studio Code. It only happens in VSCodium.

Please confirm that the issue/resolution isn't already documented

To Reproduce
Steps to reproduce the behavior:

  1. Add the GPG key for the repository:
    wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | gpg --dearmor | sudo dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg
  2. Add the repository to the sources list:
    echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://download.vscodium.com/debs vscodium main' | sudo tee /etc/apt/sources.list.d/vscodium.list
  3. Run the update command:
    sudo apt update
  4. See error:
    E: Failed to fetch https://download.vscodium.com/debs/dists/vscodium/InRelease  403  Forbidden [IP: 2400:52e0:1500::1092:1 443]
    E: The repository 'https://download.vscodium.com/debs vscodium InRelease' is no longer signed.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.

Expected behavior
The package list should update successfully, allowing the installation of VSCodium via sudo apt install codium.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Pop!_OS 22.04 LTS
  • Architecture: amd64
  • Version: N/A (installation failed)
  • App Manager: APT
  • Sandboxed: No

Additional context
Attempts to access the repository URL directly in a browser result in a "Domain suspended or not configured" error. This suggests an issue with the repository server or configuration.

Got a certficate error as well...

...
Err:17 https://download.vscodium.com/debs vscodium InRelease                                                                                                                                      
  Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 169.150.236.98 443]
Fetched 142 kB in 17s (8.508 B/s)                                                                                                                                                                 
Reading package lists... Done
W: Failed to fetch https://download.vscodium.com/debs/dists/vscodium/InRelease  Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 169.150.236.98 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
...

My OS, Ubuntu 22.04LTS

If you browse https://download.vscodium.com/ you'll find that the domain is suspended again. Which is why we're getting a certificate error.

It seems to be fine now.

Getting "Forbidden [IP: 143.244.49.183 443]" errors with apt as of Aug 13 2024. Probably want to re-open this issue.

E: Failed to fetch https://download.vscodium.com/debs/dists/vscodium/InRelease 403 Forbidden [IP: 143.244.49.183 443]
E: The repository 'https://download.vscodium.com/debs vscodium InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

Ubuntu Desktop 24.04