Only use one repository (i.e. 21.11) and you seem to be missing the step that adds the repository key, hence the errors.
Also, you're using aptitude. Which is fine. But it leads me think you're following the wrong instructions. Because the official ones you can just copy and paste. This is the wiki you should follow: https://wiki.koha-community.org/wiki/Koha_on_Debian Keep us posted, please. El vie, 8 abr 2022 13:31, C.S. Hayward <[email protected]> escribió: > I have tried to install Koha from the command line on a Jessie VPS, and > have run into errors relating to certificates. > > I would appreciate any help; a copy-paste of my first attempt is as > follows: > > Linux technoluddites.org 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 > (2020-06-07) x86_64 > > The programs included with the Debian GNU/Linux system are free software; > the exact distribution terms for each program are described in the > individual files in /usr/share/doc/*/copyright. > > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent > permitted by applicable law. > You have new mail. > Last login: Wed Apr 6 16:20:33 2022 from 73.147.143.7 > root@technoluddites:~# echo 'deb http://debian.koha-community.org/koha > stable main' | sudo tee /etc/apt/sources.list.d/koha.list > deb http://debian.koha-community.org/koha stable main > root@technoluddites:~# aptitude update > Get: 1 http://mirrors.linode.com/debian-security buster/updates InRelease > [65.4 kB] > Get: 2 http://mirrors.linode.com/debian buster-updates InRelease [51.9 kB] > Get: 3 http://mirrors.linode.com/debian buster InRelease [122 kB] > Get: 4 http://debian.koha-community.org/koha stable InRelease [69.8 kB] > Err http://debian.koha-community.org/koha stable InRelease > The following signatures couldn't be verified because the public key is > not available: NO_PUBKEY 3C9356BBA2E41F10 > Ign https://packages.sury.org/php buster InRelease > Err https://packages.sury.org/php buster Release > Certificate verification failed: The certificate is NOT trusted. The > certificate chain uses expired certificate. Could not handshake: Error in > the certificate verification. [IP: 195.181.164.178 443] > Fetched 309 kB in 2s (199 kB/s) > E: Repository 'http://mirrors.linode.com/debian-security buster/updates > InRelease' changed its 'Suite' value from 'stable' to 'oldstable' > E: Repository 'http://mirrors.linode.com/debian buster-updates InRelease' > changed its 'Suite' value from 'stable-updates' to 'oldstable-updates' > E: Repository 'http://mirrors.linode.com/debian buster InRelease' changed > its 'Suite' value from 'stable' to 'oldstable' > W: GPG error: http://debian.koha-community.org/koha stable InRelease: The > following signatures couldn't be verified because the public key is not > available: NO_PUBKEY 3C9356BBA2E41F10 > E: The repository 'http://debian.koha-community.org/koha stable > InRelease' is not signed. > E: The repository 'https://packages.sury.org/php buster Release' no > longer has a Release file. > E: Failed to download some files > W: Failed to fetch http://mirrors.linode.com/debian/dists/buster/InRelease > : > W: Failed to fetch > http://mirrors.linode.com/debian-security/dists/buster/updates/InRelease: > W: Failed to fetch > http://mirrors.linode.com/debian/dists/buster-updates/InRelease: > W: Failed to fetch > http://debian.koha-community.org/koha/dists/stable/InRelease: The > following signatures couldn't be verified because the public key is not > available: NO_PUBKEY 3C9356BBA2E41F10 > W: Failed to fetch https://packages.sury.org/php/dists/buster/Release: > Certificate verification failed: The certificate is NOT trusted. The > certificate chain uses expired certificate. Could not handshake: Error in > the certificate verification. [IP: 195.181.164.178 443] > E: Some index files failed to download. They have been ignored, or old > ones used instead. > > root@technoluddites:~# $ echo 'deb http://debian.koha-community.org/koha > 21.11 main' | sudo tee /etc/apt/sources.list.d/koha.list > -bash: $: command not found > root@technoluddites:~# echo 'deb http://debian.koha-community.org/koha > 21.11 main' | sudo tee /etc/apt/sources.list.d/koha.list > deb http://debian.koha-community.org/koha 21.11 main > root@technoluddites:~# aptitude update > Get: 1 http://debian.koha-community.org/koha 21.11 InRelease [69.8 kB] > Err http://debian.koha-community.org/koha 21.11 InRelease > The following signatures couldn't be verified because the public key is > not available: NO_PUBKEY 3C9356BBA2E41F10 > Get: 2 http://mirrors.linode.com/debian buster InRelease [122 kB] > Get: 3 http://mirrors.linode.com/debian-security buster/updates InRelease > [65.4 kB] > Get: 4 http://mirrors.linode.com/debian buster-updates InRelease [51.9 kB] > Ign https://packages.sury.org/php buster InRelease > Err https://packages.sury.org/php buster Release > Certificate verification failed: The certificate is NOT trusted. The > certificate chain uses expired certificate. Could not handshake: Error in > the certificate verification. [IP: 143.244.38.130 443] > Fetched 309 kB in 3s (91.9 kB/s) > W: GPG error: http://debian.koha-community.org/koha 21.11 InRelease: The > following signatures couldn't be verified because the public key is not > available: NO_PUBKEY 3C9356BBA2E41F10 > E: The repository 'http://debian.koha-community.org/koha 21.11 InRelease' > is not signed. > E: The repository 'https://packages.sury.org/php buster Release' no > longer has a Release file. > E: Repository 'http://mirrors.linode.com/debian buster InRelease' changed > its 'Suite' value from 'stable' to 'oldstable' > E: Repository 'http://mirrors.linode.com/debian-security buster/updates > InRelease' changed its 'Suite' value from 'stable' to 'oldstable' > E: Repository 'http://mirrors.linode.com/debian buster-updates InRelease' > changed its 'Suite' value from 'stable-updates' to 'oldstable-updates' > E: Failed to download some files > W: Failed to fetch http://mirrors.linode.com/debian/dists/buster/InRelease > : > W: Failed to fetch > http://mirrors.linode.com/debian-security/dists/buster/updates/InRelease: > W: Failed to fetch > http://mirrors.linode.com/debian/dists/buster-updates/InRelease: > W: Failed to fetch > http://debian.koha-community.org/koha/dists/21.11/InRelease: The > following signatures couldn't be verified because the public key is not > available: NO_PUBKEY 3C9356BBA2E41F10 > W: Failed to fetch https://packages.sury.org/php/dists/buster/Release: > Certificate verification failed: The certificate is NOT trusted. The > certificate chain uses expired certificate. Could not handshake: Error in > the certificate verification. [IP: 143.244.38.130 443] > E: Some index files failed to download. They have been ignored, or old > ones used instead. > > root@technoluddites:~# aptitude install lsb-release > lsb-release is already installed at the requested version (10.2019051400) > lsb-release is already installed at the requested version (10.2019051400) > No packages will be installed, upgraded, or removed. > 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > Need to get 0 B of archives. After unpacking 0 B will be used. > > root@technoluddites:~# echo 'deb http://debian.koha-community.org/koha > 20.05 main jessie' | sudo tee /etc/apt/sources.list.d/koha.list > deb http://debian.koha-community.org/koha 20.05 main jessie > root@technoluddites:~# echo 'deb http://debian.koha-community.org/koha > 21.11 main jessie' | sudo tee /etc/apt/sources.list.d/koha.list > deb http://debian.koha-community.org/koha 21.11 main jessie > root@technoluddites:~# vi /etc/apt/sources.list.d/koha.list > root@technoluddites:~# aptitude update > Get: 1 http://mirrors.linode.com/debian buster InRelease [122 kB] > Get: 2 http://mirrors.linode.com/debian-security buster/updates InRelease > [65.4 kB] > Ign https://packages.sury.org/php buster InRelease > Get: 3 http://mirrors.linode.com/debian buster-updates InRelease [51.9 kB] > Err https://packages.sury.org/php buster Release > Certificate verification failed: The certificate is NOT trusted. The > certificate chain uses expired certificate. Could not handshake: Error in > the certificate verification. [IP: 195.181.164.178 443] > Get: 4 http://debian.koha-community.org/koha 21.11 InRelease [69.8 kB] > Err http://debian.koha-community.org/koha 21.11 InRelease > The following signatures couldn't be verified because the public key is > not available: NO_PUBKEY 3C9356BBA2E41F10 > Fetched 309 kB in 1s (460 kB/s) > E: The repository 'https://packages.sury.org/php buster Release' no > longer has a Release file. > E: Repository 'http://mirrors.linode.com/debian buster InRelease' changed > its 'Suite' value from 'stable' to 'oldstable' > E: Repository 'http://mirrors.linode.com/debian-security buster/updates > InRelease' changed its 'Suite' value from 'stable' to 'oldstable' > E: Repository 'http://mirrors.linode.com/debian buster-updates InRelease' > changed its 'Suite' value from 'stable-updates' to 'oldstable-updates' > W: GPG error: http://debian.koha-community.org/koha 21.11 InRelease: The > following signatures couldn't be verified because the public key is not > available: NO_PUBKEY 3C9356BBA2E41F10 > E: The repository 'http://debian.koha-community.org/koha 21.11 InRelease' > is not signed. > E: Failed to download some files > W: Failed to fetch http://mirrors.linode.com/debian/dists/buster/InRelease > : > W: Failed to fetch > http://mirrors.linode.com/debian-security/dists/buster/updates/InRelease: > W: Failed to fetch > http://mirrors.linode.com/debian/dists/buster-updates/InRelease: > W: Failed to fetch > http://debian.koha-community.org/koha/dists/21.11/InRelease: The > following signatures couldn't be verified because the public key is not > available: NO_PUBKEY 3C9356BBA2E41F10 > W: Failed to fetch https://packages.sury.org/php/dists/buster/Release: > Certificate verification failed: The certificate is NOT trusted. The > certificate chain uses expired certificate. Could not handshake: Error in > the certificate verification. [IP: 195.181.164.178 443] > E: Some index files failed to download. They have been ignored, or old > ones used instead. > > root@technoluddites:~# aptitude install koha-common > Couldn't find any package whose name or description matched "koha-common" > Unable to apply some actions, aborting > root@technoluddites:~# > > Br. C.S. Hayward, author and apologist, and more importantly novice at St. > Demetrios Orthodox Monastery (monastery webshop, oKyrios social net) > > I invite you to visit my official author site (author bio, bookshelf). One > title is Happiness in an Age of Crisis: Ancient Wisdom from the Eastern > Orthodox Church. > > My newest posting is What to Own for Happiness (and what not). > _______________________________________________ > > Koha mailing list http://koha-community.org > [email protected] > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha > _______________________________________________ Koha mailing list http://koha-community.org [email protected] Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

