[Koha-devel] Dependency problem when installing Koha 21.11.10 on Debian 11

Michael Hafen michael.hafen at washk12.org
Wed Aug 3 19:46:04 CEST 2022


The "rabbitmq-server" service is not starting for some reason.  Since it
doesn't successfully start, the package manager considers it as not
installed correctly; and since koha-common depends on it, the package
manager doesn't do anything with koha-common.
The output from the package manager mentions trying "journalctl -xe" to see
why the "rabbitmq-server" isn't starting.  Once you figure out the problem
there and get it fixed, the rest of the package install process should go
smoothly.

On Wed, Aug 3, 2022 at 8:34 AM Michael Kuhn <mik at adminkuhn.ch> wrote:

> 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
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/
>


-- 
Michael Hafen
Washington County School District Technology Department
Systems Analyst
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220803/d3a09ac5/attachment-0001.htm>


More information about the Koha-devel mailing list