Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emerge and linux-headers - masked

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
luizferp
n00b
n00b
Posts: 52
Joined: Tue Jan 27, 2004 7:19 pm
Location: Campinas, Brasil

emerge and linux-headers - masked

  • Quote

Post by luizferp » Wed Feb 09, 2005 1:52 pm

Hi people,

Some days ago I upgraded a very out-of-date gentoo instalation and since then I'm having some annoying problems. Every time I do an emerge sync I have to unmask the >=sys-kernel/linux-headers-2.6 line at /usr/portage/profile/package.mask.

If I don't do this, I get the message:

Code: Select all

Calculating world dependencies -
!!! All ebuilds that could satisfy "sys-kernel/linux-headers" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/linux-headers-2.6.8.1-r4 (masked by: package.mask)
# <johnm@gentoo.org> (1/12/2004)
# Masking all 2.6 versions of kernel packages which were originally
# 2.4 only so that we can merge 2.6 with 2.4 without forcing a
# mass upgrade.
# this includes the headers too

- sys-kernel/linux-headers-2.4.21-r1 (masked by: profile)
- sys-kernel/linux-headers-2.4.26 (masked by: profile, -* keyword)
- sys-kernel/linux-headers-2.4.21 (masked by: profile)
- sys-kernel/linux-headers-2.4.23_p3 (masked by: profile, -* keyword)
- sys-kernel/linux-headers-2.4.23 (masked by: profile, -* keyword)
- sys-kernel/linux-headers-2.6.10 (masked by: package.mask, -* keyword)
- sys-kernel/linux-headers-2.4.25 (masked by: profile, -* keyword)
- sys-kernel/linux-headers-2.2.26 (masked by: profile, -* keyword)
- sys-kernel/linux-headers-2.6.8.1-r2 (masked by: package.mask)
- sys-kernel/linux-headers-2.0.40 (masked by: profile, -* keyword)
- sys-kernel/linux-headers-2.4.22 (masked by: profile)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!!    (dependency required by "sys-apps/util-linux-2.12i-r1" [ebuild])


!!! Problem with ebuild sys-apps/man-pages-2.01
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
I've seen that the problem seems to be related to man-pages or util-linux but I'm not sure how to solve it.

Even if I do an emerge -p depclean I get the same error.

Does anybody knows what is happening, why I always have to unmask the linux-headers and, of course, how I solve it?

Thanks in advance.

Luiz.
Top
justanothergentoofanatic
Guru
Guru
Posts: 337
Joined: Sun Feb 29, 2004 2:14 am

  • Quote

Post by justanothergentoofanatic » Wed Feb 09, 2005 3:08 pm

Hrm...did you update the system profile during the upgrade? /etc/make.profile should point to something like /usr/portage/profiles/default-linux/x86/2004.3

-Mike
Top
luizferp
n00b
n00b
Posts: 52
Joined: Tue Jan 27, 2004 7:19 pm
Location: Campinas, Brasil

  • Quote

Post by luizferp » Wed Feb 09, 2005 4:09 pm

Yes, I updated the system profile right after upgrading portage!

