Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cann't emerge gentoo-dev-sources
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kdvgent
Guru
Guru


Joined: 29 Sep 2004
Posts: 352
Location: Belgium

PostPosted: Sat Feb 19, 2005 7:03 pm    Post subject: Cann't emerge gentoo-dev-sources Reply with quote

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
View user's profile Send private message
desktopfan
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2004
Posts: 134
Location: Scotland

PostPosted: Sat Feb 19, 2005 7:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
kdvgent
Guru
Guru


Joined: 29 Sep 2004
Posts: 352
Location: Belgium

PostPosted: Sat Feb 19, 2005 7:48 pm    Post subject: Additional information Reply with quote

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
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Sat Feb 19, 2005 11:25 pm    Post subject: Re: Additional information Reply with quote

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
View user's profile Send private message
kdvgent
Guru
Guru


Joined: 29 Sep 2004
Posts: 352
Location: Belgium

PostPosted: Sat Feb 19, 2005 11:32 pm    Post subject: This one solved but now I have a problem compiling gettext Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum