Installing Gambas 3.20 problem
Posted
#1
(In Topic #1399)
Regular

I'm trying to install gambas 3.20 on Mint 21, but keep getting errors (in Synaptic) with broken packages!
Can't even revert to 3.19 for the same reasons, so now have no version of gambas on my laptop at present!
I can follow Terminal commands, but websites never tell you what to do if you get errors - always assume it'll work first time :!:
Any ideas on what to do, gratefully received.
C.
Posted
Expert

But if I'm seeing this correctly, then the installation should be similar to mine.
I will describe it here exactly as I did it for my Daedalus 5.0 system.
This is based on Debian 12.0 bookworm
I did the whole thing according to the following instructions here.
https://gambas.sourceforge.net/en/main.html#
for ${VERSION} I used 3.20 because I wanted to install the latest stable version of Gambas.
and for ${DEBIAN} I used Debian_12, because this is Debian-Version my Devuan-System based on
So you should decide which Gambas version you want to install and replace xUbuntu_${UBUNTU) with
xUbuntu_22.04
In the following I assume that you want to install Gambas version 3.20 like me.
1) I first deleted the old version of Gambas.
Code
apt remove $(dpkg -l | grep gambas3 | awk '\{print $2}' | tr '\n' ' ')This code is from tionov from the Gambas-Club forum : Problem mit Zugang PPA Repository - Der Gambas Club
2.) I did an autoremove, but I don't think this is necessary.
apt-autoremove
3.) Then I wrote the repository to be loaded into the etc/apt.source.list.d directory.
Code
echo 'deb http://download.opensuse.org/repositories/home:/gambas:/3.20/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/home:gambas:3.20.list It should work for you with this code.
this is wrong:
Code
http://download.opensuse.org/repositories/home:/gambas:/3.20/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/home:gambas:3.20.list UPDATE (this one is correct)
Code
echo 'deb http://download.opensuse.org/repositories/home:/gambas:/3.20/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/home:gambas:3.20.list4.) Since I had already installed Curl, I did not need the following code. But maybe you need it.
Code
apt install curl5.) Then I loaded the required package keys with Curl and converted them into GPG format to add them to the directory with the trusted keys.
Code
curl -fsSL https://download.opensuse.org/repositories/home:gambas:3.20/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_3.20.gpg > /dev/null In your case, that is:
Code
curl -fsSL https://download.opensuse.org/repositories/home:gambas:3.20/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_3.20.gpg > /dev/null6.) after this I did an update and upgrade of apt
Code
apt updateCode
apt upgrade7.) Now it was very easy to install gambas
Code
apt install gambas3I hope that I have been able to help you in some way.
Maybe you did everything right and there was just a temporary problem with the opensuse repositories.
I had read something like that, but the problem should be fixed now.
Anyway. Good luck and best regards, Poly
Posted
Regular

