Jump to content

Recommended Posts

Posted

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

Posted
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

 

Posted

 

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines