RodneyBradey
Posts: 2
Joined: Fri May 07, 2021 10:29 pm

sudo apt update - packagecloud.io unauthorized

Fri May 07, 2021 10:42 pm

the below now occurs, is this a problem on my machine or elsewhere ?

sudo apt update
Hit:1 https://download.docker.com/linux/raspbian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 http://archive.raspberrypi.org/debian buster InRelease
Err:4 https://packagecloud.io/headmelted/codebuilds/debian stretch InRelease
401 Unauthorized [IP: 54.183.38.243 443]
Hit:5 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Reading package lists... Done
E: Failed to fetch https://packagecloud.io/headmelted/code ... /InRelease 401 Unauthorized [IP: 54.183.38.243 443]
E: The repository 'https://packagecloud.io/headmelted/codebuilds/debian stretch InRelease' is no longer 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.

MiscBits
Posts: 1748
Joined: Wed Jan 27, 2021 12:48 pm

Re: sudo apt update - packagecloud.io unauthorized

Sat May 08, 2021 2:14 am

Not sure what you are trying to update / download from there (I assume they hosted a package you are interested in) but the whole structure for headmelted has gone.

A quick Google shows up this GitHub link and that leads to
I am no longer able to actively maintain this repository.
From the readme.

Above maybe totally unconnected though.

User avatar
rpdom
Posts: 22374
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: sudo apt update - packagecloud.io unauthorized

Sat May 08, 2021 4:19 am

Remove that packagecloud entry from either your /etc/apt/sources.list file, or one of the files in /etc/apt/sources.list.d/ , then run apt update again.
Unreadable squiggle

DirkS
Posts: 10882
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: sudo apt update - packagecloud.io unauthorized

Sat May 08, 2021 11:18 am

rpdom wrote:
Sat May 08, 2021 4:19 am
Remove that packagecloud entry from either your /etc/apt/sources.list file, or one of the files in /etc/apt/sources.list.d/ , then run apt update again.
It's the repo for headmelted's vscode builds. IIRC it's headmelted.list in /etc/apt/sources.list.d

vscode builds are now available from the RPF repo.

RodneyBradey
Posts: 2
Joined: Fri May 07, 2021 10:29 pm

Re: sudo apt update - packagecloud.io unauthorized

Sun May 09, 2021 11:32 pm

solved, thanks

skalawa
Posts: 1
Joined: Tue Jun 01, 2021 12:08 pm

Re: sudo apt update - packagecloud.io unauthorized

Tue Jun 01, 2021 12:12 pm

Very new to this and having the same problem, how was the issue solved?

zyrxvo
Posts: 1
Joined: Fri Jul 23, 2021 9:44 pm

Re: sudo apt update - packagecloud.io unauthorized

Sat Jul 24, 2021 8:03 pm

This also solved my issue. I'm kind of new to this too, but I can explain what I did.

Using the terminal I checked to see what was in the directory mentioned by rpdom
I did this with the terminal 'display contents of directory' command ls

Code: Select all

ls /etc/apt/sources.list.d/
This showed that I did have a headmelted.list file in the directory.
I deleted it from the directory using the 'remove' command with the 'prompt before deleting each file' flag rm -i just to be safe.

Code: Select all

sudo rm -i /etc/apt/sources.list.d/headmelted.list
I then was able to update everything with

Code: Select all

sudo apt update
like I wanted to before.

Return to “General discussion”