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
I typoed.
-sigh-
sudo dpkg -i --force-overwrite /var/cache/apt/archives/gambas3-ide_3.16.3+git202109141524.185a3d4a3+build15~ubuntu20.04.1_all.deb
I'm reading this off an image, so you can compare that against what you have on the Screen In Front Of You before hitting Enter.
sudo apt clean && sudo apt -f install
IT FIXED!
I can install again from the terminal.
Thanks Dude your the best!
What happened there that sent everything into a tizzy...:
The initial installation was done without the Gambas repository. For some reason (that I do not fully understand) the Ubuntu Universe contains an incomplete copy.
When that was installed, it was partially installed... So did not work.
When you removed it, it partially removed, leaving behind packages (This is a good reason to always remove packages with the --purge parameter).
With APT still holding the original Ubuntu version in the cache, when you tried to install or remove it completely, dpkg was put in a position to recognize BOTH and it cannot do both.
So, you needed to add the repository, then force the overwrite, then clean the apt cache, then force the install.
Once done, you should be able to remove it (If you still want to) with
sudo apt remove --purge gambas3 gambas3-dev-tools
If so, you may also want to remove the repository for it, as well.
sudo add-apt-repository --remove ppa:gambas-team/gambas3
IF you want to keep it
sudo apt update && sudo full-upgrade
Then launch and test.
If it doesn't work, I vote nuke the thing.
I thought purge is for Ach base distro, so it will also work in Debian base
Yes, --purge works on almost all Linux distros.
For future reference, please include the command run to show output.. your password (if required) will not be shown. It was extremely difficult to follow what was happening because i could not tell if you were running the commands aravisian has shared to assist you. That is why i didn't jump into this troubleshoot. Something to keep in mind in the future since unclear responses will prevent others from assisting, when it could possibly be to your benefit.




