Lekke Posted October 29, 2023 Posted October 29, 2023 Hey, im trying to install pihole on my very old banana pi bpi-m1 on an Armbian_22.11.0 OS (maybe that is the issue after all). im getting this error "Error: Unable to update package cache. Please try "sudo apt update" after that the installation wont continue. when i run sudo apt update it shows the following: Hit:1 http://ports.ubuntu.com jammy InRelease Hit:2 http://ports.ubuntu.com jammy-security InRelease Hit:3 http://ports.ubuntu.com jammy-updates InRelease Hit:4 http://ports.ubuntu.com jammy-backports InRelease Hit:5 http://ppa.launchpadcontent.net/saiarcot895/chromium-beta/ubuntu jammy InRelease Hit:6 http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease Hit:7 https://itai-nelken.github.io/weekly-box86-debs/debian InRelease Hit:8 http://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy InRelease Hit:9 http://deb.volian.org/volian scar InRelease Get:10 https://cli.github.com/packages stable InRelease [3,917 B] Err:10 https://cli.github.com/packages stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059 Hit:11 http://armbian.hosthatch.com/apt jammy InRelease Hit:12 https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium InRelease Reading package lists... Done W: GPG error: https://cli.github.com/packages stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059 E: The repository 'http://cli.github.com/packages stable 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. When i do sudo apt-get update it gives me this: Hit:2 http://ppa.launchpadcontent.net/saiarcot895/chromium-beta/ubuntu jammy InRelease Hit:3 http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease Hit:4 http://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy InRelease Hit:5 http://armbian.hosthatch.com/apt jammy InRelease Hit:6 http://ports.ubuntu.com jammy InRelease Hit:7 http://ports.ubuntu.com jammy-security InRelease Hit:8 http://ports.ubuntu.com jammy-updates InRelease Hit:9 http://ports.ubuntu.com jammy-backports InRelease Hit:11 https://itai-nelken.github.io/weekly-box86-debs/debian InRelease Hit:12 http://deb.volian.org/volian scar InRelease Get:1 https://cli.github.com/packages stable InRelease [3,917 B] Hit:10 https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium InRelease Err:1 https://cli.github.com/packages stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059 Reading package lists... Done W: GPG error: https://cli.github.com/packages stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059 E: The repository 'http://cli.github.com/packages stable 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. after doing both of these updates it still won't work. does anyone have an idea? many thanks in advance 0 Quote
ag123 Posted November 21, 2023 Posted November 21, 2023 I'm not sure if some hints from here may help, especially the initial post. it probably works if the public key is not expired (e.g. has no expiry dates). 0 Quote
Igor Posted November 21, 2023 Posted November 21, 2023 On 10/29/2023 at 2:59 PM, Lekke said: im getting this error "Error: Unable to update package cache. Please try "sudo apt update" after that the installation wont continue. If you don't use GitHub tools: sudo rm /etc/apt/sources.list.d/githubcli.list sudo apt update sudo apt upgrade 0 Quote
BOFFBOY Posted Thursday at 12:16 PM Posted Thursday at 12:16 PM thanks for this as i had this same issue. sudo rm /etc/apt/sources.list.d/githubcli.list sudo rm /var/lib/apt/lists/* -vf sudo apt-get clean sudo apt update 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.