Skip to content

Symlink sid → unstable in gh's repository #1827

@naoliv

Description

@naoliv

Describe the feature or problem you’d like to solve

When adding the repository in a Debian sid (unstable) system it creates the source as:

deb https://cli.github.com/packages sid main
# deb-src https://cli.github.com/packages sid main

But while running apt update we get:

Ign:3 https://cli.github.com/packages sid InRelease                            
Err:4 https://cli.github.com/packages sid Release                              
  404  Not Found [IP: 185.199.109.153 443]

E: The repository 'https://cli.github.com/packages sid Release' does not have a Release file.
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.

Replacing sid by unstable in sources.list works as expected.

Proposed solution

Since sid is also a valid release name, your repository should have a link sid pointing to unstable (so no matter if we use sid or unstable, we will always hit the same repository, as expected).

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIpackaging

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions