golfferiehusebornholm

7.2. Digital Dependencies – Would depend , Suggests , Suggests , Advances , Pre-Depends ¶

7.2. Digital Dependencies – Would depend , Suggests , Suggests , Advances , Pre-Depends ¶

Observe that the latest binary plan matchmaking sphere such as for example Is based come within the digital bundle areas of the control file mature women websites, while the fresh new create-day matchmaking such as for example Generate-Would depend can be found in the cause bundle part of the handle file (the earliest part)

Bundles normally declare inside their manage document they’ve specific relationship to other packages – particularly, which they can’t be installed meanwhile due to the fact particular most other bundles, and/otherwise that they rely on the current presence of someone else.

This is done making use of the Is based , Pre-Depends , Recommends , Ways , Improves , Holiday breaks and Issues manage fields. Vacation trips are revealed during the Bundles which split other bundles – Holiday breaks , and Problems was explained from inside the Contradictory binary packages – Problems . The rest try explained lower than.

Apart from Improves and you may Getaways , they look about dependent (binary) package’s control document. ( Advances appears regarding indicating package’s control file, and you will Holiday breaks seems regarding the brand of relied-towards the plan that triggers the titled bundle to break).

A will be based career requires impact on condition that a package will be to become designed. It generally does not avoid a great deal being on system in the an enthusiastic unconfigured condition when you are its dependencies is unsatisfied, and it is you’ll be able to to replace a deal whose dependencies is met and you will that is safely strung that have an alternative adaptation whoever dependencies commonly and should not be came across; when this is done the fresh new centered plan could well be kept unconfigured (just like the attempts to arrange it does promote errors) and will not setting safely. If it’s necessary, a beneficial Pre-Depends industry may be used, which has a partial effect even when a deal will be unpacked, given that told me in detail below. (The other around three dependency sphere, Recommends , Means and you can Enhances , are just used by the different top-finishes so you can dpkg including suitable-get , aptitude , and you may dselect .)

While the Is based simply metropolises criteria towards the purchase in which packages try configured, bundles from inside the an installation work at usually are all unpacked earliest and you can every configured later on. step three

If there’s a circular dependence among packages becoming installed or got rid of, set up or treatment acquisition honoring this new dependency acquisition was hopeless, requiring the dependence loop end up being busted will eventually as well as the reliance criteria broken for at least you to definitely plan. Bundles employed in circular dependencies may possibly not be in a position to depend on the dependencies are configured just before they themselves are configured, based and this section of the crack of your own round dependence cycle they are usually towards. If an individual of packages in the loop has no postinst script, then the stage will be damaged at that plan; it ensures that every postinst programs are running and their dependencies properly designed should this be you can. Or even the brand new breaking point was haphazard. Bundles would be to hence end rounded dependencies in which you can, particularly if they have postinst programs.

Which announces a complete dependency. A deal won’t be set up except if all packages placed in the Depends job had been precisely configured (until you will find a circular dependence as the described over).

This type of eight areas are accustomed to claim an addiction relationship because of the that package to the various other

The brand new Is based job should be utilized in case your depended-towards the package becomes necessary on dependent bundle to include an effective lot out of capabilities.

The newest Is based industry should also be made use of if the postinst otherwise prerm scripts require depended-towards bundle to get unpacked or set up to work at. Regarding postinst arrange , the latest depended-towards the packages was unpacked and you can designed first. (When the each other packages take part in an addiction loop, this may maybe not become expected; comprehend the cause a few paragraphs straight back.) In the example of prerm and other postinst tips, the container dependencies will normally getting at the least unpacked, but they can be merely “Half-Installed” if the a past improve of one’s reliance unsuccessful.

Skriv en kommentar

Din e-mailadresse vil ikke blive publiceret. Krævede felter er markeret med *