[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can we get back to Ubuntu's PPA ?


On 5/27/25 5:27 PM, Martin Cristia wrote:

On 5/27/25 18:13, gbWilly wrote:
On Tuesday, May 27th, 2025 at 22:57, Martin Cristia <tercoide@xxxxxxxxxxx> wrote:

I am done today. Spent hours trying to go from Master to Stable but
nothing seems to work. Opensue build gives a bunch of errors; installing
from sources has no Ubuntu 25.04 instructions (24.04 won't work), and
gbWilly binaries and instructions from GitLab's TAR.xz won't work either.

What was wrong with PPA's ???

It seems that one needs to be a system expert to install it nowadays.

$ sudo apt-get purge gambas3
$ sudo apt-get autoremove
$ sudo rm /etc/apt/sources.list.d/home:gambas:master.list
$ sudo echo 'deb http://download.opensuse.org/repositories/home:/gambas:/stable/Debian_12/ /' | tee /etc/apt/sources.list.d/ home:gambas:stable.list $ curl -fsSL https://download.opensuse.org/repositories/home:gambas:stable/Debian_12/Release.key | gpg --dearmor | sudo tee / etc/apt/trusted.gpg.d/home_gambas_stable.gpg > /dev/null
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install gambas3

Enjoy...

gbWilly

Thanks Willy, but that did not worked:

martin@martin-Alienware-m17-R5-AMD:~$ sudo apt-get purge gambas3
[sudo] password for martin:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package gambas3

If you compiled Gambas3 from the Master branch and installed it with `sudo make install`, then of course the package manager cannot find it. To remove it, you will need to run `sudo make uninstall` from the source code directory from which it was compiled and installed.


[snip]

martin@martin-Alienware-m17-R5-AMD:~$ sudo rm /etc/apt/sources.list.d/home:gambas:master.list
rm: cannot remove '/etc/apt/sources.list.d/home:gambas:master.list': No such file or directory

So, yes, it appears that Gambas was compiled & installed and not installed from a repository with the package manager.


martin@martin-Alienware-m17-R5-AMD:~$ sudo echo 'deb http://download.opensuse.org/repositories/home:/gambas:/stable/ Debian_12/ /' | tee /etc/apt/sources.list.d/home:gambas:stable.list
tee: '/etc/apt/sources.list.d/home:gambas:stable.list': Permission denied

That command should have another 'sudo' in it:
sudo echo 'deb http://download.opensuse.org/repositories/home:/gambas:/stable/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/home:gambas:stable.list


[snip alot of stuff]

E: Unable to correct problems, you have held broken packages.

By continuing after you had errors, you have compounded the problem. You will now need to remove the broken Gambas installation that the package manager attempted:
sudo apt-get purge gambas3

and then remove the compiled version with `sudo make uninstall` as I mentioned above. Then, you can try to install it from a repository with the package manager using the steps gbWilly provided; minus of course "sudo apt-get purge gambas3" because you have now already done that.


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----


Follow-Ups:
Re: Can we get back to Ubuntu's PPA ?Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
References:
No progress event during the scan process when using the sane-airscan backendClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: No progress event during the scan process when using the sane-airscan backendFabien Bodard <gambas.fr@xxxxxxxxx>
Can we get back to Ubuntu's PPA ?Martin Cristia <tercoide@xxxxxxxxxxx>
Re: Can we get back to Ubuntu's PPA ?gbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Can we get back to Ubuntu's PPA ?Martin Cristia <tercoide@xxxxxxxxxxx>