7.6. Overwriting files and substitution packages – Substitute ¶

La 1ere lexie d’approche represente identiquement vraiment plus grande
March 8, 2023
To discover more regarding such ventures, consult with your state’s board out of knowledge plus school’s financial assistance work environment
March 8, 2023

7.6. Overwriting files and substitution packages – Substitute ¶

7.6. Overwriting files and substitution packages – Substitute ¶

the latest pub-including package usually fulfill the dependency on foo package with the virtual plan label, since the over. Should your Provides profession cannot indicate a difference amount, it doesn’t see versioned dependencies or violate versioned Conflicts otherwise Breaks . Such as for instance, because of the pursuing the packages:

To help you identify hence off a set of real bundles might be brand new standard to generally meet a specific reliance on the a virtual plan, checklist the true package instead until the digital that.

When your virtual plan is short for a business that may just be provided by you to definitely actual package at once, including the post-transport-broker digital plan that really needs laying out a digital who would conflict with all of almost every other company of these digital plan (get a hold of Mail transport, beginning and you will user agencies ), all of the bundles providing one virtual package should also declare a conflict involved playing with Disputes . This may make certain at the most one to seller of these virtual plan is unpacked otherwise hung immediately.

Packages can also be state in their manage document that they will be overwrite data files in a number of other bundles, otherwise entirely change most other bundles. New Substitute manage job provides these two collection of aim.

eight.6.step one. Overwriting files in other bundles¶

It is usually a mistake having a deal in order to have records which can be towards system an additional plan. However, when your overwriting plan announces that it Changes one that features the fresh file are overwritten, following dpkg usually change the document throughout the dated bundle having those of this new. This new document will no longer end up being listed since the “owned” of the dated package and additionally be taken over because of the the fresh bundle. Typically, Getaways is going to be used in combination that have Substitute . 4

Including, in the event the a great deal popular asian hookup app foo try put into foo and you may foo-research starting on version step 1.2-step 3, foo-research might have this new sphere

If the a package is totally replaced like this, to ensure that dpkg cannot know of any data files it however contains, it’s thought to provides “disappeared”. It would be designated as maybe not need towards program (picked to have elimination) and “Not-Installed”. People conffile s info known for the package would be forgotten, as they begin to had been bought out by the overwriting package. Brand new package’s postrm script is focus on with a separate conflict to allow the container doing one last clean up expected. Look for Post on implies maintainer programs have been called . 5

For it use of Substitute , virtual packages (discover Digital bundles – Brings ) aren’t sensed when looking at a great Replaces job. This new packages stated to be changed need to be mentioned because of the the real labels.

Which accessibility Replaces just takes effect whenever each other packages was at the least partly into system at a time. That isn’t relevant in case your bundles conflict until the new dispute has been overridden.

seven.6.2. Substitution entire bundles, pressuring the removal¶

Next, Substitute allows the packing system to respond to and therefore package will likely be removed when there is a dispute (look for Conflicting binary bundles – Problems ). That it usage only takes impact in the event that a few packages do argument, therefore, the a few uses in the occupation do not meddle along.

In cases like this, the container proclaimed as actually changed are an online plan, so like, the post transport agents (MTAs) might have the following areas within their manage records:

making certain that only one MTA shall be unpacked at any you to definitely day. Look for Digital bundles – Provides for facts about it analogy.

7.eight. Relationship anywhere between supply and you may binary bundles – Build-Is based , Build-Depends-Indep , Build-Depends-Arc , Build-Conflicts , Build-Conflicts-Indep , Build-Conflicts-Arch ¶

Resource packages that want certain binary bundles are strung otherwise absent during the time of building the package could possibly get declare matchmaking to those binary packages.