My first attempt with these commands failed on command:-
Code (gambas)
- http://download.opensuse.org/repositories/home:/gambas:/3.20/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/home:gambas:3.20.list
>
>
>
in the Terminal!!
I assume that if I'm going with the ubuntu version then I don't use 3.) part one, is that correct :?:
I carried on with other commands but got this with install gambas:-
The following packages have unmet dependencies.
gambas3-dev-tools : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.8 is to be installed
gambas3-gb-clipper2 : Depends: libstdc++6 (>= 13.1) but 12.3.0-1ubuntu1~22.04 is to be installed
gambas3-gb-compress-zstd : Depends: libzstd1 (>= 1.5.5) but 1.4.8+dfsg-3build1 is to be installed
gambas3-gb-form-htmlview : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.8 is to be installed
Depends: libstdc++6 (>= 13.1) but 12.3.0-1ubuntu1~22.04 is to be installed
gambas3-gb-gmp : Depends: libgmp10 (>= 2:6.3.0+dfsg) but 2:6.2.1+dfsg-3ubuntu1 is to be installed
gambas3-gb-gtk : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.8 is to be installed
Depends: libglib2.0-0t64 (>= 2.42.0) but it is not installable
Depends: libgtk2.0-0t64 (>= 2.24.0) but it is not installable
gambas3-gb-gtk-opengl : Depends: libglib2.0-0t64 (>= 2.12.0) but it is not installable
Depends: libgtk2.0-0t64 (>= 2.8.0) but it is not installable
gambas3-gb-gtk3 : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.8 is to be installed
Depends: libglib2.0-0t64 (>= 2.38.0) but it is not installable
Depends: libgtk-3-0t64 (>= 3.21.5) but it is not installable
gambas3-gb-gtk3-opengl : Depends: libglib2.0-0t64 (>= 2.12.0) but it is not installable
Depends: libgtk-3-0t64 (>= 3.16.2) but it is not installable
gambas3-gb-gtk3-webview : Depends: libglib2.0-0t64 (>= 2.12.0) but it is not installable
Depends: libgtk-3-0t64 (>= 3.13.7) but it is not installable
gambas3-gb-httpd : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.8 is to be installed
gambas3-gb-image-effect : Depends: libstdc++6 (>= 13.1) but 12.3.0-1ubuntu1~22.04 is to be installed
gambas3-gb-image-imlib : Depends: libimlib2t64 (>= 1.4.5) but it is not installable
gambas3-gb-image-io : Depends: libglib2.0-0t64 (>= 2.12.0) but it is not installable
gambas3-gb-media : Depends: libglib2.0-0t64 (>= 2.32.0) but it is not installable
gambas3-gb-mime : Depends: libglib2.0-0t64 (>= 2.12.0) but it is not installable
Depends: libgmime-3.0-0t64 (>= 3.0.0) but it is not installable
gambas3-gb-mongodb : Depends: libbson-1.0-0t64 (>= 1.26.0) but it is not installable
Depends: libmongoc-1.0-0t64 (>= 1.26.0) but it is not installable
gambas3-gb-net-curl : Depends: libcurl3t64-gnutls (>= 7.16.2) but it is not installable
gambas3-gb-opengl : Depends: libglew2.2 (>= 2.2.0-4build1) but 2.2.0-4 is to be installed
gambas3-gb-opengl-glsl : Depends: libglew2.2 (>= 2.2.0-4build1) but 2.2.0-4 is to be installed
gambas3-gb-openssl : Depends: libssl3t64 (>= 3.0.0) but it is not installable
gambas3-gb-pdf : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.8 is to be installed
Depends: libpoppler134 (>= 24.02.0) but it is not installable
gambas3-gb-poppler : Depends: libglib2.0-0t64 (>= 2.32.0) but it is not installable
Depends: libpoppler-cpp0t64 (>= 24.02.0) but it is not installable
Depends: libpoppler-glib8t64 (>= 0.85.0) but it is not installable
Depends: libstdc++6 (>= 13) but 12.3.0-1ubuntu1~22.04 is to be installed
gambas3-gb-qt5 : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.8 is to be installed
Depends: libqt5core5t64 (>= 5.15.1) but it is not installable
Depends: libqt5gui5t64 (>= 5.14.1) but it is not installable or
libqt5gui5-gles (>= 5.14.1) but it is not going to be installed
Depends: libqt5printsupport5t64 (>= 5.0.2) but it is not installable
Depends: libqt5widgets5t64 (>= 5.15.1) but it is not installable
gambas3-gb-qt5-ext : Depends: libqt5core5t64 (>= 5.15.1) but it is not installable
Depends: libqt5gui5t64 (>= 5.0.2) but it is not installable or
libqt5gui5-gles (>= 5.0.2) but it is not going to be installed
Depends: libqt5widgets5t64 (>= 5.0.2) but it is not installable
gambas3-gb-qt5-opengl : Depends: libqt5core5t64 (>= 5.15.1) but it is not installable
Depends: libqt5widgets5t64 (>= 5.4.0) but it is not installable
gambas3-gb-qt5-webkit : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.8 is to be installed
Depends: libqt5core5t64 (>= 5.15.1) but it is not installable
Depends: libqt5gui5t64 (>= 5.0.2) but it is not installable or
libqt5gui5-gles (>= 5.0.2) but it is not going to be installed
Depends: libqt5network5t64 (>= 5.0.2) but it is not installable
Depends: libqt5widgets5t64 (>= 5.0.2) but it is not installable
gambas3-gb-qt5-webview : Depends: libqt5core5t64 (>= 5.15.1) but it is not installable
Depends: libqt5gui5t64 (>= 5.0.2) but it is not installable or
libqt5gui5-gles (>= 5.0.2) but it is not going to be installed
Depends: libqt5widgets5t64 (>= 5.0.2) but it is not installable
gambas3-gb-qt6 : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.8 is to be installed
Depends: libqt6core6t64 (>= 6.4.0) but it is not installable
Depends: libqt6gui6t64 (>= 6.3.0) but it is not installable
Depends: libqt6printsupport6t64 (>= 6.1.2) but it is not installable
Depends: libqt6widgets6t64 (>= 6.2.0) but it is not installable
gambas3-gb-qt6-ext : Depends: libqt6core6t64 (>= 6.4.0) but it is not installable
Depends: libqt6gui6t64 (>= 6.1.2) but it is not installable
Depends: libqt6widgets6t64 (>= 6.1.2) but it is not installable
gambas3-gb-qt6-opengl : Depends: libqt6core6t64 (>= 6.4.0) but it is not installable
Depends: libqt6openglwidgets6t64 (>= 6.1.2) but it is not installable
Depends: libqt6widgets6t64 (>= 6.1.2) but it is not installable
gambas3-gb-qt6-webview : Depends: libqt6core6t64 (>= 6.4.0) but it is not installable
Depends: libqt6gui6t64 (>= 6.1.2) but it is not installable
Depends: libqt6widgets6t64 (>= 6.1.2) but it is not installable
gambas3-gb-sdl : Depends: libglew2.2 (>= 2.2.0-4build1) but 2.2.0-4 is to be installed
Depends: libstdc++6 (>= 13.1) but 12.3.0-1ubuntu1~22.04 is to be installed
gambas3-gb-sdl2-audio : Depends: libsdl2-mixer-2.0-0 (>= 2.6.0) but 2.0.4+dfsg1-4build1 is to be installed
gambas3-gb-v4l : Depends: libpng16-16t64 (>= 1.6.2) but it is not installable
Depends: libv4lconvert0t64 (>= 0.5.0) but it is not installable
gambas3-gb-xml-xslt : Depends: libstdc++6 (>= 13.1) but 12.3.0-1ubuntu1~22.04 is to be installed
gambas3-runtime : Depends: libc6 (>= 2.39) but 2.35-0ubuntu3.8 is to be installed
E: Unable to correct problems, you have held broken packages.
which is what I got with previous Synaptic attemps :cry:
So I assume I need to do something different to make the opensuse repositories command work :!:
Not sure quite what to do for that bit :?:
C.
Posted
Regular

