Page 1 of 2

[solved] can not use gambas repoes to get update

Posted: Wednesday 10th April 2024 7:26pm
by grayghost4
I am using Debian 12.5 and have manual installed the repoes but when I try to update I get this message
how can I install the key to fix it ?

hc@marvin-rogstrixgl10dhgl10dh:~$ sudo apt update
[sudo] password for mhc:
Hit:1 http://ftp.us.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-backports InRelease
Hit:3 http://ftp.us.debian.org/debian bookworm-updates InRelease
Ign:4 http://ftp.us.debian.org/debian bookworm-security InRelease
Err:5 http://ftp.us.debian.org/debian bookworm-security Release
404 Not Found [IP: 2620:0:861:2:208:80:154:139 80]
Hit:6 https://ppa.launchpadcontent.net/yannub ... air/ubuntu noble InRelease
Get:7 https://ppa.launchpadcontent.net/gambas ... as3/ubuntu noble InRelease [17.3 kB]
Err:7 https://ppa.launchpadcontent.net/gambas ... as3/ubuntu noble InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 50B027516CAEE58D
Reading package lists... Done
E: The repository 'http://ftp.us.debian.org/debian bookworm-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://ppa.launchpadcontent.net/gambas ... as3/ubuntu noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 50B027516CAEE58D
E: The repository 'https://ppa.launchpadcontent.net/gambas ... as3/ubuntu noble InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
mhc@marvin-rogstrixgl10dhgl10dh:~$

Re: can not use gambas repoes to get update

Posted: Wednesday 10th April 2024 7:43pm
by BruceSteers
Problem is you added an ubuntu repo to debian.

PPA launchpad is for ubuntu only, it doesn't work for debian (dependency list does not work)

Debian needs the autotools installation method to upgrade.

Re: can not use gambas repoes to get update

Posted: Wednesday 10th April 2024 7:49pm
by BruceSteers
I tried it manually once, i downloaded all the packages that come from launchpad but none of them installed on debian.

Re: can not use gambas repoes to get update

Posted: Wednesday 10th April 2024 7:54pm
by BruceSteers
Although you have a signature error there.

Did you use sudo add-apt-repository ppa:gambas-team/gambas3 to add the repository as you may not have the gpg keys

Re: can not use gambas repoes to get update

Posted: Wednesday 10th April 2024 8:36pm
by grayghost4
Did you use sudo add-apt-repository ppa:gambas-team/gambas3 to add the repository as you may not have the gpg keys
No that command would not work :(

Guess I will wait for Debian 13 next Year

Re: can not use gambas repoes to get update

Posted: Wednesday 10th April 2024 9:41pm
by BruceSteers
Autotools method is easy peasy now.
Thanks to the .gitlab-ci.yml file.

Just download the source and uninstall the apt gambas version then run the autotools install

http://138.68.116.47/cgi-bin/WebGambasUpgrade.gambas

Shimples 😊

Re: can not use gambas repoes to get update

Posted: Wednesday 10th April 2024 10:03pm
by grayghost4
it allmost works :(

Setting up libegl1-mesa-dev:amd64 (22.3.6-1+deb12u1) ...
Setting up libgtk-3-dev:amd64 (3.24.38-2~deb12u1) ...
Setting up libgtkglext1-dev:amd64 (1.2.0-11) ...
Setting up libsdl-ttf2.0-dev:amd64 (2.0.11-6) ...
Setting up libimlib2-dev (1.10.0-4+deb12u1) ...
Setting up libwebkit2gtk-4.0-dev:amd64 (2.42.5-1~deb12u1) ...
Setting up libdirectfb-dev:amd64 (1.7.7-11) ...
bash: ./reconf-all: No such file or directory
bash: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.

I had to make the directory "home/gambas-stable" before running the script and then it worked

so I now have 3.19.2

Thanks

Re: can not use gambas repoes to get update

Posted: Thursday 11th April 2024 8:27pm
by BruceSteers
Aah yes the first lines of that web page downloads source to that folder.

git clone --depth=1 https://gitlab.com/gambas/gambas.git --branch=stable $HOME/gambas-stable
cd $HOME/gambas-stable

If you already had the source it would have worked if you ran the script "cd" from the existing source folder

Re: can not use gambas repoes to get update

Posted: Thursday 11th April 2024 8:29pm
by BruceSteers
Hmm actually it might not lol
I will test it later if using the whole path as a git argument works or not?

I will change it to exclude $HOME in git Args.

Cheers 😁

Glad you figured it out 😊

Re: can not use gambas repoes to get update

Posted: Friday 12th April 2024 12:25pm
by grayghost4
The first command should be :

mkdir $HOME/gambas-stable