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

2022-08-05 Thread Michael Kuhn

Hi Harald

You wrote:

> under Ubuntu there is a file /var/log/apt/term.log, which has a
> detailed protocol about the installation initiated by the apt command.
>
> Might be it exists also under debian.
>
> Have you checked this file after the half-done installation of
> rabbitmq-server?

No, I didn't, but thanks for the hint!

Meanwhile I was able to solve the (networking) problem as described in 
the mail attached below.


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 m...@adminkuhn.ch · W www.adminkuhn.ch




 Weitergeleitete Nachricht ----
Betreff: Re: [Koha-devel] Dependency problem when installing Koha 
21.11.10 on Debian 11

Datum: Fri, 5 Aug 2022 08:11:56 +0200
Von: Michael Kuhn 
Antwort an: Michael Kuhn 
Organisation: Admin Kuhn GmbH
An: Michael Hafen 
Kopie (CC): koha-de...@lists.koha-community.org, Koha 



Hi Michael

Thank you so much! After going througfh the files in directory 
"/var/log/rabbitmq" I found some error reading


ERROR: epmd error for host YOUR_HOSTNAME: timeout (timed out) solution

Eventually I was able to solve the problem by adding the hostname to the 
127.0.0.1 line in file "/etc/hosts":


127.0.0.1 bib-katalog localhost

There are probably other solutions but for now I'm fine. Thanks again!

And of course, as Mason wrote, the following command is now successful:

# systemctl status rabbitmq-server.service  | grep -i status
  Status: "Initialized"

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 m...@adminkuhn.ch · W www.adminkuhn.ch





Am 04.08.22 um 16:46 schrieb Michael Kuhn:

Hi Mason

You wrote:

