View previous topic :: View next topic |
Author |
Message |
kdvgent Guru
Joined: 29 Sep 2004 Posts: 352 Location: Belgium
|
Posted: Sat Feb 19, 2005 7:03 pm Post subject: Cann't emerge gentoo-dev-sources |
|
|
I am (re-)installing Gentoo.
I am using a 2004.3 LiveCD, have reached chapter 7.b in the Handbook (Installing the sources)
I have done an "emerge sync" to be up-to-date (instead of using the information from the liveCD).
When I try to emerge gentoo-dev-sources, I get the message that linux-headers blocks emerging linux26-headers.
I removed linux-headers (emerge -C linux-headers) but one way or another, the system still has traces of it.
"emerge depclean -av" gives the following message:
Quote: | !!! There appears to be a problem with the following package:
!!! sys-kernel/linux-headers |
And "emerge gentoo-dev-sources" continues to give the message that linux-headers blocks emerging linux26-headers.
Trying to unmerging linux-headers again does not work ("Couldn't find linux-headers to unmerge")
I am stuck. Help please. |
|
Back to top |
|
|
desktopfan Tux's lil' helper
Joined: 06 Mar 2004 Posts: 134 Location: Scotland
|
Posted: Sat Feb 19, 2005 7:26 pm Post subject: |
|
|
Try emerging linux-headers again then unmerge linux-headers then merge linux26-headers, before
doing emerge gentoo-dev-sources.
Can you post the exact messages though? I seem to remember I had some problems
when I was upgrading to a 2.6 kernel. |
|
Back to top |
|
|
kdvgent Guru
Joined: 29 Sep 2004 Posts: 352 Location: Belgium
|
Posted: Sat Feb 19, 2005 7:48 pm Post subject: Additional information |
|
|
emerge linux-headers
Quote: | Error: the sys-kernel/linux-headers package conflicts with another package. |
emerge --pretend linux-headers
Quote: | [blocks B ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1-r2)
[ebuild N ] sys-kernel/linux26-headers-2.6.8.1-r2
[ebuild N ] sys-devel/gettext-0.12.1-r2
[ebuild N ] sys-libs/glibc-2.3.4.20040808-r1
[ebuild N ] sys-kernel/patch-2.5.9
[ebuild N ] sys-kernel/linux-headers-2.4.21-r1 |
emerge --pretend gentoo-dev-sources
Quote: | [blocks B ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1-r2)
[ebuild N ] sys-kernel/patch-2.5.9
[ebuild N ] sys-kernel/linux-headers-2.4.21-r1
[ebuild N ] sys-kernel/linux26-headers-2.6.8.1-r2
.... |
emerge --unmerge linux-headers
Quote: | --- Couldn't find linux-headers to unmerge
>>> unmerge: No packages selected for removal |
|
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Sat Feb 19, 2005 11:25 pm Post subject: Re: Additional information |
|
|
kdvgent wrote: | Code: | [blocks B ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1-r2) |
|
Unmerge linux26-headers.
linux26-headers is the installed one, and is blocking linux-headers from being installed.
Read "man emerge" please. |
|
Back to top |
|
|
kdvgent Guru
Joined: 29 Sep 2004 Posts: 352 Location: Belgium
|
Posted: Sat Feb 19, 2005 11:32 pm Post subject: This one solved but now I have a problem compiling gettext |
|
|
I found the solution in the hppa-handbook
Quote: | emerge --oneshot --nodeps linux26-headers |
So, I started again with "emerge gentoo-dev-sources", but I am stuck with a compilation error in gettext (gettext-0.12.1-r2):
Quote: | gcc: libintl.so.2: No such file or directory
gcc: unrecognized option '-soname' |
(the second line because gcc has been given the option "-soname libintl.so.2")
Help again please |
|
Back to top |
|
|
|