7.6. Overwriting records and substitution packages – Substitute ¶

7.6. Overwriting records and substitution packages – Substitute ¶

the latest pub-in addition to plan will fulfill the dependency into the foo plan that have the fresh virtual plan title, just like the more than. In the event the Will bring job cannot indicate a difference amount, it will not meet versioned dependencies otherwise violate versioned Issues otherwise Holidays . Such as for instance, considering the following packages:

So you can identify hence of a set of actual packages are the latest default to meet up with a certain dependence to the an online bundle, list the actual plan as an alternative until the digital that.

If for example the digital plan stands for a studio that will simply be provided with one to genuine package at the same time, like the mail-transport-agent virtual bundle that needs installation of a binary who dispute with all of almost every other business of these virtual package (find Mail transport, beginning and you can affiliate agents ), all the bundles delivering one to virtual plan must state a conflict on it playing with Issues . This will make certain at most you to definitely provider of the digital bundle are unpacked otherwise hung at the same time.

Bundles is also declare inside their control file that they will be overwrite data files in a number of most other bundles, otherwise completely exchange most other packages. The fresh Substitute handle profession enjoys these two line of motives.

eight.six.1. Overwriting documents in other bundles¶

It is usually a blunder having a package so you can incorporate documents which are towards the system an additional bundle. Yet not, if for example the overwriting bundle announces that it Replaces the main one which has had the newest document being overwritten, up coming dpkg will change the document about old bundle with those of the fresh. The fresh new document will no longer be indexed because “owned” of the dated package and also be bought out from the brand new plan. Usually, Vacation trips shall be found in combination that have Substitute . cuatro

Like, if a deal foo is split into foo and you may foo-study undertaking from the variation step one.2-step 3, foo-data would have the fresh sphere

When the a package is very changed such as this, to ensure dpkg doesn’t know of every data it nevertheless contains, it’s considered to has “disappeared”. It could be marked since the perhaps not need with the system (selected having removing) and you will “Not-Installed”. One conffile s info noted for the container would be overlooked, as they will had been taken over from the overwriting plan. Brand new package’s postrm script might possibly be work at that have a special conflict so that the box to complete people latest tidy up called for. Look for Summary of implies maintainer texts are known as . 5

For it accessibility Changes , virtual bundles (come across Virtual packages – Will bring ) aren’t experienced when looking at good Substitute job. The fresh bundles declared to be changed have to be mentioned by the its real names.

That it use of Replaces merely requires effect when both bundles is at least partially on program at the same time. This is not related if the bundles dispute unless of course the new conflict might have been overridden.

eight.six.2. Replacement entire bundles, pressuring their reduction¶

Second, Replaces lets the latest packaging program to resolve hence plan shall be local hookups app got rid of if there is a conflict (come across Contradictory digital packages – Problems ). That it usage just takes impression if a couple of packages would argument, therefore, the a couple uses of industry don’t meddle with each other.

In cases like this, the package declared to be replaced will likely be a virtual bundle, very for example, all post transportation agencies (MTAs) would have another areas inside their handle records:

ensuring that just one MTA would be unpacked at any one big date. Find Digital bundles – Offers additional information about any of it analogy.

seven.seven. Matchmaking ranging from origin and digital packages – Build-Depends , Build-Depends-Indep , Build-Depends-Arch , Build-Issues , Build-Conflicts-Indep , Build-Conflicts-Arch ¶

Origin bundles that require certain binary packages getting hung otherwise missing at the time of strengthening the container may declare dating to people binary bundles.

Pridaj komentár

Vaša e-mailová adresa nebude zverejnená. Vyžadované polia sú označené *