>> Do you maybe have any hint how to find out what could be the problem
>> with the failing configuration of package "rabbitmq-server"?
>
> try reinstalling rabbitmq-server first, then installing koha-common
>
>   # apt purge rabbitmq-server koha-common
>   # apt install rabbitmq-server
>   # apt install koha-common
>
>
> note the 'Status' value when rabbitmq is running correctly
>
> root@deb11:#  systemctl status rabbitmq-server.service
> * rabbitmq-server.service - RabbitMQ Messaging Server
>   Loaded: loaded (/lib/systemd/system/rabbitmq-server.service;
> enabled; vendor pre>
>   Active: active (running) since Thu 2022-08-04 13:21:32 UTC; 2min
> 56s ago
> Main PID: 5844 (beam.smp)
>   Status: "Initialized" <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>    Tasks: 86 (limit: 2190)
>   Memory: 75.3M
>  CPU: 11.458s
>   CGroup: /system.slice/rabbitmq-server.service
>   |-5844 /usr/lib/erlang/erts-11.1.8/bin/beam.smp -W w -K
> true -A 64 -MBas>
>   |-5944 erl_child_setup 65536
>   |-5994 inet_gethost 4
>   `-5995 inet_gethost 4
>
>>
>> Did anyone out there successfully install either Koha 21.11.10 or
>> Koha 22.05.03 on a new machine with Debian GNU/Linux 11?
>
> yes,  i confirmed that both versions install ok on deb11

I just purged both packages, then tried to install "rabbitmq-server":


root@bib-katalog:~# apt install rabbitmq-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer 
required:
  at daemon docbook-xml docbook-xsl fontconfig fonts-dejavu 
fonts-dejavu-extra

  gettext graphviz gsfonts icu-devtools idzebra-2.0 idzebra-2.0-common
  idzebra-2.0-doc idzebra-2.0-utils libalgorithm-c3-perl
  libalgorithm-checkdigits-perl libann0 libany-uri-escape-perl
  libanyevent-http-perl libanyevent-perl 
libapache-logformat-compiler-perl

  libapache2-mpm-itk libappconfig-perl libarchive-extract-perl
  libarchive-zip-perl libarray-utils-perl libasync-interrupt-perl
  libauth-googleauth-perl libauthen-cas-client-perl libb-debug-perl
  libb-hooks-endofscope-perl libb-hooks-op-check-perl 
libbarcode-code128-perl
  libbiblio-endnotestyle-perl libbit-vector-perl 
libbusiness-isbn-data-perl

  libbusiness-isbn-perl libbusiness-issn-perl libbytes-random-secure-perl
  libcache-memcached-fast-perl libcache-memcached-fast-safe-perl
  libcache-memcached-perl libcairo2 libcapture-tiny-perl
  libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl libcdt5
  libcgi-compile-perl libcgi-emulate-psgi-perl
  libcgi-session-driver-memcached-perl libcgi-session-perl libcgraph6
  libclass-accessor-chained-perl libclass-accessor-grouped-perl
  libclass-accessor-perl libclass-adapter-perl 
libclass-c3-com

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

2022-08-05 Thread Harald Schaefer

Hi Michael,

under Ubuntu there is a file /var/log/apt/term.log, which has a detailed 
protocol about the installation initiated by the apt command.


Might be it exists also under debian.

Have you checked this file after the half-done installation of 
rabbitmq-server?


Greetings, Harald

Am 04.08.22 um 16:46 schrieb Michael Kuhn:

Hi Mason

You wrote:

>> Do you maybe have any hint how to find out what could be the problem
>> with the failing configuration of package "rabbitmq-server"?
>
> try reinstalling rabbitmq-server first, then installing koha-common
>
>   # apt purge rabbitmq-server koha-common
>   # apt install rabbitmq-server
>   # apt install koha-common
>
>
> note the 'Status' value when rabbitmq is running correctly
>
> root@deb11:#  systemctl status rabbitmq-server.service
> * rabbitmq-server.service - RabbitMQ Messaging Server
>   Loaded: loaded (/lib/systemd/system/rabbitmq-server.service;
> enabled; vendor pre>
>   Active: active (running) since Thu 2022-08-04 13:21:32 UTC; 2min
> 56s ago
> Main PID: 5844 (beam.smp)
>   Status: "Initialized" <<<
>    Tasks: 86 (limit: 2190)
>   Memory: 75.3M
>  CPU: 11.458s
>   CGroup: /system.slice/rabbitmq-server.service
>   |-5844 /usr/lib/erlang/erts-11.1.8/bin/beam.smp -W w -K
> true -A 64 -MBas>
>   |-5944 erl_child_setup 65536
>   |-5994 inet_gethost 4
>   `-5995 inet_gethost 4
>
>>
>> Did anyone out there successfully install either Koha 21.11.10 or
>> Koha 22.05.03 on a new machine with Debian GNU/Linux 11?
>
> yes,  i confirmed that both versions install ok on deb11

I just purged both packages, then tried to install "rabbitmq-server":


root@bib-katalog:~# apt install rabbitmq-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer 
required:
  at daemon docbook-xml docbook-xsl fontconfig fonts-dejavu 
fonts-dejavu-extra

  gettext graphviz gsfonts icu-devtools idzebra-2.0 idzebra-2.0-common
  idzebra-2.0-doc idzebra-2.0-utils libalgorithm-c3-perl
  libalgorithm-checkdigits-perl libann0 libany-uri-escape-perl
  libanyevent-http-perl libanyevent-perl 
libapache-logformat-compiler-perl

  libapache2-mpm-itk libappconfig-perl libarchive-extract-perl
  libarchive-zip-perl libarray-utils-perl libasync-interrupt-perl
  libauth-googleauth-perl libauthen-cas-client-perl libb-debug-perl
  libb-hooks-endofscope-perl libb-hooks-op-check-perl 
libbarcode-code128-perl
  libbiblio-endnotestyle-perl libbit-vector-perl 
libbusiness-isbn-data-perl

  libbusiness-isbn-perl libbusiness-issn-perl libbytes-random-secure-perl
  libcache-memcached-fast-perl libcache-memcached-fast-safe-perl
  libcache-memcached-perl libcairo2 libcapture-tiny-perl
  libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl libcdt5
  libcgi-compile-perl libcgi-emulate-psgi-perl
  libcgi-session-driver-memcached-perl libcgi-session-perl libcgraph6
  libclass-accessor-chained-perl libclass-accessor-grouped-perl
  libclass-accessor-perl libclass-adapter-perl 
libclass-c3-componentised-perl

  libclass-c3-perl libclass-c3-xs-perl libclass-data-inheritable-perl
  libclass-factory-util-perl libclass-inspector-perl libclass-isa-perl
  libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl
  libclass-mix-perl libclass-returnvalue-perl libclass-singleton-perl
  libclass-tiny-perl libclass-unload-perl libclass-xsaccessor-perl
  libclone-choose-perl libconfig-any-perl libconfig-general-perl
  libconfig-tiny-perl libcontext-preserve-perl libconvert-base32-perl
  libconvert-binhex-perl libcookie-baker-perl libcookie-baker-xs-perl
  libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-jwt-perl
  libcrypt-random-seed-perl libcrypt-rc4-perl libcrypt-rijndael-perl
  libcryptx-perl libcurry-perl libdata-dumper-concise-perl 
libdata-ical-perl

  libdata-optlist-perl libdata-page-perl libdate-calc-perl
  libdate-calc-xs-perl libdate-manip-perl libdatetime-event-ical-perl
  libdatetime-event-recurrence-perl libdatetime-format-builder-perl
  libdatetime-format-ical-perl libdatetime-format-mail-perl
  libdatetime-format-mysql-perl libdatetime-format-strptime-perl
  libdatetime-format-w3cdtf-perl libdatetime-locale-perl libdatetime-perl
  libdatetime-set-perl libdatetime-timezone-perl libdatrie1 
libdbd-mock-perl

  libdbd-pg-perl libdbd-sqlite3-perl libdbix-class-perl
  libdbix-class-schema-loader-perl libdbix-runsql-perl 
libdevel-argnames-perl

  libdevel-callchecker-perl libdevel-caller-perl libdevel-cover-perl
  libdevel-globaldestruction-perl libdevel-lexalias-perl
  libdevel-overloadinfo-perl libdevel-partialdump-perl
  libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl
  libdevel-symdump-perl libdigest-bubblebabble-perl 
libdigest-perl-md5-perl

  libdist-checkconflicts-perl libdynaloader-functions-perl
  libemail-abstract-perl 

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

2022-08-04 Thread Michael Kuhn

Hi Mason

You wrote:

>> Do you maybe have any hint how to find out what could be the problem
>> with the failing configuration of package "rabbitmq-server"?
>
> try reinstalling rabbitmq-server first, then installing koha-common
>
>   # apt purge rabbitmq-server koha-common
>   # apt install rabbitmq-server
>   # apt install koha-common
>
>
> note the 'Status' value when rabbitmq is running correctly
>
> root@deb11:#  systemctl status rabbitmq-server.service
> * rabbitmq-server.service - RabbitMQ Messaging Server
>   Loaded: loaded (/lib/systemd/system/rabbitmq-server.service;
> enabled; vendor pre>
>   Active: active (running) since Thu 2022-08-04 13:21:32 UTC; 2min
> 56s ago
> Main PID: 5844 (beam.smp)
>   Status: "Initialized" <<<
>Tasks: 86 (limit: 2190)
>   Memory: 75.3M
>  CPU: 11.458s
>   CGroup: /system.slice/rabbitmq-server.service
>   |-5844 /usr/lib/erlang/erts-11.1.8/bin/beam.smp -W w -K
> true -A 64 -MBas>
>   |-5944 erl_child_setup 65536
>   |-5994 inet_gethost 4
>   `-5995 inet_gethost 4
>
>>
>> Did anyone out there successfully install either Koha 21.11.10 or
>> Koha 22.05.03 on a new machine with Debian GNU/Linux 11?
>
> yes,  i confirmed that both versions install ok on deb11

I just purged both packages, then tried to install "rabbitmq-server":


root@bib-katalog:~# apt install rabbitmq-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer 
required:
  at daemon docbook-xml docbook-xsl fontconfig fonts-dejavu 
fonts-dejavu-extra

  gettext graphviz gsfonts icu-devtools idzebra-2.0 idzebra-2.0-common
  idzebra-2.0-doc idzebra-2.0-utils libalgorithm-c3-perl
  libalgorithm-checkdigits-perl libann0 libany-uri-escape-perl
  libanyevent-http-perl libanyevent-perl libapache-logformat-compiler-perl
  libapache2-mpm-itk libappconfig-perl libarchive-extract-perl
  libarchive-zip-perl libarray-utils-perl libasync-interrupt-perl
  libauth-googleauth-perl libauthen-cas-client-perl libb-debug-perl
  libb-hooks-endofscope-perl libb-hooks-op-check-perl 
libbarcode-code128-perl

  libbiblio-endnotestyle-perl libbit-vector-perl libbusiness-isbn-data-perl
  libbusiness-isbn-perl libbusiness-issn-perl libbytes-random-secure-perl
  libcache-memcached-fast-perl libcache-memcached-fast-safe-perl
  libcache-memcached-perl libcairo2 libcapture-tiny-perl
  libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl libcdt5
  libcgi-compile-perl libcgi-emulate-psgi-perl
  libcgi-session-driver-memcached-perl libcgi-session-perl libcgraph6
  libclass-accessor-chained-perl libclass-accessor-grouped-perl
  libclass-accessor-perl libclass-adapter-perl 
libclass-c3-componentised-perl

  libclass-c3-perl libclass-c3-xs-perl libclass-data-inheritable-perl
  libclass-factory-util-perl libclass-inspector-perl libclass-isa-perl
  libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl
  libclass-mix-perl libclass-returnvalue-perl libclass-singleton-perl
  libclass-tiny-perl libclass-unload-perl libclass-xsaccessor-perl
  libclone-choose-perl libconfig-any-perl libconfig-general-perl
  libconfig-tiny-perl libcontext-preserve-perl libconvert-base32-perl
  libconvert-binhex-perl libcookie-baker-perl libcookie-baker-xs-perl
  libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-jwt-perl
  libcrypt-random-seed-perl libcrypt-rc4-perl libcrypt-rijndael-perl
  libcryptx-perl libcurry-perl libdata-dumper-concise-perl 
libdata-ical-perl

  libdata-optlist-perl libdata-page-perl libdate-calc-perl
  libdate-calc-xs-perl libdate-manip-perl libdatetime-event-ical-perl
  libdatetime-event-recurrence-perl libdatetime-format-builder-perl
  libdatetime-format-ical-perl libdatetime-format-mail-perl
  libdatetime-format-mysql-perl libdatetime-format-strptime-perl
  libdatetime-format-w3cdtf-perl libdatetime-locale-perl libdatetime-perl
  libdatetime-set-perl libdatetime-timezone-perl libdatrie1 
libdbd-mock-perl

  libdbd-pg-perl libdbd-sqlite3-perl libdbix-class-perl
  libdbix-class-schema-loader-perl libdbix-runsql-perl 
libdevel-argnames-perl

  libdevel-callchecker-perl libdevel-caller-perl libdevel-cover-perl
  libdevel-globaldestruction-perl libdevel-lexalias-perl
  libdevel-overloadinfo-perl libdevel-partialdump-perl
  libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl
  libdevel-symdump-perl libdigest-bubblebabble-perl libdigest-perl-md5-perl
  libdist-checkconflicts-perl libdynaloader-functions-perl
  libemail-abstract-perl libemail-address-perl libemail-address-xs-perl
  libemail-date-format-perl libemail-date-perl libemail-messageid-perl
  libemail-mime-contenttype-perl libemail-mime-encodings-perl
  libemail-mime-perl libemail-sender-perl libemail-simple-perl
  libemail-stuffer-perl libeval-closure-perl libevent-2.1-7
  libex-monkeypatched-perl libexception-class-perl 

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

2022-08-04 Thread Michael Kuhn

Hi Michael

Thanks fpr your answer! Unfortunately I'm not able to figure out the 
problem. "journalctl -xe" and "systemctl status rabbitmq-server.service" 
both seem to show a working rabbitmq-server, but when trying to finish 
the installation of package "koha-common" it fails with the same error 
as before:


# journalctl -xe
░░ up or be started at any later time.
░░
░░ Startup of the manager took 238830 microseconds.
Aug 04 09:07:14 bib-katalog.sintiundroma.de systemd[1]: Started User 
Manager fo>

░░ Subject: A start job for unit user@1000.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit user@1000.service has finished successfully.
░░
░░ The job identifier is 87146.
Aug 04 09:07:14 bib-katalog.sintiundroma.de systemd[1]: Started Session 
40 of u>

░░ Subject: A start job for unit session-40.scope has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit session-40.scope has finished successfully.
░░
░░ The job identifier is 87212.
Aug 04 09:07:14 bib-katalog.sintiundroma.de sudo[312293]: koha : 
TTY=pts/0 >
Aug 04 09:07:14 bib-katalog.sintiundroma.de sudo[312293]: 
pam_unix(sudo:session>
Aug 04 09:07:14 bib-katalog.sintiundroma.de su[312294]: (to root) koha 
on pts/0
Aug 04 09:07:14 bib-katalog.sintiundroma.de su[312294]: 
pam_unix(su-l:session):>



# systemctl status rabbitmq-server.service
● rabbitmq-server.service - RabbitMQ Messaging Server
 Loaded: loaded (/lib/systemd/system/rabbitmq-server.service; 
enabled; vend>

 Active: activating (start) since Thu 2022-08-04 09:11:43 CEST; 4s ago
   Main PID: 313407 (beam.smp)
  Tasks: 90 (limit: 9510)
 Memory: 54.3M
CPU: 2.952s
 CGroup: /system.slice/rabbitmq-server.service
 ├─313407 /usr/lib/erlang/erts-11.1.8/bin/beam.smp -W w -K 
true -A >

 ├─313509 erl_child_setup 65536
 ├─313566 inet_gethost 4
 └─313567 inet_gethost 4

Aug 04 09:11:43 bib-katalog.sintiundroma.de systemd[1]: Starting 
RabbitMQ Messa>



Here I am trying to finish the installation. It is the same if I only 
try to (finish to) install "koha-common" and/or "mariadb-server". In the 
past this always worked without any problems.


# apt-get install koha-common mariadb-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
koha-common is already the newest version (22.05.03-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] Y
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 Thu 
2022-08-04 09:16:53 CEST; 20ms ago
Process: 314689 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server 
(code=exited, status=1/FAILURE)

   Main PID: 314689 (code=exited, status=1/FAILURE)
CPU: 6.436s

Aug 04 09:16:53 bib-katalog.sintiundroma.de systemd[1]: 
rabbitmq-server.service: Consumed 6.436s 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
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)


The following command gives the same error:

# dpkg --configure rabbitmq-server
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 Thu 
2022-08-04 09:33:47 CEST; 8ms ago
Process: 31 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server 
(code=exited, status=1/FAILURE)

   Main PID: 31 (code=exited, status=1/FAILURE)
CPU: 7.157s
dpkg: error processing package rabbitmq-server (--configure):
 installed 

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

2022-08-03 Thread Mason James


On 4/08/22 2:34 am, Michael Kuhn 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

hi Michael
i often use docker to confirm that koha installs successfully

you can use the following transcript to confirm it is possible to install...

--
mason@xen1:~$ docker run -it debian:11
root@104f8750cb71:/# apt-get update
root@104f8750cb71:/# apt-get -y install ca-certificates wget gnupg2 dialog 
apt-utils sudo
root@104f8750cb71:/# wget -q -O- https://debian.koha-community.org/koha/gpg.asc 
| sudo apt-key add -
root@104f8750cb71:/# echo 'deb http://debian.koha-community.org/koha 22.05 
main' | sudo tee /etc/apt/sources.list.d/koha.list
root@104f8750cb71:/# apt-get update


root@104f8750cb71:/# apt-get -y install koha-common
...
Setting up koha-common (22.05.03-1) ...
...
root@2941ef956ace:/# echo $?
0


root@104f8750cb71:/# apt policy koha-common
koha-common:
  Installed: 22.05.03-1
  Candidate: 22.05.03-1
  Version table:
 *** 22.05.03-1 500
    500 http://debian.koha-community.org/koha 22.05/main amd64 Packages
    100 /var/lib/dpkg/status

root@104f8750cb71:/# apt policy rabbitmq-server
rabbitmq-server:
  Installed: 3.8.9-3
  Candidate: 3.8.9-3
  Version table:
 *** 3.8.9-3 500
    500 http://deb.debian.org/debian bullseye/main amd64 Packages
    100 /var/lib/dpkg/status

root@2941ef956ace:/# exit
exit
mason@xen1:~$
--

___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


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

2022-08-03 Thread Michael Kuhn

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 m...@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 mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha