Can't install heidisql due to missing packages

carloscastaneda's profile image carloscastaneda posted 1 year ago in General Permalink

I just tried to install HeidiSQL on linux (debian 12) nd got the following errors:

sudo dpkg --install ~/Downloads/HeidiSQL_12.10.1.133.deb 
(Lese Datenbank ... 306338 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../HeidiSQL_12.10.1.133.deb ...
Entpacken von heidisql (12.10) über (12.10) ...
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von heidisql:
 heidisql hängt ab von libmysqlclient21 | libmariadb3 | libpq5 | sqlite3; aber:
  Paket libmysqlclient21 ist nicht installiert.
  Paket libmariadb3 ist nicht installiert.
  Paket libpq5 ist nicht installiert.
  Paket sqlite3 ist nicht installiert.

dpkg: Fehler beim Bearbeiten des Paketes heidisql (--install):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für gnome-menus (3.36.0-1.1) werden verarbeitet ...
Trigger für desktop-file-utils (0.26-1) werden verarbeitet ...
Trigger für mailcap (3.70+nmu1) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
 heidisql
ansgar's profile image ansgar posted 1 year ago Permalink

I guess you should install one of the dependencies by hand then, e.g. sudo apt install libmysqlclient21.

I was thinking that those dependencies are automatically installed if they're not there. Seems these installers on Linux don't do that.

carloscastaneda's profile image carloscastaneda posted 1 year ago Permalink

The dependent packages are usually installed automatically by the relevant installed package. I assume that this must be defined in the installation package, but I don't know how this could be done. I have manually installed all but one of the missing packages (libmysqlclient21). Contrary to my first assumption, HeidiSQL was installed and works. Still, it would be nice if there were no errors or warnings during installation. It's great to have a native version on Linux. I even managed to run heidisql under wine, but this approach is far better. Thanks a lot for your great work.

Please login to leave a reply, or register at first.