[solved] can not use gambas repoes to get update

Post your Gambas programming questions here.
User avatar
grayghost4
Posts: 187
Joined: Wednesday 5th December 2018 5:00am
Location: Marengo, Illinois usa

[solved] can not use gambas repoes to get update

Post 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:~$
Last edited by grayghost4 on Sunday 14th April 2024 7:17pm, edited 1 time in total.
User avatar
BruceSteers
Posts: 1586
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: can not use gambas repoes to get update

Post 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.
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1586
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: can not use gambas repoes to get update

Post by BruceSteers »

I tried it manually once, i downloaded all the packages that come from launchpad but none of them installed on debian.
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1586
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: can not use gambas repoes to get update

Post 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
If at first you don't succeed , try doing something differently.
BruceS
User avatar
grayghost4
Posts: 187
Joined: Wednesday 5th December 2018 5:00am
Location: Marengo, Illinois usa

Re: can not use gambas repoes to get update

Post 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
User avatar
BruceSteers
Posts: 1586
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: can not use gambas repoes to get update

Post 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 😊
If at first you don't succeed , try doing something differently.
BruceS
User avatar
grayghost4
Posts: 187
Joined: Wednesday 5th December 2018 5:00am
Location: Marengo, Illinois usa

Re: can not use gambas repoes to get update

Post 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
User avatar
BruceSteers
Posts: 1586
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: can not use gambas repoes to get update

Post 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
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1586
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: can not use gambas repoes to get update

Post 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 😊
If at first you don't succeed , try doing something differently.
BruceS
User avatar
grayghost4
Posts: 187
Joined: Wednesday 5th December 2018 5:00am
Location: Marengo, Illinois usa

Re: can not use gambas repoes to get update

Post by grayghost4 »

The first command should be :

mkdir $HOME/gambas-stable
Post Reply