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

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


On Tuesday, May 27th, 2025 at 23:27, Martin Cristia <tercoide@xxxxxxxxxxx> wrote:
> 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

This means that there is no gambas3 installed on your system from a repository

> martin@martin-Alienware-m17-R5-AMD:~$ sudo apt-get autoremove

So, no need for this step after previous result


> martin@martin-Alienware-m17-R5-AMD:~$ sudo rm /etc/apt/sources.list.d/home:gambas:master.list

I thought you has gambas iunstalled from OSB master and wanted to go stable.
Therefor above entry needs to be removed as else master will always be installed even of adding stable repo as master is the highest installable version.
But previous steps already told you nothing is installed from a repository, so this list doesn't exist.

> 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

1. You need to add sudo for tee /etc/apt/sources.list.d/home:gambas:stable.list as this is writing into a folder that needs elevated rights.
The sudo before echo is useless.
2. I gave an example for Debian 12 (unknowingly) but of course you need Ubuntu 25.04 (different dependencies) instead of Debian 12 in your echo
So it needs to be:
echo 'deb http://download.opensuse.org/repositories/home:/gambas:/master/xUbuntu_25.04/ /' | sudo tee /etc/apt/sources.list.d/home:gambas:master.list
curl -fsSL https://download.opensuse.org/repositories/home:gambas:master/xUbuntu_25.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_master.gpg > /dev/null

Pay attention to place a sudo before tee and not at the beginning of the line

> martin@martin-Alienware-m17-R5-AMD:~$ sudo apt-get update

If all above fails this step is useless

So, a few questions:
1. Did you have a compiled version of Gambas3 installed, as package management systems do not see these and can't remove them. Compiled installs need to be removed differently. Use `sudo make uninstall` from where you installed it (location on drive)
2. Why do you continue doing things when previous error clearly state that things are going wrong. Usually that means you are making things worse instead of better

gbWilly


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>