Upgrading to 3.16.0

Post

Posted
Rating:
#1 (In Topic #670)
Regular
Doctor Watson is in the usergroup ‘Regular’
This is a really humble question.
Is the following going to get me the latest (3.16.0) version ?
I haven’t done any upgrading lately …  :oops:
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.
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Regular
stevedee is in the usergroup ‘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
Online now: No Back to the top

Post

Posted
Rating:
#3
Regular
Doctor Watson is in the usergroup ‘Regular’
Hi Steve.
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.
Online now: No Back to the top

Post

Posted
Rating:
#4
Regular
Doctor Watson is in the usergroup ‘Regular’
Oh dear. No, it doesn't work. I got this :
Image

(Click to enlarge)

Tried anyway but :
Image

(Click to enlarge)

Back to square 1

 Old african saying:
You eat an elephant one small bite at a time.
Online now: No Back to the top

Post

Posted
Rating:
#5
Regular
Doctor Watson is in the usergroup ‘Regular’
 Steve, I forgot to mention.

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.
Online now: No Back to the top

Post

Posted
Rating:
#6
Avatar
Regular
stevedee is in the usergroup ‘Regular’

Doctor Watson said

…Yes indeed, in the form class editor clicking on - or + works perfectly.
Thanks for the confirmation Doc.

With your install problem, it looks like you need to disable (or remove) the noobs ppa, because that's the one giving you grief.
Online now: No Back to the top

Post

Posted
Rating:
#7
Regular
Doctor Watson is in the usergroup ‘Regular’
I would like to try that Steve, but how do I disable or remove this noobs ppa ?
I already visited Gambas Stable Builds : “Gambas Ubuntu Maintainers” team
and tried - as they suggest:
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
That produces exactly the same message:
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.
"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.
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.
Online now: No Back to the top

Post

Posted
Rating:
#8
Guru
BruceSteers is in the usergroup ‘Guru’
Index of /noobslab/themes/ubuntu
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
Online now: No Back to the top

Post

Posted
Rating:
#9
Avatar
Regular
stevedee is in the usergroup ‘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

Image

(Click to enlarge)


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.
Online now: No Back to the top

Post

Posted
Rating:
#10
Guru
BruceSteers is in the usergroup ‘Guru’
 Another thing is ….
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.
Online now: No Back to the top

Post

Posted
Rating:
#11
Regular
Doctor Watson is in the usergroup ‘Regular’
Well, it’s been an exiting 24 hours.
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*” …. ???
Image

(Click to enlarge)

Back to Synaptic. Found option to fix broken packages. Didn’t work.
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.
Online now: No Back to the top

Post

Posted
Rating:
#12
Guru
BruceSteers is in the usergroup ‘Guru’
dang doc..
that message was because you did not run apt as root
sudo apt-get remove gambas3*

Dude.  :roll:
Sorry i did not realise you were that inexperienced with the os that i needed to spell that out for you.

PS.

Code (gambas)

  1. Public Sub Form_Open()
  2. Me.Center() ' window is center screen
  3.  
  4.  
Online now: No Back to the top

Post

Posted
Rating:
#13
Avatar
Regular
stevedee is in the usergroup ‘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 upgrade
if Synaptic is still open.

Also "apt-get" can simply be replaced by "apt" these days.
Online now: No Back to the top

Post

Posted
Rating:
#14
Guru
BruceSteers is in the usergroup ‘Guru’
Also Doc a big change in 3.16 is the IDE now uses the GTK interface by default not QT

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 :)
Online now: No Back to the top

Post

Posted
Rating:
#15
Guru
BruceSteers is in the usergroup ‘Guru’

stevedee said

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  ;)

Clearly
To the very letter.
nice sreenshots though ;)
Online now: No Back to the top

Post

Posted
Rating:
#16
Regular
Doctor Watson is in the usergroup ‘Regular’
 Hi guys.
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.
Online now: No Back to the top
1 guest and 0 members have just viewed this.