Upgrading to 3.16.0
Posted
#1
(In Topic #670)
Regular

Is the following going to get me the latest (3.16.0) version ?
I haven’t done any upgrading lately …
sudo add-apt-repository ppa:gambas-team/gambas3
sudo apt-get update
sudo apt-get upgrade
Old african saying:
You eat an elephant one small bite at a time.
You eat an elephant one small bite at a time.
Posted
Regular

Doctor Watson said
…Is the following going to get me the latest (3.16.0) version ?…
sudo add-apt-repository ppa:gambas-team/gambas3
sudo apt-get update
sudo apt-get upgrade
Yes that's pretty much it (if you have a distro based upon Debian or Ubuntu) see this page: Gambas Stable Builds : “Gambas Ubuntu Maintainers” team
After you have done this, you will be advised in the future of updates in the normal way.
But before you do this, could I ask a favour Re: my Procedure Folding thread;
With your existing version, could you turn on Procedure Folding via menu Tools > Preferences > Editor and confirm that simply clicking on the + or - signs in the editor margin next to any procedures will fold or unfold the procedure.
This is just a sanity check…a check on my sanity…to confirm my belief that this functionality has changed in v3.16.0 from whichever earlier version you have.
Many thanks Doc
Posted
Regular

Yes, every SwitchButton works.
I did already try starting the upgrade and got as far as 'sudo add-apt-repository ppa:gambas-team/gambas3' when I got presented with some stuff I didn't like right away. So I broke it off.
But as it turns out, it seems I can go ahead. Fingers crossed as usual
Cheers!
Old african saying:
You eat an elephant one small bite at a time.
You eat an elephant one small bite at a time.
Posted
Regular

Old african saying:
You eat an elephant one small bite at a time.
You eat an elephant one small bite at a time.
Posted
Regular

Yes indeed, in the form class editor clicking on - or + works perfectly.
Old african saying:
You eat an elephant one small bite at a time.
You eat an elephant one small bite at a time.
Posted
Regular

Thanks for the confirmation Doc.Doctor Watson said
…Yes indeed, in the form class editor clicking on - or + works perfectly.
With your install problem, it looks like you need to disable (or remove) the noobs ppa, because that's the one giving you grief.
Posted
Regular

I already visited Gambas Stable Builds : “Gambas Ubuntu Maintainers” team
and tried - as they suggest:
That produces exactly the same message:Adding this PPA to your system
You can update your system with unsupported packages from this untrusted PPA by adding ppa:gambas-team/gambas3 to your system's Software Sources. (Read about installing)
sudo add-apt-repository ppa:gambas-team/gambas3
sudo apt-get update
"404 Not Found [IP: 91.189.95.85 80]" ? Could it be that noobslab is no longer working at all or doesn’t have the latest Gambas version.Err:10 Index of /noobslab/themes/ubuntu focal Release
404 Not Found [IP: 91.189.95.85 80]
Reading package lists… Done
E: The repository 'Index of /noobslab/themes/ubuntu focal Release' does not have a Release file.
And if that is the case, I wonder if Benoit is aware of that.
Old african saying:
You eat an elephant one small bite at a time.
You eat an elephant one small bite at a time.
Posted
Guru

has nothing to do with gambas and nothing to do with Benoit
ppa:gambas-team/gambas-daily is trunk version
ppa:gambas-team/gambas3 is stable version
load your software sources app and remove erroneous ppa's
you could upgrade gambas by typing…
apt-get remove gambas3*
apt-get install gambas3*
using apt-get upgrade wants to upgrade everything
Posted
Regular

Doctor Watson said
I would like to try that Steve, but how do I disable or remove this noobs ppa ?…
Hi Doc, If you have Synaptic installed (…which is still my favourite program for installing/removing packages) navigate menu Settings > Repositories > Other Software
I think you can select (highlight) the noobs ppa and then you have the choice of removing it, or if you just un-tick it then I think it will disable it (i.e. stop it trying to update).
I hope that helps, but come back if not.
Posted
Guru

nothing went wrong with gambas ppa updating.
your screenshot image shows all your ppa links updated okay but that noobs one did not. (no biggie)
gambas ppa should still update okay
Here is my recomendation…
Run..
sudo apt-get remove gambas3*
Then load synaptic package manager
Select "Origin" from the list and select the gambas repository.
Install gambas components from there.
Or go for the autotools method (Compiling from source)
Note: apt does not recognise autotools method meaning after installing via compile apt will report gambas is not installed and you must not use apt to install any gambas components as the compile install installs them all anyway.
Posted
Regular

I followed Bruce’s and Steve’s suggestion and installed this Synaptic app. Used it to de-activate noobslab.
Next, went back to the Terminal to upgrade Gambas. Noobslab was gone and procedures started. Suddenly at some point some error message, but upgrade continued. Then even a warning appeared that Ubuntu 20.04 had problems.
Result after re-booting: Gambas not working but luckily Ubuntu still did.
Tried to find out what was wrong using Synaptic (it does have many options) and got “36 broken packages” - all Gambas. Now what ? Decided to remove Gambas altogether. Terminal : “apt-get remove gambas3*” …. ???
Option Remove Packages. That one worked. Checked : Gambas was gone.
Did a new install (How to Install Gambas in Ubuntu Linux) and YES! , Gambas 3.16.0 works.
Treated myself with a nice beer.
And if I might be allowed some remarks :
- Our esteemed developers found it necessary to change the ‘use and feel’ of the keyboard. In the editor you can no longer navigate using the numeric keypad with NumLock switched off. That is really frustrating because I do so for ages and in every other programme – like this forum’s editor.
- When you run your project, it appears in the upper left corner of the screen instead of the middle. Perhaps a question of taste, but I prefer to see it appear in the middle.
And if at least the weather gods treat me nice, I’ll be off for a week or so to my favourite cabin somewhere in the Austrian mountains. No computer, Ubuntu or Gambas unless the kind prepared in garlic sauce.
Old african saying:
You eat an elephant one small bite at a time.
You eat an elephant one small bite at a time.
Posted
Guru

Posted
Regular

BruceSteers said
…Sorry i did not realise you were that inexperienced with the os that i needed to spell that out for you…
Well, he did post his question on the Beginners forum…which is where we need to spell out our answers
Doc, note that you may also get "dpkg lock" messages if you try to do:-
Code
sudo apt upgradeAlso "apt-get" can simply be replaced by "apt" these days.
Posted
Guru

QT supports numpad arrow keys GTK does not.
you can edit your launcher icon to change the command
gambas3
to..
env GB_GUI=gb.qt5 gambas3
(or qt4 if your system uses it)
That will launch the IDE with QT and your numpad keys will work again.
Also if you have a panel icon to launch it you should be able to right-click the icon and select "Run with QT4" (or 5)
PS. notice that shell command "sleep 5; mate-screenshot" ? that's a tip on how to screenshot with menus open
Posted
Guru

stevedee said
Well, he did post his question on the Beginners forum…which is where we need to spell out our answersBruceSteers said
…Sorry i did not realise you were that inexperienced with the os that i needed to spell that out for you…
![]()
Clearly
To the very letter.
nice sreenshots though
Posted
Regular

Thanks for the all replies.
I have a lot of catching up to do after that week-turned-into-two in the Austrian mountains.
Old african saying:
You eat an elephant one small bite at a time.
You eat an elephant one small bite at a time.
1 guest and 0 members have just viewed this.






