[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal for possible consolidation of the packages
- Subject: Re: Proposal for possible consolidation of the packages
- From: gbWilly <gbWilly@xxxxxxxxxxxxxx>
- Date: Tue, 26 Nov 2024 21:18:30 +0000
- Cc: user@xxxxxxxxxxxxxxxxxxxxxx
Do the provided packages not be existing packages, first made, before the virtual package can use them?
Maybe my understanding of the matter is wrong, if so please do enlight me.
gbWilly
As an example, gambas3-dev is a virtual package:
Hi Lee,
Thanks for finding me an example from debian official.
Let's analyse (I can as I have the official and my recipes available):
In recipe of official debian 3.18.0 they have: gambas3-devel.install and gambas3-devel.links (so NO gambas3-dev -> virtual you know)
In control file they have:
So, there is a REAL package named gambas3-devel (see above .install file). There is NO REAL package gambas3-dev (so no gambas3-dev.install).
What happened here. Well we used to have gambas3-dev before 3.15.0 as it states in control file:
Replaces: gambas3-dev (<< 3.15.0)
But 3.15.1 doesn't have gambas3-dev, as Benoit decided to rename it to gambas3-devel (same package and functionality, just another name).
So debian packages a gambas3-devel and by mentioning the 'Provides: gambas3-dev' they ensure that the 3.12.2 (in IDE packaged) .deb file of the application will find it's dependency
The 'Replaces: gambas3-dev (<< 3.15.0)' ensures gambas3-devel is used instead of gambas-dev.
I do this on gambas 3.17.3 ubuntu from ppa. It will package with gambas3-dev-tools as dependecy.
I install my debian package on a debian 12 with official 3.18.0 gambas3.
Well, you have seen that official still used gambas3-devel, takes care of older gambas3-dev, but is unaware of gambas3-dev-tools.
So, now my application will fail to install. That is why packaging the correct package names is so important.
And please join the discussion so that we can all learn and improve our understanding of these matters.
Proposal for possible consolidation of the packages | munix9 <munix9@xxxxxxxxxxxxxx> |
Re: Proposal for possible consolidation of the packages | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Proposal for possible consolidation of the packages | munix9 <munix9@xxxxxxxxxxxxxx> |
Re: Proposal for possible consolidation of the packages | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Proposal for possible consolidation of the packages | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
Re: Proposal for possible consolidation of the packages | munix9 <munix9@xxxxxxxxxxxxxx> |
Re: Proposal for possible consolidation of the packages | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
Re: Proposal for possible consolidation of the packages | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |