[Koha] [Koha-devel] Dependency problem when installing Koha 21.11.10 on Debian 11
Michael Kuhn
mik at adminkuhn.ch
Thu Aug 4 02:34:04 NZST 2022
Hi
Meanwhile I have also tried to install Koha 22.05.03 (instead of Koha
21.11.10) on a new machine with Debian 11 but it gave me the same error
concerning package "rabbitmq-server".
Is it really true that it is not possible to install these two revisions
on Debian 11?
Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch
Am 03.08.22 um 14:50 schrieb Michael Kuhn:
> Hi
>
> I've just run into problems when trying to install Koha 21.11.10 on a
> newly installed machine with Debian GNU/Linux 11.
>
> 1. This is the content of file "/etc/apt/sources.list.d/koha.list":
>
> deb http://debian.koha-community.org/koha 21.11 main
>
> 2. When starting the installation of Koha "apt-get update" gave:
>
> OK:1 http://asi-fs-n.contabo.net/debian bullseye InRelease
> OK:2 http://asi-fs-n.contabo.net/debian bullseye-updates InRelease
> OK:3 http://security.debian.org/debian-security bullseye-security InRelease
> Holen:4 http://debian.koha-community.org/koha 21.11 InRelease [69,8 kB]
> Holen:5 http://debian.koha-community.org/koha 21.11/main amd64 Packages
> [25,6 kB]
> Es wurden 95,4 kB in 1 s geholt (93,2 kB/s).
> Paketlisten werden gelesen… Fertig
>
> 2. Unfortunately the installation of Koha ended with the following:
>
> ...
> Fehler traten auf beim Bearbeiten von:
> rabbitmq-server
> koha-common
> needrestart is being skipped since dpkg has failed
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> 3. However, now "apt-get update" only gives:
>
> OK:1 http://asi-fs-n.contabo.net/debian bullseye InRelease
> OK:2 http://asi-fs-n.contabo.net/debian bullseye-updates InRelease
> OK:3 http://security.debian.org/debian-security bullseye-security InRelease
> OK:4 http://debian.koha-community.org/koha 21.11 InRelease
> Paketlisten werden gelesen… Fertig
>
> 4. When trying to complete the installation the following errors appear:
>
> $ sudo apt-get install koha-common
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> koha-common is already the newest version (21.11.10-1).
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 2 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue? [Y/n]
> Setting up rabbitmq-server (3.8.9-3) ...
> Job for rabbitmq-server.service failed because the control process
> exited with error code.
> See "systemctl status rabbitmq-server.service" and "journalctl -xe" for
> details.
> invoke-rc.d: initscript rabbitmq-server, action "start" failed.
> * rabbitmq-server.service - RabbitMQ Messaging Server
> Loaded: loaded (/lib/systemd/system/rabbitmq-server.service;
> enabled; vendor preset: enabled)
> Active: activating (auto-restart) (Result: exit-code) since Wed
> 2022-08-03 14:30:23 CEST; 11ms ago
> Process: 3343 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server
> (code=exited, status=1/FAILURE)
> Main PID: 3343 (code=exited, status=1/FAILURE)
> CPU: 5.506s
>
> Aug 03 14:30:23 bib-katalog.sintiundroma.de systemd[1]:
> rabbitmq-server.service: Failed with result 'exit-code'.
> Aug 03 14:30:23 bib-katalog.sintiundroma.de systemd[1]: Failed to start
> RabbitMQ Messaging Server.
> Aug 03 14:30:23 bib-katalog.sintiundroma.de systemd[1]:
> rabbitmq-server.service: Consumed 5.506s CPU time.
> dpkg: error processing package rabbitmq-server (--configure):
> installed rabbitmq-server package post-installation script subprocess
> returned error exit status 1
> dpkg: dependency problems prevent configuration of koha-common:
> koha-common depends on rabbitmq-server; however:
> Package rabbitmq-server is not configured yet.
>
> dpkg: error processing package koha-common (--configure):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
> rabbitmq-server
> koha-common
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> 5. How can I complete this incomplete installation?
>
> Best wishes: Michael
More information about the Koha
mailing list