7.6. Overwriting data and you can replacement packages — Replaces ¶

7.6. Overwriting data and you can replacement packages — Replaces ¶

the brand new pub-and package have a tendency to fulfill the dependence into the foo bundle that have the latest virtual package name, because significantly more than. In the event the Provides field does not establish a variety amount, it does not fulfill versioned dependencies or violate versioned Issues otherwise Holidays . Eg, considering the following bundles:

So you’re able to establish and therefore of a collection of actual bundles might be brand new standard to meet up a specific reliance to your a virtual package, number the real bundle alternatively until the virtual you to.

Whether your digital bundle stands for a facility which can only be available with one genuine plan immediately, including the mail-transport-agent virtual package that needs installation of a digital that would conflict with all of most other company of that digital bundle (get a hold of Post transportation, birth and you may affiliate representatives ), all the bundles delivering you to definitely digital plan should claim a conflict in it playing with Disputes . This can make sure that at the most you to definitely seller of this virtual package try unpacked otherwise hung at once.

Packages is also declare inside their manage document that they will be overwrite data files in a few most other packages, otherwise completely replace most other bundles. The newest Changes manage job possess those two line of aim.

seven.six.1. Overwriting data various other bundles¶

It is usually a mistake to own a package to help you contain data being into the system an additional plan. Yet not, should your overwriting plan declares which Substitute the one that has the newest document are overwritten, next dpkg will change the document on the dated plan with those of the brand new. The brand new document will no longer be noted since “owned” by the old package and will also be bought out because of the brand new package. Normally, Breaks are going to be used in combination which have Substitute . cuatro

Instance, in the event the a great deal foo was split up into foo and you may foo-investigation starting during the type step one.2-step three, foo-investigation could have the fresh new areas

If a package is wholly replaced along these lines, to ensure that dpkg doesn’t learn of every files they however consists of, it is thought to has actually “disappeared”. It will be marked as the maybe not wished towards the system (chosen to own removing) and “Not-Installed”. People conffile s info noted for the box will be neglected, as they begin to was bought out because of the overwriting package. The new package’s postrm software would be work with having a new disagreement to allow the package to-do people latest clean required. Pick Article on means maintainer texts are known as . 5

For this entry to Substitute , virtual bundles (look for Digital packages — Brings ) are not believed when looking at an excellent Substitute occupation. The brand new packages proclaimed as actually changed need to be mentioned of the its real names.

So it usage of Changes simply requires impact whenever each other packages are no less than partially into program at a time. This isn’t related when your packages argument unless brand new argument could have been overridden.

seven.six.dos. Replacing whole packages, pressuring their removal¶

Second, Substitute lets the new packaging program to respond to and this package are eliminated if you have a conflict (discover Conflicting digital packages — Issues ). So it usage simply requires effect in the event that several packages do argument, therefore, the one or two usages in the job don’t meddle collectively.

In this instance, the box stated as actually changed will be a virtual package, thus like, most of the post transport agents (MTAs) could have the following sphere in their control data:

making certain that one MTA is going to be unpacked at any one to day. Look for Virtual packages — Offers much hookup sites San Diego more information about it example.

eight.seven. Relationships anywhere between origin and you may digital packages — Build-Would depend , Build-Depends-Indep , Build-Depends-Arc , Build-Issues , Build-Conflicts-Indep , Build-Conflicts-Arc ¶

Origin packages that want specific digital packages are strung or missing in the course of strengthening the box will get declare dating to people digital bundles.

Author: Алекс

Инструктор по сальса в Одессе.

Share This Post On