eight.6. Overwriting data and you will substitution packages – Substitute ¶

eight.6. Overwriting data and you will substitution packages – Substitute ¶

new bar-and additionally bundle will match the reliance into foo package having this new virtual package title, given that over. Should your Provides industry does not establish a variation amount, it generally does not satisfy versioned dependencies otherwise violate versioned Disputes or Breaks . Such as for instance, considering the adopting the bundles:

So you can establish and that away from a collection of actual bundles would be the latest standard to generally meet a specific dependency with the a virtual plan, list the actual plan alternatively till the digital you to.

Whether your virtual package represents a studio that will simply be available with one actual plan at the same time, for instance the mail-transport-agent digital package that requires laying out a digital who would disagreement along with almost every other organization of this virtual bundle (discover Mail transportation, beginning and you will user agents ), all the packages taking you to definitely virtual plan must also claim a conflict with it using Issues . This may ensure that at most one to supplier of the virtual plan is unpacked otherwise strung immediately.

Packages is also claim in their control document which they would be to overwrite files in some almost every other bundles, or totally exchange almost every other packages. This new Replaces manage industry provides these two distinctive line of motives.

7.six.1. Overwriting documents various other bundles¶

It is usually a mistake to own a great deal to consist of data files which can be towards system an additional package. But not, if your overwriting package announces it Replaces the only with the fresh file being overwritten, up coming dpkg have a tendency to change the file regarding dated package with that from the brand new. The newest document will no longer feel noted because “owned” of the old package and also be bought out of the the plan. Typically, Holiday breaks are going to be utilized in combination that have Substitute . 4

Eg, if the a package foo was split up into foo and you will foo-research undertaking from the type 1.2-step 3, foo-data could have brand new fields

When the a package is very replaced such as this, in order for dpkg will not learn of every files they still consists of, it is considered to possess “disappeared”. It could be designated due to the fact not wanted towards the system (selected getting treatment) and you will “Not-Installed”. People conffile s details recognized for the container would be ignored, as they will was in fact bought out by overwriting plan. The fresh package’s postrm script is work at that have a different argument to allow the container doing one last cleanup expected. Select Breakdown of means maintainer programs are known as . 5

Because of it entry to Substitute , digital packages (see Digital bundles – Provides ) commonly experienced when looking at best 2021 hookup apps an effective Changes field. The newest bundles announced as actually changed need to be mentioned of the the genuine brands.

That it entry to Substitute just requires feeling when one another packages is actually at the very least partly into program immediately. That isn’t relevant if the packages conflict unless the newest conflict could have been overridden.

7.6.dos. Replacing whole bundles, pressuring the reduction¶

Second, Substitute lets new packaging system to respond to hence bundle will likely be eliminated when there is a dispute (select Conflicting binary bundles – Problems ). Which need merely takes perception if the a few packages manage dispute, so the several uses from the field do not interfere collectively.

In this situation, the box stated as being changed are going to be an online package, thus instance, all mail transport agencies (MTAs) would have another industries within control files:

making sure one MTA might be unpacked any kind of time one to time. Look for Virtual packages – Offers up additional info about it analogy.

eight.7. Relationship between resource and you can digital bundles – Build-Is based , Build-Depends-Indep , Build-Depends-Arch , Build-Disputes , Build-Conflicts-Indep , Build-Conflicts-Arch ¶

Origin bundles which need certain binary packages are hung or missing during strengthening the package could possibly get claim relationships to people binary bundles.

Leave a comment

Categorie