Q: I have this package that portage wants to first upgrade, then downgrade, then upgrade again and so on. Why does it do that and what can I do to stop it?
A: This is due to the way portage handles dependencies. When you run for instance
Code: Select all
emerge -Dup worldChances are that it is a temporary problem that will be fixed the next time you run emerge --sync. Otherwise, run
Code: Select all
emerge -Duptv world- Hard masking the higher version of the yoyo-ing package by putting in /etc/portage/package.mask.
Code: Select all
>=category/package-higher_version - Upgrading the other package to a higher version (if such a version exists) that doesn't have the problematic version dependency. Typically this upgrade would be to install a testing branch version on an otherwise stable branch system. Put in /etc/portage/package.keywords.
Code: Select all
=category/other_package-higher_version ~arch - Disabling a USE-flag for the other package if it is caused by a conditional dependency. Put in /etc/portage/package.use.
Code: Select all
category/other_package -flag
