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

"not have a Release file" error when building according to CONTRIBUTING.md #4567

Closed
avtoneru opened this issue Dec 14, 2022 · 4 comments
Closed

Comments

@avtoneru
Copy link

avtoneru commented Dec 14, 2022

I did everything according to the instructions on the CONTRIBUTING.md page. After
"sudo apt-add-repository https://cli.github.com/packages"
it displays the following:

Repository: 'deb https://cli.github.com/packages jammy main'
Description:
Archive for codename: jammy components: main
More info: https://cli.github.com/packages
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Found existing deb entry in /etc/apt/sources.list.d/archive_uri-https_cli_github_com_packages-jammy.list
Adding deb entry to /etc/apt/sources.list.d/archive_uri-https_cli_github_com_packages-jammy.list
Found existing deb-src entry in /etc/apt/sources.list.d/archive_uri-https_cli_github_com_packages-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/archive_uri-https_cli_github_com_packages-jammy.list
Ign:1 https://cli.github.com/packages jammy InRelease
Hit:2 http://ru.archive.ubuntu.com/ubuntu jammy InRelease
Err:3 https://cli.github.com/packages jammy Release
404 Not Found [IP: 185.199.109.153 443]
Hit:4 http://ru.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:5 http://ru.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:6 http://ru.archive.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
E: The repository 'https://cli.github.com/packages jammy 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.

After entering
"cd build
./compile.sh"

[ .... ] Updating and installing basic packages on host [ dialog acl uuid uuid-runtime ]
E: The repository 'https://cli.github.com/packages jammy Release' does not have a Release file.
[ o.k. ] Using config file [ /home/neru/build/userpatches/config-example.conf ]
/home/neru/build/lib/functions/configuration/interactive.sh: line 40: dialog: command not found
[ error ] ERROR in function interactive_config_ask_kernel_configure [ functions/cli/cli-entrypoint.sh:106 -> functions/main/config-prepare.sh:92 -> functions/configuration/interactive.sh:17 -> functions/configuration/interactive.sh:42 -> functions/logging/traps.sh:0 ]
[ error ] No option selected
[ o.k. ] Process terminated

Please, help.

@igorpecovnik
Copy link
Member

Please, help.

Try installing GH tool this way https://github.com/cli/cli/blob/trunk/docs/install_linux.md

@avtoneru
Copy link
Author

If you do as described in https://github.com/cli/cli/blob/trunk/docs/install_linux.md it still gives an error...

4+1 records in
4+1 records out
2270 bytes (2.3 kB, 2.2 KiB) copied, 0.00206541 s, 1.1 MB/s
Hit:1 http://ru.archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 https://cli.github.com/packages jammy InRelease
Hit:3 http://ru.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 https://cli.github.com/packages stable InRelease
Hit:5 http://ru.archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:6 https://cli.github.com/packages jammy Release
404 Not Found [IP: 185.199.108.153 443]
Hit:7 http://ru.archive.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
E: The repository 'https://cli.github.com/packages jammy 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.

@igorpecovnik
Copy link
Member

Err:6 https://cli.github.com/packages jammy Release
404 Not Found [IP: 185.199.108.153 443]

This is a connectivity problem between you and Github. If you can't install GH tool for some reason, try here https://github.com/cli/cli/issues

For build system functioning this is not essential. Also for making contributions.

@avtoneru
Copy link
Author

The script is running. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants