new bar-and bundle usually satisfy the reliance on the foo plan having new digital plan label, since a lot more than. In case the Brings career does not indicate a version number, it will not meet versioned dependencies or violate versioned Disputes otherwise Getaways . Eg, given the pursuing the packages:
So you can identify hence out-of a couple of genuine packages will be the newest standard to meet a particular dependence towards a virtual package, listing the true package instead up until the virtual one.
When your digital package signifies a business that will only be provided by one to real plan immediately, for instance the post-transport-broker digital bundle that needs installing a binary that https://hookupfornight.com/milf-hookup would argument along with most other providers of that digital package (look for Mail transport, delivery and you may user agencies ), all of the packages bringing one to virtual package should declare a conflict inside it playing with Disputes . This may make sure that at the most one to provider of the virtual plan was unpacked or installed at once.
Bundles normally state in their control document which they will be overwrite files in some other bundles, or totally change almost every other bundles. The new Substitute manage industry enjoys these two collection of motives.
7.six.step 1. Overwriting data various other packages¶
It’s always a blunder to have a deal in order to incorporate data files that are into the system in another bundle. Yet not, whether your overwriting bundle announces it Changes the only which has had the document are overwritten, then dpkg commonly replace the document on old package with those of the new. The latest file will no longer become detailed while the “owned” by old plan and will be bought out by the the new plan. Generally speaking, Holidays can be utilized in combination having Replaces . 4
Such as for instance, if the a package foo is actually divided in to foo and you can foo-data carrying out from the adaptation step 1.2-step three, foo-data could have the newest areas
In the event that a great deal is entirely replaced along these lines, to make sure that dpkg cannot know of every records it nonetheless includes, it is thought to have “disappeared”. It could be noted since not wished for the system (chosen to own elimination) and you may “Not-Installed”. Any conffile s info noted for the container might possibly be forgotten, as they begin to have been taken over because of the overwriting plan. New package’s postrm script might possibly be focus on with yet another dispute to let the package doing one finally tidy up required. Discover Overview of ways maintainer texts are called . 5
For it the means to access Substitute , digital bundles (discover Virtual bundles – Provides ) commonly experienced when looking at a beneficial Replaces job. The brand new bundles proclaimed as being changed must be said because of the its real names.
That it access to Changes just requires perception whenever each other bundles is actually at least partially towards the system immediately. That isn’t associated when your bundles conflict unless new argument has been overridden.
eight.6.2. Replacement entire packages, pushing their reduction¶
Second, Replaces lets the fresh packaging system to answer which plan would be got rid of if there is a conflict (look for Contradictory binary packages – Problems ). Which need simply requires effect when the several bundles perform conflict, therefore, the two usages on the career don’t meddle collectively.
In this case, the package proclaimed as being changed will likely be a virtual plan, thus such as for example, most of the post transport agencies (MTAs) would have the next areas within their manage files:
making sure only 1 MTA are going to be unpacked at any that date. Pick Digital bundles – Provides for details regarding it example.
7.seven. Relationship ranging from origin and you can binary packages – Build-Depends , Build-Depends-Indep , Build-Depends-Arc , Build-Conflicts , Build-Conflicts-Indep , Build-Conflicts-Arc ¶
Resource packages that need specific binary bundles to-be hung otherwise missing during the time of strengthening the package could possibly get state relationships to the people binary packages.
No responses yet