Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Code red major huge problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Techie2000
Guru
Guru


Joined: 16 May 2002
Posts: 344

PostPosted: Wed Aug 07, 2002 12:20 am    Post subject: Code red major huge problem Reply with quote

I did emerge clean. Now when I try to emerge stuff it says it can't find emerge...
_________________
"And I'm right. I'm always right, but in this case I'm just a bit more right than I usually am." - Linus Torvalds
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Aug 07, 2002 12:47 am    Post subject: Reply with quote

Try a forum search for "portage and rescue"; there should be many threads that explain in detail what to do if you have accidentally unmerged portage. Portage rescue tarballs live in /usr/portage/sys-apps/portage/files.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Wed Aug 07, 2002 2:03 am    Post subject: Reply with quote

i run emerge clean like twice a day....how would that have happened to him?
Back to top
View user's profile Send private message
Techie2000
Guru
Guru


Joined: 16 May 2002
Posts: 344

PostPosted: Wed Aug 07, 2002 2:20 am    Post subject: Reply with quote

It's a CIA conspiracy involving the Kremlin, err I mean little gremlins inside my computer...

How far have I gotten: Well it looks like my world file is borked. So I can't emerge -u world. And I noticed when I did an emerge clean I get:
[quote]
Gentoo files # emerge -p clean

>>> These are the packages that I would unmerge:

sys-apps/portage
selected: 2.0.25
protected: 2.0.23
omitted: none

app-misc/gentoo
selected: 0.11.31
protected: 0.11.30
omitted: none

media-video/avifile
selected: 0.7.7.20020523
protected: 0.7.14.20020802
omitted: none

>>> Packages in red are slated for removal.
>>> Packages in green will not be removed.

Gentoo files # emerge -up world

These are the packages that I would merge, in order.

Calculating world dependencies \
!!! Error: couldn't find match for virtual/glibc in dev-db/mysql-3.23.51-r4
[/quote]

On a side note: would it not be a good idea to put a link on the front page with instructions titled "If you hosed portage click here"
_________________
"And I'm right. I'm always right, but in this case I'm just a bit more right than I usually am." - Linus Torvalds
Back to top
View user's profile Send private message
goldorak_dan
n00b
n00b


Joined: 26 Apr 2002
Posts: 16
Location: Ottawa, Canada

PostPosted: Wed Aug 07, 2002 3:09 am    Post subject: scary. Reply with quote

Techie2000 wrote:
It's a CIA conspiracy involving the Kremlin, err I mean little gremlins inside my computer...

How far have I gotten: Well it looks like my world file is borked. So I can't emerge -u world. And I noticed when I did an emerge clean I get:
Quote:

Gentoo files # emerge -p clean

>>> These are the packages that I would unmerge:

sys-apps/portage
selected: 2.0.25
protected: 2.0.23
omitted: none

app-misc/gentoo
selected: 0.11.31
protected: 0.11.30
omitted: none

media-video/avifile
selected: 0.7.7.20020523
protected: 0.7.14.20020802
omitted: none

>>> Packages in red are slated for removal.
>>> Packages in green will not be removed.

Gentoo files # emerge -up world

These are the packages that I would merge, in order.

Calculating world dependencies \
!!! Error: couldn't find match for virtual/glibc in dev-db/mysql-3.23.51-r4


On a side note: would it not be a good idea to put a link on the front page with instructions titled "If you hosed portage click here"


Not sure if it would prevent the same problems, but I usually do
emerge -u world
then: pkg-clean

seems much safer as you can pick and chose which package you want removed.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Aug 07, 2002 3:20 am    Post subject: Reply with quote

Check here
Code:
/usr/portage/sys-apps/portage/files/README.RESCUE

_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Aug 07, 2002 3:32 am    Post subject: Reply with quote

Techie2000 wrote:
# emerge -up world

These are the packages that I would merge, in order.

Calculating world dependencies \
!!! Error: couldn't find match for virtual/glibc in dev-db/mysql-3.23.51-r4


You didn't break Portage, it just thinks you don't have glibc installed. See what "emerge -i glibc" does for ya.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
Techie2000
Guru
Guru


Joined: 16 May 2002
Posts: 344

PostPosted: Wed Aug 07, 2002 3:33 am    Post subject: Reply with quote

That worked still getting the error for emerge -u world though...
_________________
"And I'm right. I'm always right, but in this case I'm just a bit more right than I usually am." - Linus Torvalds
Back to top
View user's profile Send private message
Techie2000
Guru
Guru


Joined: 16 May 2002
Posts: 344

PostPosted: Wed Aug 07, 2002 8:46 pm    Post subject: Reply with quote

I also get the same error with emerge -u system

Gentoo edb # emerge -up system

These are the packages that I would merge, in order.

Calculating system dependencies -
!!! Error: couldn't find match for ~sys-libs/glibc-2.2.5 in update (likely old /var/db/pkg entry)
_________________
"And I'm right. I'm always right, but in this case I'm just a bit more right than I usually am." - Linus Torvalds
Back to top
View user's profile Send private message
line72
Apprentice
Apprentice


Joined: 13 Jun 2002
Posts: 212

PostPosted: Thu Aug 08, 2002 6:15 pm    Post subject: Reply with quote

just edit your /var/cache/edb/world file and get ride of glibc, that shouldnt' be in your world file

/Line72
Back to top
View user's profile Send private message
Techie2000
Guru
Guru


Joined: 16 May 2002
Posts: 344

PostPosted: Fri Aug 09, 2002 1:41 am    Post subject: Reply with quote

no dice.
_________________
"And I'm right. I'm always right, but in this case I'm just a bit more right than I usually am." - Linus Torvalds
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Fri Aug 09, 2002 3:39 am    Post subject: Reply with quote

try:

Portage rescue restore
emerge rsync
emerge -u portage

I believe this fixed a similar or identical problem for me (complaining about missing glibc). I don't remember the exact steps I did, but that was the general idea. Posted this same response to another similar thread; hope this helps.

update: actually now that I think about it, I believe I had to manually update portage (ebuild /path/to/portage.ebuild unpack compile install) for it to work. Try that too... hehe
Back to top
View user's profile Send private message
Techie2000
Guru
Guru


Joined: 16 May 2002
Posts: 344

PostPosted: Fri Aug 09, 2002 2:35 pm    Post subject: Reply with quote

tried that no dice. emerge -u world and system still wont' work. Regular emerging does.
_________________
"And I'm right. I'm always right, but in this case I'm just a bit more right than I usually am." - Linus Torvalds
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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