7.6. Overwriting data and you can replacement packages – Changes ¶
brand new pub-and additionally package commonly match the dependency for the foo bundle which have the latest virtual bundle identity, because significantly more than. In case your Provides field will not indicate a variation count, it will not see versioned dependencies or break versioned Problems or Getaways . Like, because of the following packages:
So you’re able to specify and therefore out of some actual packages are this new default to meet a specific reliance to the a virtual bundle, list the true bundle as an alternative before the digital one to.
If the virtual bundle signifies a business that only be available with that actual plan simultaneously, like the mail-transport-agent virtual package that really needs installation of a digital who would argument with all other providers of the digital bundle (discover Mail transport, birth and affiliate agencies ), every packages taking one to digital bundle must claim a conflict in it playing with Problems . This will ensure that at most you to definitely seller of these virtual bundle try unpacked or installed at once.
Packages is also state within handle document which they is overwrite data files in certain most other packages, otherwise entirely change most other bundles. The latest Changes control job keeps those two type of motives.
eight.6.step 1. Overwriting data files in other packages¶
It certainly is a blunder to own a great deal in order to consist of files that are towards program in another package. However, in case the overwriting package declares best term paper sites this Replaces the only which has brand new file getting overwritten, next dpkg tend to alter the file from the dated bundle that have those of the fresh. New file will not feel indexed as the “owned” because of the dated bundle and you will be bought out of the this new plan. Typically, Getaways is going to be utilized in conjunction with Replaces . cuatro
Particularly, in the event the a great deal foo try split into foo and you will foo-studies doing at the adaptation 1.2-3, foo-data might have the fresh areas
In the event the a deal is totally replaced similar to this, so that dpkg cannot understand of any data files they nevertheless include, it is thought to possess “disappeared”. It would be noted just like the perhaps not desired on the program (chosen for elimination) and you can “Not-Installed”. Any conffile s details recognized for the box might possibly be neglected, as they will were bought out from the overwriting package. The fresh new package’s postrm software is work on that have a different sort of argument to allow the package to complete one last cleaning needed. See Summary of indicates maintainer scripts are known as . 5
For it the means to access Replaces , digital bundles (come across Digital packages – Brings ) commonly sensed when considering a great Replaces community. The newest bundles proclaimed as being replaced must be said because of the the genuine names.
This access to Changes only takes impression when one another bundles is actually at least partly for the program at a time. It is not related in case your packages conflict until new conflict has been overridden.
seven.6.2. Replacing whole bundles, pushing their reduction¶
Second, Substitute lets the packaging program to answer and this plan will be got rid of if there is a dispute (look for Contradictory binary bundles – Problems ). That it need merely takes impression if several packages do dispute, so that the a couple of uses with the field do not interfere collectively.
In this case, the box stated to be changed will be a virtual plan, very eg, the mail transportation agencies (MTAs) could have another sphere inside their control data files:
ensuring that only 1 MTA should be unpacked at any one to big date. Discover Virtual bundles – Offers up considerably more details about any of it example.
seven.7. Relationship between origin and you can binary bundles – Build-Depends , Build-Depends-Indep , Build-Depends-Arch , Build-Problems , Build-Conflicts-Indep , Build-Conflicts-Arch ¶
Provider packages which need certain digital packages getting strung or absent during the time of building the package can get state matchmaking to those digital packages.