[Koha] Initial difficulties installing Koha via packages per wiki instructions

Mason James mtj at kohaaloha.com
Wed Apr 13 14:04:42 NZST 2022


hi C.S

you can confirm the package was installed ok using the following command...

  $ dpkg -s koha-common | grep Status
  Status: install ok installed


you can ignore the following line, its a common systemd warning...
  'Failed to enable unit: Unit /run/systemd/generator.late/koha-common.service is transient or generated.'


On 13/04/22 5:39 am, C.S. Hayward wrote:
> I've attemptedly run through the installation script, and it appeared to run to completion, but with errors. A script, run through a Linux 'cat -v', was too large to post to the list but is available online at https://cjshayward.com/wp-content/project/script-expanded.txt.
>
> How much or little success is reflected in that?
>
> ------- Original Message -------
> On Friday, April 8th, 2022 at 10:32 AM, Tomas Cohen Arazi <tomascohen at gmail.com> wrote:
>
>
>> Oh you mentioned Jessie, which is unsupported entirely. Go for Buster and higher.
>> El vie, 8 abr 2022 13:31, C.S. Hayward <c.s.hayward at protonmail.com> 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at technoluddites:~# vi /etc/apt/sources.list.d/koha.list
>>> root at 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 at technoluddites:~# aptitude install koha-common
>>> Couldn't find any package whose name or description matched "koha-common"
>>> Unable to apply some actions, aborting
>>> root at 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
>>> Koha at lists.katipo.co.nz
>>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha



More information about the Koha mailing list