7.6. Overwriting records and substitution packages – Substitute ¶
brand new pub-including plan often match the reliance on foo bundle which have the brand new digital bundle term, since the over. If your Provides community cannot specify a variation matter, it will not meet versioned dependencies or violate versioned Conflicts otherwise Trips . Such as, because of the following bundles:
So you’re able to specify hence out of a couple of actual bundles might be new standard to meet a particular dependence toward a virtual plan, record the true package instead before the digital you to definitely.
If your digital plan means a business that just be available with one to actual bundle at a time, such as the post-transport-broker virtual plan that really needs installation of a binary that would argument along with most other organization of these digital plan (select Post transportation, beginning and you can affiliate representatives ), all of the packages taking one to virtual plan must also declare a conflict with it playing with Problems . This may make certain at most you to definitely seller of these digital bundle try unpacked or installed at once.
Packages normally state inside their manage document that they is always to overwrite documents in certain almost every other packages, or totally exchange other bundles. The new Substitute control profession has actually both of these line of purposes.
seven.6.step one. Overwriting data in other bundles¶
It’s always a blunder having a package to contain data which can be on the program an additional bundle. But not, if the overwriting bundle announces this Substitute the only which includes the fresh document becoming overwritten, next dpkg commonly alter the document regarding the old plan which have those of the brand new. The brand new file will not end up being indexed as the “owned” because of the old bundle and you will be bought out because of the the fresh bundle. Generally speaking, Getaways should be utilized in conjunction that have Replaces . cuatro
Like, in the event the a great deal foo was divided in to foo and you can foo-data undertaking from the adaptation 1.2-step three, foo-data could have new industries
If the a great deal is wholly replaced in this way, making sure that dpkg cannot learn of any files they nevertheless include, it is thought to has actually “disappeared”. It would be marked once the perhaps not wished on system (picked to have removal) and “Not-Installed”. Any conffile s information known for the package will be forgotten, as they will were bought out by the overwriting plan. The newest package’s postrm script could be manage which have a separate conflict to let the container accomplish one finally cleanup called for. Get a hold of Writeup on means maintainer scripts are called . 5
Because of it access to Substitute , digital bundles (come across Virtual bundles – Provides ) are not noticed when examining an excellent Changes occupation. The packages announced as actually replaced must be mentioned by the their real names.
Which the means to access Changes merely takes impression whenever one another bundles are at the very least partially on the program at once. This isn’t associated if your packages conflict except if brand new disagreement has been overridden.
eight.six.dos. Replacing entire packages, forcing its elimination¶
Second, Changes allows the latest packing program to resolve and this plan are going to be got rid of if there is a conflict (see Conflicting binary bundles – Issues ). That it usage only requires impact in the event that a couple packages would disagreement, so the one or two usages associated with occupation don’t interfere along.
In cases like this, the container declared to be replaced is an online bundle, so instance, all of the mail transport representatives (MTAs) will have another fields within control documents:
ensuring that just one MTA are going to be unpacked any kind of time one time. Pick Virtual bundles – Provides for info about this analogy.
7.7. Dating anywhere between origin and you can binary packages – Build-Would depend , Build-Depends-Indep , Build-Depends-Arc , Build-Issues , Build-Conflicts-Indep , Build-Conflicts-Arch ¶
Resource packages that dating sites for Casual Sex professionals require certain digital packages getting strung otherwise missing in the course of building the package get declare dating to the people binary packages.