eight.six. Overwriting data files and you will replacing packages – Substitute ¶
brand new club-including plan tend to fulfill the dependence into foo plan having the fresh new virtual bundle title, as the above. In case your Brings field does not indicate a variety number, it doesn’t fulfill versioned dependencies otherwise violate versioned Conflicts otherwise Holidays . Instance, given the following packages:
To help you establish and therefore regarding a set of actual packages are new default to meet a particular dependence on an online package, number the genuine plan rather until the virtual you to definitely.
Should your virtual bundle stands for a facility which can just be available with you to definitely actual plan at a time, like the send-transport-representative virtual bundle that requires having a digital who does conflict with other team of this digital plan (select Mail transport, beginning and you will representative agents ), all packages getting one digital plan should state a dispute inside it playing with Disputes . This will make certain at the most one provider of this virtual package is unpacked otherwise installed at a time.
Bundles normally claim inside their manage document which they would be to overwrite data files in certain almost every other packages, or completely change most other bundles. The latest Substitute control occupation keeps these distinctive line of objectives.
7.six.step 1. Overwriting files in other bundles¶
It certainly is a blunder getting a deal so you lesbian hookup free can consist of documents which happen to be to the program in another plan. Although not, if your overwriting bundle declares that it Substitute the one that features this new file becoming overwritten, next dpkg have a tendency to change the file on old plan which have those of the newest. The latest file will not end up being noted as “owned” because of the old plan and will also be bought out because of the the brand new bundle. Normally, Vacations will be included in combination having Changes . 4
Instance, when the a package foo try divided in to foo and you will foo-data doing in the adaptation 1.2-step three, foo-data will have the fresh new sphere
In the event the a package is wholly changed in this way, to make sure that dpkg will not learn of every data files they however consists of, it is considered to features “disappeared”. It might be noted because perhaps not desired on the program (chose to have reduction) and you will “Not-Installed”. One conffile s facts noted for the package could well be overlooked, as they begin to have been bought out of the overwriting package. The package’s postrm script might be work on that have a new disagreement so that the package to complete people final clean up requisite. Pick Summary of ways maintainer scripts are called . 5
For it entry to Changes , virtual bundles (discover Digital bundles – Provides ) commonly noticed when examining good Substitute community. The new bundles announced as being replaced must be said by its real brands.
That it entry to Changes just requires perception when both packages try at least partly into the program at once. This is not relevant in the event the packages disagreement unless of course the new disagreement has been overridden.
seven.6.2. Replacing entire bundles, pressuring their removal¶
Second, Replaces lets the fresh new packaging program to respond to and that plan are eliminated if there is a dispute (come across Conflicting binary bundles – Conflicts ). That it utilize merely takes perception if several packages manage dispute, therefore the two uses from the career do not interfere along.
In this situation, the package declared to be changed are a virtual bundle, so such as for instance, all send transportation representatives (MTAs) would have the second industries within handle records:
ensuring that just one MTA can be unpacked any kind of time one to time. Pick Digital bundles – Offers up details about any of it example.
7.seven. Matchmaking anywhere between origin and you may digital packages – Build-Depends , Build-Depends-Indep , Build-Depends-Arc , Build-Conflicts , Build-Conflicts-Indep , Build-Conflicts-Arch ¶
Origin packages which need specific digital packages become installed otherwise missing during the time of strengthening the package can get claim dating to the people binary bundles.
Comments are closed.