[pacman-dev] [PATCH] libalpm: fix for conflicts&provides in sync_prepare()
Aurelien Foret
aurelien at archlinux.org
Thu Jan 5 15:53:49 EST 2006
VMiklos wrote:
> http://frugalware.org/~vmiklos/patches/libpacman-proposed/conflict_provide.diff
>
> the scenario is the following:
> package A conflicts&provides B
>
> old:
> $ sudo pacman -S libnfsidmap
> resolving dependencies... done.
> looking for inter-conflicts... done.
>
> Targets: libnfsidmap-0.12-1 nfsidmap-0.11-1
>
> Total Package Size: 0.1 MB
>
> Proceed with upgrade? [Y/n]
>
> new:
> $ sudo ./pacman.static -S libnfsidmap
> resolving dependencies... done.
> looking for inter-conflicts...
> :: libnfsidmap conflicts with nfsidmap. Remove nfsidmap? [Y/n]
> done.
>
> Remove: nfsidmap
>
> Targets: libnfsidmap-0.12-1
>
> Total Package Size: 0.1 MB
>
> Proceed with upgrade? [Y/n]
>
> reason: appending the package to the replaces list is unnecessary if
> we don't set the solved variable to 1, as that way the type will be
> set to PM_SYNC_TYPE_REPLACE later
Applied.
Thanks
--
Aurelien
More information about the pacman-dev
mailing list