Thats was for last resort for worst case scenario alright 
Did you reboot after following instructions ?
When you tried to install, had you added the gambas repository?
what repos should I add?
I will take that as a "no..."
sudo add-apt-repository ppa:gambas-team/gambas3 && sudo apt update
sudo apt --fix-broken install
Nothing change to the situation
What output did sudo apt --fix-broken install give you after you added the repository?
If it is exactly the same as in the O.P. try:
sudo apt install -f gambas3
If needed, then run:
sudo dpkg --configure -a
sudo apt install -f gambas3
sudo apt clean && sudo apt autoclean && sudo apt autoremove
sudo apt install -f gambas3
I just checked... and there is no package in the Ubuntu repo for gambas3-dev-tools.
Is this some obnscure package?
How does no one notice this?
Or is it some far-flung conspiracy to Push Snap Packages by saying, "oh... look... dependency problems..."
If you added the Gambas3 Repository and ran sudo apt update and sudo apt clean... This really should not be happening.
Because it is in the gambas team repository:
gambas3-dev-tools Gambas compilation tools
Here is the .deb for it:
https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3/+files/gambas3-dev-tools_3.16.3+git202109141524.185a3d4a3+build15~ubuntu20.04.1_amd64.deb
Try Closing out the terminal.
Then installing this .deb file.
Then open a terminal and try
sudo apt --fix-broken install
I just install it from the terminal by
sudo apt install gambas3
but I delete it because it won't lunch.
I re install it and try some twicks from the community, but still don't work. Then this morning, I try to install some utility from terminal and it replaying me this problem.
Can you clarify this?
Have you tried the .deb package posted above?
sudo rm /usr/share/gambas3/template/console/.directory
sudo apt --fix-broken install
looks like it reply me the same message a while back after the commands.
sudo dpkg -i --force-overwrite /var/cache/apt/archives/gambas3-ide_3.16.3+git202109141524.185a3d4a3+build15~ubuntu20.04/1_all.deb
sudo apt clean && sudo apt -f install





