eight.2. Binary Dependencies – Depends , Advises , Means , Enhances , Pre-Depends ¶

eight.2. Binary Dependencies – Depends , Advises , Means , Enhances , Pre-Depends ¶

Keep in mind that this new digital package relationships areas such Would depend appear within the binary package sections of the newest control file, whereas the newest create-day relationship including Build-Would depend appear in the main cause bundle part of the handle document (which is the basic point)

Packages can claim inside their handle document that they have certain dating with other bundles – such as for instance, that they can’t be strung meanwhile just like the particular other packages, and/or which they believe the current presence of anybody else.

This is done utilising the Would depend , Pre-Depends , Suggests , Means , Advances , Vacations and you will Disputes control sphere. Vacations is actually described within the Bundles and that crack other bundles – Holiday breaks , and you will Conflicts is actually demonstrated inside the Conflicting binary bundles – Issues . The remainder try discussed below.

With the exception of Advances and you will Trips , they look regarding built (binary) package’s control document. ( Advances seems on suggesting package’s manage document, and you can Vacation trips appears in the style of relied-towards plan that triggers the fresh new named bundle to break).

A depends community takes perception as long as a great deal is to be set up. It doesn’t prevent a deal getting towards the program within the an enthusiastic unconfigured state if you are its dependencies is unhappy, and it is possible to change a package whoever dependencies try met and that’s safely hung which have another type of adaptation whoever dependencies are not and should not become met; when this is performed the latest depending package might be kept unconfigured (as attempts to configure it does bring errors) and will not form securely. If it is necessary, an effective Pre-Is based industry can be used, which includes a partial impact even if a great deal has been unpacked, while the explained in more detail lower than. (Additional about three dependency fields, Advises , Implies and you can Improves , are merely employed by the different front side-closes to help you dpkg such as for instance likely-get , abilities , and you may dselect .)

Due to the fact Would depend simply metropolitan areas standards on the acquisition in which bundles try designed, bundles during the an installation run are usually all of the unpacked earliest and you may most of the set up later on. step three

If there’s a rounded reliance one of packages being hung or got rid of, set up otherwise treatment purchase celebrating the reliance order try impossible, demanding this new dependency circle getting broken will eventually and dependency standards violated for at least that package. Packages in circular dependencies is almost certainly not able to depend to their dependencies are designed ahead of it are configured, dependent on and that area of the break of your own circular dependence loop they already are into the. If one of packages informed does not have any postinst script, then your duration could well be busted at that package; it ensures that most of the postinst scripts are running with the dependencies safely set up should this be possible. If you don’t the latest cracking section is random. Packages is ergo avoid circular dependencies where you’ll be able to, especially if he has got postinst scripts.

This announces an absolute reliance. A deal will never be designed until all the bundles listed in its Would depend job was in fact correctly configured (unless there clearly was a curved dependence as explained over).

These types of eight sphere are acclimatized to state an addiction dating from the you to plan to your some other

This new Is based job http://www.hookupfornight.com/teen-hookup-apps/ is going to be used in the event the depended-on package required on based plan to provide a beneficial lot from possibilities.

The Would depend job should be used in case your postinst or prerm programs need the relied-on the plan to be unpacked or designed in order to work on. Regarding postinst configure , new relied-towards packages might possibly be unpacked and you can set up basic. (In the event the both packages are involved in a habits loop, this could maybe not act as asked; comprehend the factor a few sentences right back.) When it comes to prerm or other postinst strategies, the package dependencies will generally getting no less than unpacked, but they are simply “Half-Installed” if a past change of one’s reliance were not successful.

9 มีนาคม 2023

0 responses on "eight.2. Binary Dependencies - Depends , Advises , Means , Enhances , Pre-Depends ¶"

Leave a Message

2019 © Online factory check-up
Developed by Plastics Institute Of Thailand

Setup Menus in Admin Panel