[pacman-dev] [arch-general] Error message on mkinitcpio
allan at archlinux.org
Thu Feb 11 19:53:37 EST 2010
On 12/02/10 10:46, Xavier Chantry wrote:
> That documentation from man PKGBUILD still applies, I don't think we
> ever considered it as a bug/problem :
> replaces (array)
> An array of packages that this package should replace, and
> can be used to handle renamed/combined packages. For example, if the
> j2re package is renamed to jre, this directive allows
> future upgrades to continue as expected even though the package has
> moved. Sysupgrade is currently the only pacman operation
> that utilizes this field, a normal sync will not use its value.
> But now I am wondering if replaces could imply conflicts/provides.
> Implicit fields means less control and power to the user/packager though.
It could... but would need some tweaking. The provides array normally
is versioned, while the replaces array is not.
More information about the pacman-dev