View previous topic :: View next topic |
Author |
Message |
Techie2000 Guru
Joined: 16 May 2002 Posts: 344
|
Posted: Wed Aug 07, 2002 12:20 am Post subject: Code red major huge problem |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Aug 07, 2002 12:47 am Post subject: |
|
|
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 |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Wed Aug 07, 2002 2:03 am Post subject: |
|
|
i run emerge clean like twice a day....how would that have happened to him? |
|
Back to top |
|
|
Techie2000 Guru
Joined: 16 May 2002 Posts: 344
|
Posted: Wed Aug 07, 2002 2:20 am Post subject: |
|
|
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 |
|
|
goldorak_dan n00b
Joined: 26 Apr 2002 Posts: 16 Location: Ottawa, Canada
|
Posted: Wed Aug 07, 2002 3:09 am Post subject: scary. |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed Aug 07, 2002 3:20 am Post subject: |
|
|
Check here Code: | /usr/portage/sys-apps/portage/files/README.RESCUE |
_________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Aug 07, 2002 3:32 am Post subject: |
|
|
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 |
|
|
Techie2000 Guru
Joined: 16 May 2002 Posts: 344
|
Posted: Wed Aug 07, 2002 3:33 am Post subject: |
|
|
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 |
|
|
Techie2000 Guru
Joined: 16 May 2002 Posts: 344
|
Posted: Wed Aug 07, 2002 8:46 pm Post subject: |
|
|
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 |
|
|
line72 Apprentice
Joined: 13 Jun 2002 Posts: 212
|
Posted: Thu Aug 08, 2002 6:15 pm Post subject: |
|
|
just edit your /var/cache/edb/world file and get ride of glibc, that shouldnt' be in your world file
/Line72 |
|
Back to top |
|
|
Techie2000 Guru
Joined: 16 May 2002 Posts: 344
|
Posted: Fri Aug 09, 2002 1:41 am Post subject: |
|
|
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 |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Fri Aug 09, 2002 3:39 am Post subject: |
|
|
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 |
|
|
Techie2000 Guru
Joined: 16 May 2002 Posts: 344
|
Posted: Fri Aug 09, 2002 2:35 pm Post subject: |
|
|
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 |
|
|
|