The /etc/make.profile was pointing to /usr/portage/profiles/default-linux/x86/2005.0 and when I changed to /usr/portage/profiles/default-linux/x86/2004.3, the dependency problem disapeared but now the emerge attempts to downgrade the linux-headers to 2.4.22 (now it's 2.6.8.1-r4).

Can I have problems with the downgrading of the linux-headers?

Luiz.
Top
justanothergentoofanatic
Guru
Guru
Posts: 337
Joined: Sun Feb 29, 2004 2:14 am

  • Quote

Post by justanothergentoofanatic » Wed Feb 09, 2005 5:19 pm

Aha...to install headers for the 2.6 kernel, you need to use the package 'linux26-headers', not 'linux-headers.'

-Mike
Top
hfgg
n00b
n00b
Posts: 1
Joined: Mon Feb 14, 2005 12:28 am

  • Quote

Post by hfgg » Mon Feb 14, 2005 12:43 am

justanothergentoofanatic wrote:Aha...to install headers for the 2.6 kernel, you need to use the package 'linux26-headers', not 'linux-headers.'
Mm. I don't think sol.

Code: Select all

# ls /usr/portage/sys-kernel/linux-headers
ChangeLog                       linux-headers-2.4.23.ebuild
Manifest                        linux-headers-2.4.23_p3.ebuild
files                           linux-headers-2.4.25.ebuild
linux-headers-2.0.40.ebuild     linux-headers-2.4.26.ebuild
linux-headers-2.2.26.ebuild     linux-headers-2.6.10.ebuild
linux-headers-2.4.21-r1.ebuild  linux-headers-2.6.8.1-r2.ebuild
linux-headers-2.4.21.ebuild     linux-headers-2.6.8.1-r4.ebuild
linux-headers-2.4.22-r1.ebuild  metadata.xml
linux-headers-2.4.22.ebuild
Anyway. If you link /etc/make.profile to /usr/portage/profiles/default-linux/x86/2005.0 "emerge -uD world" want wo merge linux-headers, which are all masked. (by keyword or package.mask)

--
Jo
Top
justanothergentoofanatic
Guru
Guru
Posts: 337
Joined: Sun Feb 29, 2004 2:14 am

  • Quote

Post by justanothergentoofanatic » Mon Feb 14, 2005 1:37 am

hfgg wrote:
justanothergentoofanatic wrote:Aha...to install headers for the 2.6 kernel, you need to use the package 'linux26-headers', not 'linux-headers.'
Mm. I don't think sol.
Nonetheless, it is true:

Code: Select all

http://www.gentoo.org/doc/en/migration-to-2.6.xml
Code Listing 11.1: Updating to linux26-headers
# emerge --unmerge linux-headers
# emerge linux26-headers
Anyway. If you link /etc/make.profile to /usr/portage/profiles/default-linux/x86/2005.0 "emerge -uD world" want wo merge linux-headers, which are all masked. (by keyword or package.mask)
Yup...which is why you use the unmasked linux26-headers package.

-Mike
Top
HardenCoonor
n00b
n00b
Posts: 54
Joined: Thu Feb 19, 2004 2:48 pm

  • Quote

Post by HardenCoonor » Tue Feb 15, 2005 2:33 pm

It is a bit confusing. The category sys-kernel/linux-headers now contains the stable 2.4-linux-headers and the unstable(hardmasked) linux26-headers, besides the antique 2.2 and 2.0 headers. The category sys-kernel/linux26-headers contains the stable 2.6-headers.

This is of course not logical, at least to me. Either one category has the stable headers and the other ths unstable headers, or there should be categorys for >=2.4 and for 2.6, with each one containing unstable versions, keyworded and/or hardmasked.

Maybe it is a bug, since there are seemingly not that many devs, who update the headers accordingly to the kernel-releases. They mainly concentrate on bugfixing, and that is obviously just fine.
Top
hjnenc
Veteran
Veteran
User avatar
Posts: 1599
Joined: Sun Aug 15, 2004 5:49 am
Location: Vienna, Austria

  • Quote

Post by hjnenc » Tue Feb 15, 2005 5:33 pm

AFAIK There is a transition going on to move the linux26-headers back to the linux-headers package. This is work in progress and therefore they are still masked there. The same probably holds for the 2005.0 profile. I did not see an announcement that it is released.
Top
HardenCoonor
n00b
n00b
Posts: 54
Joined: Thu Feb 19, 2004 2:48 pm

  • Quote

Post by HardenCoonor » Wed Feb 16, 2005 2:26 pm

AFAIK There is a transition going on to move the linux26-headers back to the linux-headers package. This is work in progress and therefore they are still masked there.
Sounds reasonable. Otherwise Gentoo would probably end up with linux26-, linux2.8 and linux3.(2*n)-headers. Thanks for this information.
Top
happycrappy
n00b
n00b
Posts: 4
Joined: Wed Dec 25, 2002 8:20 pm

  • Quote

Post by happycrappy » Thu Feb 17, 2005 6:07 am

If anyone's interested this is described in the gentoo weekly news letter....
http://www.gentoo.org/news/en/gwn/20050 ... letter.xml
moo?
Top
Post Reply

10 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic