I can't install other program in my terminal because of a failed installation

sudo apt remove --purge gambas3

If that fails,

sudo dpkg --configure -a

Then do the first remove command.

Thats was for last resort for worst case scenario alright :sweat_smile:

2 Likes

still error

Did you reboot after following instructions ?

When you tried to install, had you added the gambas repository?

1 Like

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

It reply me this

And this one after the two later command

sudo apt clean && sudo apt autoclean && sudo apt autoremove

sudo apt install -f gambas3

1 Like

Looks like the issue here is the dependencies


thing

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

1 Like

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?

1 Like

After I install the deb file and try you said command, i t give me this new error meseegae

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