Remember that the brand new digital package dating fields such as Depends are available within the binary bundle areas of the newest control file, whereas the fresh new generate-day matchmaking for example Create-Is based come in the source bundle area of the control file (the earliest point)
Packages is also state inside their manage file they have specific dating to many other bundles – particularly, which they cannot be installed at the same time as specific most other bundles, and/or that they believe the current presence of others.
This is accomplished with the Is based , Pre-Would depend , Recommends , Suggests , Improves , Getaways and you will Issues manage areas. Trips is explained inside the Bundles and this split almost every other bundles – Vacation trips , and you can Disputes try demonstrated in the Contradictory binary bundles – Problems . The others was discussed less than.
With the exception of Enhances and Holidays , they appear from the founded (binary) package’s handle file. ( Advances looks throughout the suggesting package’s manage document, and you can Holidays seems on the style of relied-to the package that creates the brand new entitled bundle to break).
A depends occupation requires effect only when a great deal is to try to getting configured. It doesn’t prevent a great deal becoming towards the program into the an enthusiastic unconfigured state if you’re their dependencies is actually unsatisfied, and is also possible to displace a deal whoever dependencies is satisfied and craigslist hookup ads you will which is safely installed having yet another version whose dependencies aren’t and should not become met; if this is accomplished this new mainly based bundle will be kept unconfigured (since the tries to configure it does bring errors) and does not form properly. When it is necessary, an excellent Pre-Would depend field can be used, which includes a partial impact though a deal is being unpacked, as explained in detail less than. (Another about three dependence areas, Recommends , Means and you will Advances , are merely employed by the different side-stops to dpkg such as for instance apt-rating , aptitude , and you may dselect .)
Just like the Would depend simply metropolitan areas criteria towards the purchase where packages was set up, packages when you look at the a fixture work with are often most of the unpacked earliest and you can the designed later. step three
When there is a curved dependence among packages becoming installed or eliminated, installment otherwise removal acquisition remembering brand new reliance buy was hopeless, requiring brand new reliance loop be broken will eventually and the reliance standards violated for around you to bundle. Packages working in round dependencies may not be in a position to depend on the dependencies are set up before it themselves are configured, based on and this section of the split of the rounded dependency circle they are actually to the. If one of the bundles informed has no postinst software, then the stage could be busted at this plan; which implies that all of the postinst scripts are run and their dependencies safely designed if this sounds like you can easily. If not brand new breaking point are haphazard. Bundles will be hence stop rounded dependencies where you are able to, particularly when he’s postinst scripts.
Which announces an outright dependence. A great deal won’t be set up until all of the bundles listed in their Would depend job have been truthfully configured (unless of course you will find a bent reliance because the demonstrated over).
This type of seven sphere are widely used to state a dependency relationship from the you to package to the various other
This new Depends community shall be utilized in case the relied-to your plan will become necessary with the founded plan to provide a beneficial quite a bit away from possibilities.
The fresh Depends career ought to be used in the event your postinst or prerm programs need to have the relied-on plan getting unpacked otherwise set up so you’re able to work at. In the example of postinst arrange , the new depended-for the bundles is unpacked and you may set up very first. (In the event the one another bundles get excited about a dependency loop, this might maybe not become asked; understand the explanation a few paragraphs back.) In the example of prerm or other postinst tips, the box dependencies will normally feel at the least unpacked, nonetheless is generally just “Half-Installed” if the a past revision of one’s dependence were unsuccessful.