ToneLib GFX can't install on Ubuntu 24.04 LTS

Discussion in 'Bug Reports' started by lookash, Jul 24, 2024.

  1. lookash

    lookash New Member

    When I try to install tonelib GFX on Ubuntu 24.04 I end with following error:

    Selecting previously unselected package tonelib-gfx.
    (Reading database ... 206836 files and directories currently installed.)
    Preparing to unpack .../ToneLib-GFX-amd64 (1).deb ...
    Unpacking tonelib-gfx (4.8-1) ...
    dpkg: dependency problems prevent configuration of tonelib-gfx:
    tonelib-gfx depends on libgl1-mesa-glx (>= 18.0.5); however:
    Package libgl1-mesa-glx is not installed.

    dpkg: error processing package tonelib-gfx (--install):
    dependency problems - leaving unconfigured



    libgl1-mesa-glx has been a transitional package for a while and is now obsolete from Ubuntu 23.10 and onwards.

    Any plans to start using supported libraries? Currently I'm not able to use software I bought :(
    Thanks
     
    Angel Candelaria and tigny like this.
  2. Enea

    Enea New Member

    Yeah it's true! and every time i make an upgrade of any programm ask me to remove tonelib, so i have to install again. plz someone fix it!

    enea@Enea:~$ sudo apt upgrade
    Lettura elenco dei pacchetti... Fatto
    Generazione albero delle dipendenze... Fatto
    Lettura informazioni sullo stato... Fatto
    È utile eseguire "apt --fix-broken install" per correggere ciò.
    I seguenti pacchetti hanno dipendenze non soddisfatte:
    tonelib-bassdrive : Dipende: libgl1-mesa-glx (>= 18.0.5) ma non è installabile
    tonelib-gfx : Dipende: libgl1-mesa-glx (>= 18.0.5) ma non è installabile
    E: Dipendenze non soddisfatte. Provare "apt --fix-broken install" senza pacchetti (o specificare una soluzione).

    upload_2024-7-24_21-8-13.png

    enea@Enea:~$ sudo apt --fix-broken install
    Lettura elenco dei pacchetti... Fatto
    Generazione albero delle dipendenze... Fatto
    Lettura informazioni sullo stato... Fatto
    Correzione delle dipendenze... Fatto
    I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
    libgssdp-1.6-0 libgstreamer-plugins-bad1.0-0 libgupnp-1.6-0 libgupnp-igd-1.6-0
    libnice10 libsdl-image1.2 libsdl1.2debian linux-headers-6.8.0-35
    linux-headers-6.8.0-35-generic linux-image-6.8.0-35-generic
    linux-modules-6.8.0-35-generic linux-modules-extra-6.8.0-35-generic
    linux-tools-6.8.0-35 linux-tools-6.8.0-35-generic
    Usare "sudo apt autoremove" per rimuoverli.
    I seguenti pacchetti saranno RIMOSSI:
    tonelib-bassdrive tonelib-gfx
    0 aggiornati, 0 installati, 2 da rimuovere e 3 non aggiornati.
    2 non completamente installati o rimossi.
    Dopo quest'operazione, verranno liberati 135 MB di spazio su disco.
    Continuare? [S/n] ^C
     
    tigny likes this.
  3. el_curtismo

    el_curtismo New Member

    I just had the same problem on 24.04.

    I eventually solved it following this help: https://ubuntuforums.org/showthread.php?t=2497614
    1. Download the dummy package from https://packages.ubuntu.com/search?keywords=libgl1-mesa-glx
    2. sudo apt --fix-broken install (to cleanup the incomplete installation of Tonelib GFX)
    3. sudo apt install ./libgl1-mesa-glx_23.0.4-0ubuntu1~22.04.1_amd64.deb (from the folder where the downloaded dummy package is located)
    Now try to install the Tonelib-GFX deb package again. This time, it worked for me.
     
  4. karlosnoir

    karlosnoir New Member

    Excellent Genius! I downloaded the package libgl1-mesa-glx_22.0.1-1ubuntu2_amd64.deb after running it in the terminal as you said: "sudo apt --fix-broken install (to cleanup the incomplete installation of Tonelib GFX)". It worked perfectly in Ubuntu Studio 24. Thank you very much for the contribution.
     
    cacao74 likes this.
  5. docg1701

    docg1701 New Member

    Hi! I created a Docker solution that solves the ToneLib-GFX installation issues on modern Linux distributions.
    The problem: ToneLib-GFX depends on libgl1-mesa-glx and libcurl3-gnutls which no longer exist in recent distros.
    The solution: Docker container with Ubuntu 20.04 that has all dependencies. Works out of the box, no setup needed just run a script and it does everything. Also, there is another script to add Tonelib to your system menu. It works great here with Mint Linux 22.1.
    Feedback is greatly appreciated.
    Check it out on github: https://github.com/docg1701/tonelib-docker