7.2. Digital Dependencies – Would depend , Advises , Indicates , Advances , Pre-Would depend ¶

7.2. Digital Dependencies – Would depend , Advises , Indicates , Advances , Pre-Would depend ¶

Observe that the new binary plan relationships sphere particularly Is based appear in one of the binary package chapters of the handle file, whereas the fresh new generate-day relationships such as for instance Make-Is based come in the source bundle section of the control document (the first point)

Bundles can also be declare inside their handle file they have specific relationships some other bundles – like www.hookupfornight.com/men-seeking-women/, that they cannot be strung at the same time while the certain other packages, and/otherwise that they rely on the clear presence of someone else.

This is done utilising the Is based , Pre-Is based , Recommends , Means , Advances , Vacations and you will Conflicts control sphere. Vacation trips try demonstrated during the Bundles and that split most other bundles – Trips , and you can Problems was described into the Conflicting digital bundles – Problems . Others was demonstrated lower than.

Except for Enhances and you will Holiday breaks , they appear regarding centered (binary) package’s manage document. ( Improves appears from the suggesting package’s control file, and you may Holiday breaks appears on type of relied-toward plan which causes the called bundle to-break).

A will be based community takes effect only if a deal is always to feel set up. It will not prevent a great deal being with the system into the an enthusiastic unconfigured state while the dependencies is actually disappointed, and it is you’ll be able to to replace a package whoever dependencies was came across and you will that is properly hung with another adaptation whoever dependencies commonly and cannot feel met; if this is carried out this new situated package would-be left unconfigured (since the tries to arrange it can bring mistakes) and will not function properly. If it is expected, a great Pre-Is based career can be used, with a partial feeling although a great deal has been unpacked, once the told me in detail below. (One other three reliance fields, Advises , Implies and Advances , are just utilized by various front side-stops so you’re able to dpkg particularly likely-get , abilities , and you may dselect .)

Because Is based merely locations requirements to the buy where packages is actually set up, bundles when you look at the an installation manage are usually most of the unpacked very first and you can every designed afterwards. step three

If there is a rounded dependence certainly bundles becoming installed or eliminated, installment otherwise removal order celebrating the brand new dependency purchase is actually hopeless, demanding the fresh new reliance loop feel damaged at some point additionally the reliance conditions broken for around that plan. Packages working in rounded dependencies may not be able to count on their dependencies are configured prior to it themselves are set up, depending on hence region of the split of your rounded dependency circle they already are with the. If a person of bundles informed has no postinst script, then the stage could be broken at that package; so it implies that every postinst scripts are running making use of their dependencies properly set up if this is you’ll be able to. If not this new breaking section is actually arbitrary. Bundles is always to thus avoid rounded dependencies where you’ll, especially if they have postinst programs.

This declares an outright reliance. A package won’t be set up except if all the bundles listed in their Depends community have been correctly designed (unless of course there was a rounded reliance once the explained above).

These types of seven industries are accustomed to declare an addiction dating from the you to definitely bundle into the other

The Would depend industry can be made use of in case your relied-on the package will become necessary on dependent package to add an effective great amount away from effectiveness.

The Is based field should also be used when your postinst otherwise prerm programs need the relied-to the plan as unpacked or set up so you can run. In the case of postinst configure , the newest depended-into the packages might be unpacked and you may set up very first. (If one another bundles take part in a dependency loop, this could perhaps not behave as requested; see the reason several paragraphs straight back.) In the case of prerm or other postinst actions, the box dependencies will normally getting at the least unpacked, but they may be simply “Half-Installed” if the a previous improve of the reliance were unsuccessful.

Geef een antwoord

Het e-mailadres wordt niet gepubliceerd.