Summary: | portage-2.0.51_rc9 has problems with /etc/portage/profile/package.provided | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Marcin Kryczek (RETIRED) <mkay> |
Component: | Core - Configuration | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marcin Kryczek (RETIRED)
2004-10-14 15:42:55 UTC
linux26-headers is either in your /var/lib/portage/world file or in your /etc/make.profile/packages files which implies that it was installed with portage. You should be using /etc/portage/package.mask to prevent upgrading. Furthermore, if portage is wanting to upgrade linux26-headers to 2.6.8.1-r1 then that isn't the version you should be putting into package.provided. If you did in fact in fact install linux26-headers manually, then what you want to do is: 1. add "-*sys-kernel/linux26-headers" to /etc/portage/profile/packages 2. add "virtual/os-headers sys-kernel/linux26-headers" to /etc/portage/virtuals 3. grep -v linux26-headers /var/lib/portage/world > /tmp/newworld 4. cat /tmp/newworld > /var/lib/portage/world 5. rm /tmp/newworld 6. echo "sys-kernel/linux26-headers-2.6.8.1" >> /etc/portage/profile/package.provided (or whatever version you *have* installed) If all you want to do is prevent portage from upgrading the linux26-headers that portage has already installed for you: 1. echo ">=sys-kernel/linux26-headers-2.6.8.1-r1" > /etc/portage/package.mask indeed - i had linux26-headers in world file.. what about thesecond part? why sys-kernel/gentoo-dev-sources and media-sound/alsa-driver can be listed in package.provided without specific version, while *-headers not. can i safetly add packages without version there, or should i always add version and mask newer? |