Links überspringen

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

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

the fresh new bar-plus plan often match the dependency into the foo plan which have the fresh virtual package title, as the significantly more than. In case your Will bring community cannot specify a difference number, it does not meet versioned dependencies otherwise violate versioned Issues or Holidays . Like, because of the following bundles:

To specify hence out-of a couple of real packages is the newest standard meet up with a certain dependence towards the an online plan, number the true package as an alternative until the digital that.

When your digital package represents a facility that can just be available with that actual plan at the same time, for instance the send-transport-agent virtual package that needs installing a binary that would conflict with all other company of the virtual bundle (come across Mail transport, delivery and you will associate agencies ), all the bundles delivering one digital bundle must also state a dispute inside playing with Conflicts . This can make sure at most you to supplier of the virtual plan is unpacked otherwise installed at a time.

Bundles normally claim within their handle document which they would be to overwrite documents in certain most other bundles, or totally change almost every other bundles. This new Substitute manage job enjoys both of these type of objectives.

seven.6.step 1. Overwriting records in other bundles¶

It is usually a blunder to have a great deal in order to incorporate data files that are into system in another bundle. Although not, if your overwriting bundle declares that it Changes usually the one that features the fresh file becoming men seeking women for sex overwritten, up coming dpkg commonly alter the document about old plan having those of the brand new. The brand new document won’t end up being listed because the “owned” from the old bundle and additionally be bought out by the new package. Usually, Holiday breaks shall be included in conjunction which have Changes . cuatro

For example, in the event the a great deal foo try split up into foo and you will foo-studies carrying out on adaptation 1.2-step three, foo-investigation might have the new sphere

If the a package is totally changed along these lines, so dpkg will not see of every data they nonetheless contains, it is considered to has actually “disappeared”. It might be marked since not need with the program (picked having removal) and “Not-Installed”. Any conffile s info noted for the container would-be neglected, as they will was in fact absorbed by the overwriting plan. The newest package’s postrm program could well be work with having yet another argument to let the box to do people finally clean up needed. Look for Report about implies maintainer programs have been called . 5

For it use of Changes , digital bundles (select Virtual packages – Provides ) aren’t felt when looking at a beneficial Changes career. The packages announced as being changed should be stated by its genuine brands.

This entry to Substitute just takes impact when one another bundles are no less than partially into program at the same time. This is simply not relevant in case the bundles dispute until the newest argument might have been overridden.

seven.6.dos. Replacing whole packages, pushing the treatment¶

2nd, Replaces lets the new packaging system to resolve and therefore bundle is got rid of when there is a conflict (look for Contradictory binary bundles – Disputes ). This need simply requires impact if the two packages do conflict, and so the a few usages in the job do not interfere with each other.

In this case, the package declared to be changed shall be an online bundle, very such as, all the post transport agencies (MTAs) will have the next areas within their manage records:

making certain just one MTA would be unpacked any kind of time you to date. Find Digital bundles – Offers up additional information regarding it example.

eight.eight. Matchmaking anywhere between supply and you will binary packages – Build-Would depend , Build-Depends-Indep , Build-Depends-Arch , Build-Conflicts , Build-Conflicts-Indep , Build-Conflicts-Arc ¶

Origin packages that need particular binary bundles as strung or absent during strengthening the package could possibly get declare relationship to people binary packages.

Einen Kommentar hinterlassen