View previous topic :: View next topic |
Author |
Message |
vaxbrat l33t
Joined: 05 Oct 2005 Posts: 731 Location: DC Burbs
|
Posted: Sun May 07, 2006 1:18 am Post subject: [solved] Recovering from unmerged linux-headers |
|
|
So I'm an idiot....
I was cleaning out some debris (old kernels, kde 3.3 and 3.4, etc.) and threw the baby out with the bath water by unmerging the linux-headers. When emerge updates started falling on their faces I found that I couldn't re-emerge linux-headers. The errors I was getting looked suspiciously like some of the errors found in other threads such as
https://forums.gentoo.org/viewtopic-t-459466-highlight-linuxheaders+error.html
Some of the suggestions didn't look too helpful so I thought I'd throw in my two cents worth:
1) Grab a stage1 tarball (in my case stage1-amd64-2006.0.tar.bz2) and play it out somewhere
2) Cd in and push all of the usr/include over to your /usr/include
# cd <wherever>/usr/include
# tar cvpf - . | (cd /usr/include; tar xpf -)
3) push over the portage db entry
# cd <wherever>/var/db/pkg/sys-kernel
# tar cvpf - . | (cd /var/db/pkg/sys-kernel; tar xpf -)
You should now be able to do an emerge -e glibc to get things back to sanity. In my case, there were pending updates for both glibc and linux-headers, so I cheated and did an emerge -uD glibc
Last edited by vaxbrat on Sat May 20, 2006 3:19 am; edited 1 time in total |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun May 07, 2006 6:32 am Post subject: |
|
|
Moved from Portage & Programming to Documentation, Tips & Tricks. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|
|
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
|
|