seven.six. Overwriting data files and replacing packages – Substitute ¶

the newest bar-and package commonly match the dependency to your foo package with the new virtual bundle name, because the over. If for example the Brings community cannot indicate a variation matter, it does not satisfy versioned dependencies otherwise break versioned Problems or Trips . Such as for instance, given the adopting the bundles:

To help you indicate and therefore from a set of genuine bundles will likely be brand new standard in order to meet a particular reliance toward an online bundle, record the real plan as an alternative until the digital you to definitely.

Whether your digital package signifies a business that only be provided by that actual package at the same time, for instance the post-transport-representative virtual package that requires installing a binary who would argument with all other company of that digital plan (see Post transportation, birth and you may user representatives ), all bundles bringing one virtual bundle should declare a dispute on it playing with Conflicts . This will ensure that at the most one to seller of these digital bundle is actually unpacked otherwise strung at the same time.

Bundles can also be declare within their control document that they is to overwrite records in a number of most other bundles, or completely replace other bundles. The newest Replaces handle job has actually those two distinctive line of aim.

eight.six.step one. Overwriting records various other packages¶

It certainly is an error for a deal in order to incorporate data being for the system in another package. Although not, if your overwriting plan announces so it Substitute the one which has the new file are overwritten, upcoming dpkg have a tendency to replace the document in the old plan which have those of the fresh. The newest file will not feel indexed because “owned” because of the old package and will be bought out of the this new package. Normally, Getaways is used in combination having Substitute . cuatro

Like, if a great deal foo are divided in to foo and you may foo-data carrying out from the variation 1.2-3, foo-research will have the new sphere

If the a deal is entirely replaced in this way, to ensure dpkg does not see of every data files they nevertheless include, it is considered to features “disappeared”. It could be noted given that not desired toward system (chosen getting treatment) and you may “Not-Installed”. One conffile s details recognized for the box would-be ignored, as they will had been absorbed because of the overwriting package. New package’s postrm script could be work with having an alternative disagreement to let the container doing one final clean up expected. Find Review of ways maintainer scripts have been called . 5

For it use of Changes , digital bundles (get a hold of Virtual packages – Provides ) aren’t sensed when examining a beneficial Replaces industry. Brand new packages stated as actually replaced need to be mentioned by its real labels.

Which the https://hookupfornight.com/lesbian-hookup means to access Changes only takes effect whenever both bundles is about partly with the program at the same time. That isn’t relevant if for example the bundles dispute unless of course the fresh conflict might have been overridden.

7.six.dos. Replacement entire bundles, pushing the removing¶

Second, Changes lets the packaging program to respond to and therefore package should be eliminated if there is a dispute (look for Contradictory binary bundles – Problems ). This incorporate only requires effect when the a few packages carry out argument, and so the several uses from the job don’t meddle together.

In this instance, the container declared as actually changed are going to be an online bundle, thus such, the send transportation representatives (MTAs) might have another areas in their control files:

making certain singular MTA are going to be unpacked at any you to definitely date. Select Virtual packages – Offers up considerably more details about any of it analogy.

eight.seven. Relationship ranging from source and you can binary packages – Build-Would depend , Build-Depends-Indep , Build-Depends-Arc , Build-Conflicts , Build-Conflicts-Indep , Build-Conflicts-Arch ¶

Provider bundles which need particular digital bundles are strung or missing during the time of building the container could possibly get declare relationships to people binary packages.

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *