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

Re: OBS


Il 13/12/24 19:25, gbWilly ha scritto:
On Friday, December 13th, 2024 at 18:17, T Lee Davidson <t.lee.davidson@xxxxxxxxx> wrote:

On 12/13/24 11:59, Gianluigi wrote:

Il 13/12/24 16:01, T Lee Davidson ha scritto:

It doesn't make much sense for OBS to provide for installation by
grabbing the binaries directly as, to satisfy dependencies, the repo
still needs to be added and updated using the "Add repository and
install manually" instructions.

As a matter of fact, downloading the binaries is totally useless unless:
- you create your own file repository (as I have been doing in past)
- add the file repo reference to your /etc/apt/sources.list

If you do not know how to do that, just do as Lee told you to:

echo 'deb http://download.opensuse.org/repositories/home:/gambas:/master/xUbuntu_24.04/ /' | sudo tee /etc/apt/sources.list.d/home:gambas:master.list
curl -fsSL https://download.opensuse.org/repositories/home:gambas:master/xUbuntu_24.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_master.gpg > /dev/null
apt-get update
apt-get upgrade
apt-get install gambas3

Make sure not to have any debian not ubuntu official gambas3 installed as if will mess up your install.
Remove these first, the use wrong packages names and will conflict with current build binaries

I guess it will be no different for openSuse etc if they have same issue in their official repositories


Hi Lee,

sorry but I didn't understand what you told me, can you explain better?

Thank you
Gianluigi


I can try :-)

When the gambas package is installed from a local binary with `dpkg -i`, it cannot be configured because the dependencies need
to be resolved by executing `apt install -f`.

FYI:
It doesn't work from local .deb because install tools are not aware of the other downloaded .deb packages in the folder. That is the actual issue here.
For that they need to be made into a for debian recognizable repository first, and next told in sources.list where that folder is, do a reload (apt-get update) and then, install tools know how to get to the rest of your downloaded .deb archives and installs them.

I'm glad to see people testing. I took a few days free of packaging, testing packages and vm's.

@Benoit:
I did download debian 12 recipe (from commit 0557abbd) today and at a first glance noticed:

1. gambas3-gb-{gtk3, qt5, qt6}-wayland and gambas3-gb-{gtk3, qt5, qt6}-x11 are completely missing in control file (and thus as package I presume)
2. double use of some dependencies for gambas3 for following:
  gambas3-dev-tools (>= ${binary:Version}),
  gambas3-scripter (>= ${binary:Version}),
  gambas3-ide (>= ${binary:Version}),
  gambas3-runtime (>= ${binary:Version})
3. dependencies for gambas3 not needed:
  gambas3-dev (>= ${binary:Version}),
  gambas3-devel (>= ${binary:Version}),
4. A lot if not most components all of a sudden seem to depend on gambas3-runtime. Intentional or not?

That's just the biggies.


gbWilly



Hi Lee, gbWilly, Benoit,

from what little I know (very little), in Debian and its derivatives all
packages (deb with dpkg) are installed like this:
sudo dpkg -i <pacchetto deb>
sudo apt-get install -f

In fact, if I issue the first command, and then check on synaptic I only
find version 3.19 and not those from the official repository.
If I try to select all the gambas3 3.19 entries I get the project, but
if I try to open it it crashes and the current section closes.

Exactly the same thing that happens if I give the commands suggested by Lee

Good night
Gianluigi


Follow-Ups:
Re: OBST Lee Davidson <t.lee.davidson@xxxxxxxxx>
References:
OBSGianluigi <gradobag@xxxxxxxxxxx>
Re: OBSBruce Steers <bsteers4@xxxxxxxxx>
Re: OBSGianluigi <gradobag@xxxxxxxxxxx>
Re: OBST Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: OBSGianluigi <gradobag@xxxxxxxxxxx>
Re: OBSGianluigi <gradobag@xxxxxxxxxxx>
Re: OBST Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: OBSGianluigi <gradobag@xxxxxxxxxxx>
Re: OBST Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: OBSgbWilly <gbWilly@xxxxxxxxxxxxxx>