Continuing the discussion from Yunohost is not updating anymore - Apt-key signature issue?:
/ Message template (english)
My YunoHost server
Hardware: Raspberry Pi (specify version, 3) at home
YunoHost version: 4.3.6.3
I have access to my server : Through SSH & through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no / yes
If yes, please explain:
Description of my issue
Hello Again,
my server is still offline, but reachable via ssh and webadmin over the local network. Updates are not possible. Not via Webadmin or ssh.
I think I broke my /etc/apt/sources.list
Finally I took it from the actual raspian package and replaced bullseye by buster.
deb http://deb.debian.org/debian buster main contrib non-free
deb http://security.debian.org/debian-security buster-security main contrib non$
deb http://deb.debian.org/debian buster-updates main contrib non-free
# Uncomment deb-src lines below then 'apt-get update' to enable 'apt-get source'
#deb-src http://deb.debian.org/debian bullseye main contrib non-free
#deb-src http://security.debian.org/debian-security bullseye-security main cont$
#deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
Could anybody show me how it should look like for buster?
:~# sudo apt update
Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Ign:2 http://security.debian.org/debian-security buster-security InRelease
Err:3 http://security.debian.org/debian-security buster-security Release
404 Not Found [IP: 2a04:4e42:47::644 80]
Get:4 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
Get:5 https://forge.yunohost.org/debian buster InRelease [18.2 kB]
Err:1 http://deb.debian.org/debian buster InRelease
Unknown error executing apt-key
Ign:6 https://forge.yunohost.org/debian/dists/buster stable InRelease
Err:7 https://forge.yunohost.org/debian/dists/buster stable Release
404 Not Found [IP: 2001:910:1410::1 443]
Err:4 http://deb.debian.org/debian buster-updates InRelease
Unknown error executing apt-key
Get:8 https://forge.yunohost.org/debian buster/stable armhf Packages [6,164 B]
Reading package lists... Done
E: The repository 'http://security.debian.org/debian-security buster-security 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.
W: GPG error: http://deb.debian.org/debian buster InRelease: Unknown error executing apt-key
E: The repository 'http://deb.debian.org/debian buster 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.
E: The repository 'https://forge.yunohost.org/debian/dists/buster stable 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.
W: GPG error: http://deb.debian.org/debian buster-updates InRelease: Unknown error executing apt-key
E: The repository 'http://deb.debian.org/debian buster-updates 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.
E: Method store has died unexpectedly!
E: Sub-process store received a segmentation fault.
E: Method /usr/lib/apt/methods/store did not start correctly
Error: "500" Internal Server Error
Action: "PUT" /yunohost/api/update/all
Error message:
Unable to update the cache of APT (Debian's package manager). Here is a dump of the sources.list lines, which might help identify problematic lines:
sources.list:deb http://deb.debian.org/debian buster main contrib non-free sources.list:deb http://security.debian.org/debian-security buster-security main contrib non-free sources.list:deb http://deb.debian.org/debian buster-updates main contrib non-free sources.list.d/yunohost.sources:Types: deb deb-src sources.list.d/yunohost.sources:URIs: https://forge.yunohost.org/debian/dists/buster sources.list.d/yunohost.sources:Suites: stable sources.list.d/yunohost.sources:Components: main sources.list.d/yunohost.sources:Signed-By: /usr/share/keyrings/yunohost.gpg sources.list.d/yunohost.list:deb [signed-by=/usr/share/keyrings/yunohost.gpg] https://forge.yunohost.org/debian buster stable
While processing the action the server said:
Fetching available upgrades for system packages...
E: The repository 'http://security.debian.org/debian-security buster-security Release' does not have a Release file.
W: GPG error: http://deb.debian.org/debian buster InRelease: Unknown error executing apt-key
E: The repository 'http://deb.debian.org/debian buster InRelease' is not signed.
E: The repository 'https://forge.yunohost.org/debian/dists/buster stable Release' does not have a Release file.
W: GPG error: http://deb.debian.org/debian buster-updates InRelease: Unknown error executing apt-key
E: The repository 'http://deb.debian.org/debian buster-updates InRelease' is not signed.
E: Method store has died unexpectedly!
E: Sub-process store received a segmentation fault.
E: Method /usr/lib/apt/methods/store did not start correctly