So I added this to the synaptic Repository List: /repositories/home:/gambas:/3.20/xUbuntu_22.04 - openSUSE Download /
and the synaptic update gave me this gambas3 listing - with 3.20 nowhere to be seen!?
Posted
Expert

look here: If upgrading from Gambas Ubuntu Team ppa you need to remove the reference to ppa found in /etc/apt/sources.list.d/<somename>.list before starting the below instructions.
https://gambas.sourceforge.net/en/main.html#
and did you delete all previous Gambas-Version?
Somehow something seems to have got mixed up with the dependencies.
Posted
Expert

I forgot the echo deb in your statement, which I specified for the Devuan statement.
I'm really sorry about that.
Of course it can't work like that.
The echo first causes the output, which is then written to the file.
this code is correct
Code
echo 'deb http://download.opensuse.org/repositories/home:/gambas:/3.20/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/home:gambas:3.20.list you can look after that, if there is a file with the name: home:gambas:3.20.list in /etc/apt/sources.list.d
and whether it contains the following:
Code
deb http://download.opensuse.org/repositories/home:/gambas:/3.20/xUbuntu_22.04/ /
Posted
Expert

chrisRoald said
I just ran Synaptic and found this checked already for Repositories:-
Screenshot from 2025-01-11 23-13-04.png
So I added this to the synaptic Repository List: /repositories/home:/gambas:/3.20/xUbuntu_22.04 - openSUSE Download /
and the synaptic update gave me this gambas3 listing - with 3.20 nowhere to be seen!?
Screenshot from 2025-01-11 23-52-02.png
OK, that's strange.
Did you also do an apt upgrade or an apt full-upgrade, which also remove packages?
Posted
Expert

curl -fsSL https://download.opensuse.org/repositories/home:gambas:3.20/xUbuntu_22.04/Release.key | gpg –dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_3.20.gpg > /dev/null
Only then can you perform the apt update or, in your case, update the package list with Synaptic.
Posted
Regular

Thanks so much Poly.
Couldn't have done it without you. - The repository info was key, and I've learnt better how to use synaptic to update it too!
Have good rest of the w/e.
C.
Posted
Expert

1 guest and 0 members have just viewed this.




