Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Error: Unable to update package cache. Please try “sudo apt update”

Featured Replies

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

 

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.