On 1/23/06, Beau E. Cox <[EMAIL PROTECTED]> wrote:
> Hi -
>
> I try:
>
> # emerge -uD world -p
> ...
> Calculating world dependencies ...done!
> [ebuild     U ] media-libs/gst-plugins-0.8.11 [0.8.10]
>
> OK. So I do it:
> # emerge -uD world
> ....
> [SUCCESS]
>
> Now I check again:
>
> # emerge -uD world -p
> ...
> Calculating world dependencies ...done!
> [ebuild     UD] media-libs/gst-plugins-0.8.10 [0.8.11]
>
> ping-pong ... ;)
>
> Have I messed up my tree? If so, I am asking for some tips
> on how to fix it.

No, portage doesn't handle this particular case very well.  You have
something on your system that depends on
<=media-libs/gst-plugins-0.8.10 (use --tree to find this), so when you
have 0.8.11 installed, portage needs to downgrade it to satisfy the
dependancy.  The bug (already reported on bugs.gentoo.org for a long
time) is when you have 0.8.10 installed, it sees that there is an
upgrade available, and tries to merge it.

The workaround is:

echo "# pkg foo requires gst-plugins < 0.8.11" >>/etc/portage/package.mask
echo "=media-libs/gst-plugins-0.8.11" >>/etc/portage/package.mask

-Richard

-- 
gentoo-user@gentoo.org mailing list

Reply via email to