View previous topic :: View next topic |
Author |
Message |
loginx n00b
Joined: 14 Aug 2002 Posts: 68 Location: Windsor Ontario, Canada
|
Posted: Fri Oct 10, 2003 2:03 pm Post subject: Broken portage - How to update manually? |
|
|
I've ran an emerge sync && emerge -u world yesterday and the portage version in the portage tree at this time relying on python 2.3 seems to be broken.
A few hours later, an update to portage was available so I'm guessing they noticed the problem and fixed immediately.
The problem is that now, none of my emerges go through... I get a bunch of traceback calls and exceptions right after the configure of every package, and that includes the update to python and portage so there isn't a way for me to fix my problem using portage.
Is there a way to download and install those packages manually or something? |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Fri Oct 10, 2003 3:46 pm Post subject: |
|
|
You might try this:
Edit /usr/bin/emerge
Change this:
to:
Code: | #!/usr/bin/python2.2 |
And try emerging something. You should still have python2.2 installed. Do not unmerge 2.2 until python2.3 is stable.
If this doesn't work, let me know and we'll go from there. You may have to use the portage-rescue package to get you going again. Yesterday there were a few changes in portage and Python 2.3.2 and unfortunately you caught a bad version in between syncs.
For the brave who want to try Python 2.3.2 before its marked stable, make sure you use sys-apps/portage 2.0.49-r12 with dev-lang/python-2.3.2-r1. They are hard masked, so please be the adventurous type if you want to test them. (Be prepared to use portage-rescue). |
|
Back to top |
|
|
loginx n00b
Joined: 14 Aug 2002 Posts: 68 Location: Windsor Ontario, Canada
|
Posted: Fri Oct 10, 2003 5:15 pm Post subject: |
|
|
My /usr/bin/emerge was already set up with #!/usr/bin/env python2.2
Here are the versions I'm using:
# python -V
Python 2.2.3
# emerge -V
Portage 2.0.49-r8 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test5-mm4)
So I guess I wasn't using python 2.3 as I originally thought, but it's still broken... |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9527 Location: beyond the rim
|
Posted: Fri Oct 10, 2003 9:05 pm Post subject: |
|
|
-r8 is broken (and doesn't have the python-2.3 support), try to use /usr/portage/sys-apps/portage/files/README.RESCUE and after that upgrade to -r12. |
|
Back to top |
|
|
loginx n00b
Joined: 14 Aug 2002 Posts: 68 Location: Windsor Ontario, Canada
|
Posted: Fri Oct 10, 2003 9:54 pm Post subject: |
|
|
Great... that worked for me.
Nice shadow ship in the avatar btw |
|
Back to top |
|
|
curtis119 Bodhisattva
Joined: 10 Mar 2003 Posts: 2160 Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.
|
|
Back to top |
|
|
|