last post from "Did you know"

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

last post from "Did you know"

Post by grayghost4 »

Did you not consider using the ppa? Keep your Gambas up to date: -

Gambas3 Stable

Code: Select all

sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update && sudo apt-get -y install gambas3

So I thought I would try it .
my results :

mhc@mhc:~$ sudo add-apt-repository -y ppa:gambas-team/gambas3
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 362, in <module>
sys.exit(0 if addaptrepo.main() else 1)
^^^^^^^^^^^^^^^^^
File "/usr/bin/add-apt-repository", line 345, in main
shortcut = handler(source, **shortcut_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
return handler(shortcut, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 86, in __init__
if self.lpppa.publish_debug_symbols:
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 126, in lpppa
self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 113, in lpteam
self._lpteam = self.lp.people(self.teamname)
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'people'
mhc@mhc:~$
User avatar
BruceSteers
Posts: 1580
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: last post from "Did you know"

Post by BruceSteers »

What system do you have?

is it Ubuntu based?

I just tried it here on LinuxMint and no problems.


sudo add-apt-repository -y ppa:gambas-team/gambas3
[sudo] password for bonus:
You are about to add the following PPA:
This PPA provides Ubuntu binary packages for the latest stable version of Gambas.
More info: https://launchpad.net/~gambas-team/+arc ... tu/gambas3
gpg: directory '/root/.gnupg' created
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: keybox '/etc/apt/keyrings/BEC4D34EA23B1DA104D3F98450B027516CAEE58D.keyring' created
gpg: key 50B027516CAEE58D: public key "Launchpad PPA for Gambas Ubuntu Maintainers" imported
gpg: Total number processed: 1
gpg: imported: 1
If at first you don't succeed , try doing something differently.
BruceS
User avatar
cogier
Site Admin
Posts: 1127
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: last post from "Did you know"

Post by cogier »

If you are using Linux Mint then I would remove all Gambas files.

Open Synaptic, search for gambas3 and delete them all.

If the ppa has been installed, you should see it in Software sources.

Image

Then run: -
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -y install gambas3


That should fix it.
User avatar
grayghost4
Posts: 187
Joined: Wednesday 5th December 2018 5:00am
Location: Marengo, Illinois usa

Re: last post from "Did you know"

Post by grayghost4 »

BruceSteers wrote: Tuesday 29th August 2023 4:14pm What system do you have?

is it Ubuntu based?

I just tried it here on LinuxMint and no problems.


Debian 12 wayland KDE
User avatar
BruceSteers
Posts: 1580
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: last post from "Did you know"

Post by BruceSteers »

grayghost4 wrote: Tuesday 29th August 2023 5:04pm
BruceSteers wrote: Tuesday 29th August 2023 4:14pm What system do you have?

is it Ubuntu based?

I just tried it here on LinuxMint and no problems.


Debian 12 wayland KDE

aah it's for ubuntu based systems only i'm afraid, Debian does not work.
If at first you don't succeed , try doing something differently.
BruceS
cage
Posts: 123
Joined: Monday 2nd September 2019 5:47am
Location: Phoenix Arizona

Re: last post from "Did you know"

Post by cage »

Works fine under Arch Linux as it is in the repository.
User avatar
grayghost4
Posts: 187
Joined: Wednesday 5th December 2018 5:00am
Location: Marengo, Illinois usa

Re: last post from "Did you know"

Post by grayghost4 »

Ubuntu is Debian based
User avatar
BruceSteers
Posts: 1580
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: last post from "Did you know"

Post by BruceSteers »

grayghost4 wrote: Tuesday 29th August 2023 8:58pm Ubuntu is Debian based
Yes so Debian is not Ubuntu based. The PPA method only installs binaries for Ubuntu systems.
And derivatives of Ubuntu like Linux mint.

Sadly not back portable to Ubuntu's Debian base.
If at first you don't succeed , try doing something differently.
BruceS
User avatar
cogier
Site Admin
Posts: 1127
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: last post from "Did you know"

Post by cogier »

Bruce is correct that the ppa is an Ubuntu idea, however, it can be used on Debian. Have a look here.

Just be careful, first I would test it out on a fresh install that you can afford to screw up or a VM.
Post Reply