Skip to content

Install instructions for apt repository result in public key error, failure to install #2838

Description

@teleotic

Describe the bug
The installation directions for Debian / Ubuntu fail, giving a public key error and an empty packages list. After downloading the Wheels distribution key and adding the repository, sudo apt update fails:

Get:10 https://apt.wheels.dev stable InRelease [2,382 B]
Err:10 https://apt.wheels.dev stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCCCFC442D3DCEC5
Warning: https://apt.wheels.dev/dists/stable/InRelease: The key(s) in the keyring /usr/share/keyrings/wheels.gpg are ignored as the file has an unsupported filetype.
Warning: OpenPGP signature verification failed: https://apt.wheels.dev stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCCCFC442D3DCEC5
Error: The repository 'https://apt.wheels.dev stable InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.

This is because the key is downloaded in ASCII-armored format. It must be converted to binary before use by apt. The following line downloads and converts the GPG key:

curl -fsSL https://apt.wheels.dev/wheels.gpg | sudo gpg --dearmor -o /usr/share/keyrings/wheels.gpg

After conversion, apt update works as expected. However, the repository's package list is empty, so Wheels cannot be installed.

Error: Unable to locate package wheels

To Reproduce
Steps to reproduce the behavior:

  1. Follow website instructions for installing on Debian / Ubuntu
  2. Get error when running sudo apt update
  3. Convert gpg key to binary with dearmor
  4. sudo apt update now works but Package list is empty and wheels cannot be installed
  5. Empty page at https://apt.wheels.dev/dists/stable/main/binary-amd64/Packages

Expected behavior
No public key error. Packages list is populated and sudo apt install wheels completes successfully.

Desktop (please complete the following information):

  • OS: Ubuntu 26.04 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions