Portage mask not working?
I'm currently getting my servers configured/installed on my Gentoo Linode, and one of the things that I'd like to set up is AxKit. However, in order to do this I need Apache 1.3.x instead of 2.x. If followed the instructions here --
– and it works on the Gentoo install I have running on VMWare here, but not on the Linode.
Summary:
mkdir -p /etc/portage
echo ">=net-www/apache-2" >> /etc/portage/portage.mask
Any emerge -p package I do that relies on Apache still reports that Apache2 will be installed.
Am I missing something? Is there a different way to specify masks for the Gentoo Linodes?
6 Replies
version Portage wants to emerge.
Any other suggestions?
your mask file isn't working. Probably somewhere in the Gentoo Portage
forums there's an answer (probably posted by Genome, too).
Anyway, for what it's worth, here's another suggestion:
Edit the ebuild in /usr/portage/dev-perl/Apache-Test and
the DEPEND line to remove the net-www/apache requirement?
I THINK this will work for now but ou'll have issues in the future if Apache-Test gets changed in an emerge sync.
Another option is to show the net-www/apache requirement is
satisfied. I think there's some discussion in the main portage docs
about doing this. This would be cleaner but I don't know specifics.
Something about stub ebuilds?
See Gentoo Bugzilla http://bugs.gentoo.org/show_bug.cgi?id=30228
So … if you're going to hack the ebuild anyway, why not build the
latest version while you're at it? Copy the current ebuild and up the
version.
Thanks for your help.