DockStation / dockstation

DockStation is developer-centric application to managing projects based on Docker. Instead of lots of CLI commands you can monitor, configure, and manage services and containers using just a GUI.
https://dockstation.io/
2.15k stars 107 forks source link

Debian 11 installation failed #295

Open atidot3 opened 2 years ago

atidot3 commented 2 years ago

Hi,

We just upgraded our environement to debian 11, Dockstation cannot be installed anymore since libappindicator1 is not a part of the bullseye release. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895037

`sudo dpkg -i dockstation_1.5.1_amd64.deb Sélection du paquet dockstation précédemment désélectionné. (Lecture de la base de données... 155047 fichiers et répertoires déjà installés.) Préparation du dépaquetage de dockstation_1.5.1_amd64.deb ... Dépaquetage de dockstation (1.5.1) ... dpkg: des problèmes de dépendances empêchent la configuration de dockstation : dockstation dépend de libappindicator1 ; cependant : Le paquet libappindicator1 n'est pas installé.

dpkg: erreur de traitement du paquet dockstation (--install) : problèmes de dépendances - laissé non configuré Traitement des actions différées (« triggers ») pour hicolor-icon-theme (0.17-2) ... Traitement des actions différées (« triggers ») pour gnome-menus (3.36.0-1) ... Traitement des actions différées (« triggers ») pour desktop-file-utils (0.26-1) ... Traitement des actions différées (« triggers ») pour mailcap (3.69) ... Des erreurs ont été rencontrées pendant l'exécution : dockstation `

Sputnik93 commented 2 years ago

Hello, libappindicator1 has been replaced by libappindicator3-1 in Debian 11. The "Depends" line in DEBIAN/control should be as follows: Depends: gconf2, gconf-service, libnotify4, libappindicator1 | libappindicator3-1, libxtst6, libnss3, libxss1 so systems with either one are able to install dockstation. I have done it and the installation is OK, and dockstation launches without any problem. I have not (yet) fully tested it, though.

S0GDevs commented 2 years ago

Hello everyone,

The answer of @Sputnik93 is correct but the libappindicator package is not available on Debian 11 anymore so we will use the libayatana-appindicator3-1 pakcage.
I'll give a walk-through of how to modify the .deb So once you've installed the .deb file, create a temporary directory (in which you will extract the .deb)

dpkg-deb -R *dockstation package*.deb *your temporary directory*

Now, go into your temporary folder and go into "DEBIAN" it's where you will find your control file. You can then nano into the control file and replace the following line : Depends: gconf2, gconf-service, libnotify4, libappindicator1, libxtst6, libnss3, libxss1 With : Depends: gconf2, gconf-service, libnotify4, libayatana-appindicator3-1, libxtst6, libnss3, libxss1

Once that's done, you can go out of your temporary directory and rebuild the .deb with the following command : dpkg-deb -b *your temporary directory* *name of your new package* .deb

You can now dpkg -i your new package and everything should go as planned