1 / 3
Nov 2020

When trying to install guacamole using the package, it fails on my test system.

Test system is basic Debian 10.
The commands I run are:
apt-get update
apt-get upgrade
apt-get update
echo ‘deb http://download.opensuse.org/repositories/server:/eGroupWare/Debian_10/ /’ > /etc/apt/sources.list.d/server:eGroupWare.list
apt-get install gnupg
wget -nv https://download.opensuse.org/repositories/server:eGroupWare/Debian_10/Release.key -O - | apt-key add -
apt-get update
apt-get install egroupware-docker
HTTP_HOST=egw.test apt install egroupware-guacamole

After the last command, it fails with:
Setting up egroupware-guacamole (1.2.0.20200707) …
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
dpkg: error processing package egroupware-guacamole (–configure):
installed egroupware-guacamole package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
egroupware-guacamole

The docker-compose file for guacamole does mention it can not use the socket, but as this is package-installed, I was expecting this to work.

  • created

    Nov '20
  • last reply

    Nov '20
  • 2

    replies

  • 1.2k

    views

  • 3

    users

  • 2

    links

I can/must confirm this:

egroupware-guacamole (1.2.0.20200707) wird eingerichtet ...
/var/lib/dpkg/info/egroupware-guacamole.postinst: 29: /var/lib/dpkg/info/egroupw
are-guacamole.postinst: mysql: not found
dpkg: Fehler beim Bearbeiten des Paketes egroupware-guacamole (--configure):
 »installiertes egroupware-guacamole-Skript des Paketes post-installation«-Unter
prozess gab den Fehlerwert 127 zurück

Stefan

It should have a dependency on egroupware-docker.

I have not added the dependency, as it might make sense to install on a different server, thought that does not integrate automatic.

And it currently requires an upgraded from pre 20.1 installation, need to fix that too.

Ralf