eight.six. Overwriting files and you will replacement packages – Substitute ¶

Posted on 14 marzo, 2023

the fresh pub-plus package usually fulfill the reliance to the foo bundle with the newest digital bundle term, just like the a lot more than. If for example the Brings job doesn’t indicate a difference amount, it does not fulfill https://datingranking.net/bdsm-sites/ versioned dependencies or break versioned Disputes otherwise Getaways . Such as for example, given the pursuing the packages:

To establish hence from a set of actual packages is going to be the brand new standard to fulfill a specific reliance towards the an online plan, list the genuine package instead through to the digital you to.

In the event your digital package means a business that can only be provided by you to definitely real plan at once, such as the send-transport-broker virtual bundle that requires laying out a digital who does disagreement with all other company of the digital bundle (find Send transportation, birth and you may affiliate agents ), all bundles bringing one to virtual package should state a conflict on it using Problems . This will make sure that at the most one merchant of that virtual plan are unpacked otherwise strung at a time.

Packages is state within control document that they is always to overwrite documents in a few most other bundles, or entirely replace other packages. The Substitute control profession possess those two collection of objectives.

seven.six.step 1. Overwriting documents various other packages¶

It certainly is an error to own a great deal in order to incorporate records which can be with the system an additional bundle. However, should your overwriting package announces it Replaces the main one containing the file being overwritten, then dpkg tend to replace the document in the dated package which have that from new. The file will not getting indexed since the “owned” by the old package and will be taken over from the the fresh plan. Normally, Breaks can be utilized in conjunction having Substitute . 4

Such as for example, when the a deal foo try split into foo and you may foo-studies performing during the type 1.2-step three, foo-data would have the brand new areas

In the event that a package is very changed similar to this, so that dpkg will not see of every records it nonetheless consists of, it is thought to keeps “disappeared”. It might be marked since the perhaps not wished to the system (chosen getting removal) and you may “Not-Installed”. Any conffile s info recognized for the container is ignored, as they begin to was basically taken over from the overwriting plan. The brand new package’s postrm program might be focus on with a new conflict to let the package to-do any finally clean up called for. Look for Report about means maintainer texts are known as . 5

Because of it the means to access Substitute , digital bundles (select Virtual packages – Provides ) are not noticed when looking at an excellent Replaces industry. The new bundles announced as being replaced need to be said of the their actual names.

This entry to Replaces simply requires impact whenever one another packages is at the very least partially with the system at the same time. This isn’t associated whether your packages disagreement unless of course this new argument has been overridden.

seven.6.dos. Substitution entire packages, pressuring its reduction¶

Second, Replaces lets new packing program to answer which plan are eliminated when there is a conflict (find Contradictory digital packages – Disputes ). This utilize only takes feeling if the a few bundles create argument, so that the several usages for the career don’t meddle collectively.

In this instance, the package announced to be changed are going to be a virtual plan, thus including, all of the mail transportation representatives (MTAs) will have the next industries within their manage records:

making certain that just one MTA is going to be unpacked any kind of time you to day. Select Digital packages – Offers additional info regarding it example.

7.seven. Dating ranging from origin and you may binary packages – Build-Would depend , Build-Depends-Indep , Build-Depends-Arch , Build-Conflicts , Build-Conflicts-Indep , Build-Conflicts-Arch ¶

Supply bundles that require specific digital bundles to be strung otherwise absent in the course of building the box will get declare relationships to people binary packages.


No Replies to "eight.six. Overwriting files and you will replacement packages - Substitute ¶"


    Got something to say?

    Some html is OK