* [gentoo-user] emerge can not work !
@ 2008-02-20 8:35 Stéphane ANCELOT
2008-02-20 8:45 ` Michal 'vorner' Vaner
2008-02-20 9:02 ` Alan McKinnon
0 siblings, 2 replies; 14+ messages in thread
From: Stéphane ANCELOT @ 2008-02-20 8:35 UTC (permalink / raw
To: gentoo-user
Hi,
I made a silly mistake :
emerge --unmerge python*
now emerge does not work anymore since it needs python !!!
Any idea ?
Best Regards
Steph
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] emerge can not work !
2008-02-20 8:35 [gentoo-user] emerge can not work ! Stéphane ANCELOT
@ 2008-02-20 8:45 ` Michal 'vorner' Vaner
2008-02-20 9:02 ` Alan McKinnon
1 sibling, 0 replies; 14+ messages in thread
From: Michal 'vorner' Vaner @ 2008-02-20 8:45 UTC (permalink / raw
To: gentoo-user
Hello
On Wed, Feb 20, 2008 at 09:35:54AM +0100, Stéphane ANCELOT wrote:
> I made a silly mistake :
> emerge --unmerge python*
>
> now emerge does not work anymore since it needs python !!!
>
> Any idea ?
If you install python "manually", emerge should start working. Then you
can emerge it and get back to normal.
--
This message has optimized support for formating.
Please choose green font and black background so it looks like it should.
Michal 'vorner' Vaner
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] emerge can not work !
2008-02-20 8:35 [gentoo-user] emerge can not work ! Stéphane ANCELOT
2008-02-20 8:45 ` Michal 'vorner' Vaner
@ 2008-02-20 9:02 ` Alan McKinnon
2008-02-20 15:50 ` Rumen Yotov
` (2 more replies)
1 sibling, 3 replies; 14+ messages in thread
From: Alan McKinnon @ 2008-02-20 9:02 UTC (permalink / raw
To: gentoo-user
On Wednesday 20 February 2008, Stéphane ANCELOT wrote:
> Hi,
> I made a silly mistake :
> emerge --unmerge python*
>
> now emerge does not work anymore since it needs python !!!
>
> Any idea ?
> Best Regards
> Steph
Oops.
An easy way is to get a quickpkg tarball of python from another machine
and unpack that to /
Or just untar the one on a recent install disk and re-install python. If
all else fails I could send you a copy of python-2.5.1-r5 which is
about 8M large
For insurance, I keep quickpkg copies of critical stuff - python, gcc,
glibc, portage - for just in case i make this same dumb mistake again
myself
--
Alan McKinnon
alan dot mckinnon at gmail dot com
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] emerge can not work !
2008-02-20 9:02 ` Alan McKinnon
@ 2008-02-20 15:50 ` Rumen Yotov
2008-02-21 1:06 ` Joseph
[not found] ` <20080221034005.GA7715@syscon2.inet>
2 siblings, 0 replies; 14+ messages in thread
From: Rumen Yotov @ 2008-02-20 15:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]
On (20/02/08 11:02) Alan McKinnon wrote:
> On Wednesday 20 February 2008, Stéphane ANCELOT wrote:
> > Hi,
> > I made a silly mistake :
> > emerge --unmerge python*
> >
> > now emerge does not work anymore since it needs python !!!
> >
> > Any idea ?
> > Best Regards
> > Steph
>
> Oops.
>
> An easy way is to get a quickpkg tarball of python from another machine
> and unpack that to /
>
> Or just untar the one on a recent install disk and re-install python. If
> all else fails I could send you a copy of python-2.5.1-r5 which is
> about 8M large
>
> For insurance, I keep quickpkg copies of critical stuff - python, gcc,
> glibc, portage - for just in case i make this same dumb mistake again
> myself
>
> --
> Alan McKinnon
> alan dot mckinnon at gmail dot com
>
> --
> gentoo-user@lists.gentoo.org mailing list
>
Hi,
Install python manually (2.5.1) and later reemerge it using portage.
Could also install a second manager (paludis) just in case :-)
HTH. Rumen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] emerge can not work !
2008-02-20 9:02 ` Alan McKinnon
2008-02-20 15:50 ` Rumen Yotov
@ 2008-02-21 1:06 ` Joseph
2008-02-21 1:51 ` Joseph
[not found] ` <20080221034005.GA7715@syscon2.inet>
2 siblings, 1 reply; 14+ messages in thread
From: Joseph @ 2008-02-21 1:06 UTC (permalink / raw
To: gentoo-user
On 02/20/08 11:02, Alan McKinnon wrote:
>On Wednesday 20 February 2008, Stéphane ANCELOT wrote:
>> Hi,
>> I made a silly mistake :
>> emerge --unmerge python*
>>
>> now emerge does not work anymore since it needs python !!!
>>
>> Any idea ?
>> Best Regards
>> Steph
>
>Oops.
>
>An easy way is to get a quickpkg tarball of python from another machine
>and unpack that to /
>
>Or just untar the one on a recent install disk and re-install python. If
>all else fails I could send you a copy of python-2.5.1-r5 which is
>about 8M large
>
>For insurance, I keep quickpkg copies of critical stuff - python, gcc,
>glibc, portage - for just in case i make this same dumb mistake again
>myself
>
>--
>Alan McKinnon
>alan dot mckinnon at gmail dot com
I just made the same mistake, was running revdev-rebuild and an error showed up regarding python block another
package, without much thinking I unmerged python :-/
How can I install it manually?
Can I just copy python directory from from x86 machine to AMD64, if so which one do I need just to get the emerge
working?
--
#Joseph
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] emerge can not work !
2008-02-21 1:06 ` Joseph
@ 2008-02-21 1:51 ` Joseph
2008-02-21 2:13 ` Joseph
0 siblings, 1 reply; 14+ messages in thread
From: Joseph @ 2008-02-21 1:51 UTC (permalink / raw
To: gentoo-user
On 02/20/08 18:06, Joseph wrote:
> I just made the same mistake, was running revdev-rebuild and an error
> showed up regarding python block another package, without much thinking I
> unmerged python :-/
>
> How can I install it manually?
>
> Can I just copy python directory from from x86 machine to AMD64, if so
> which one do I need just to get the emerge working?
Here is the solution just in case somebody need it.
http://www.jonm.co.uk/Linux.html
Though the command:
./python emerge python
should be (full path):
./python /usr/bin/emerge python
--
#Joseph
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] emerge can not work !
2008-02-21 1:51 ` Joseph
@ 2008-02-21 2:13 ` Joseph
2008-02-21 12:05 ` Henry Gebhardt
2008-02-21 12:25 ` Matthias Guede
0 siblings, 2 replies; 14+ messages in thread
From: Joseph @ 2008-02-21 2:13 UTC (permalink / raw
To: gentoo-user
On 02/20/08 18:51, Joseph wrote:
> Here is the solution just in case somebody need it.
> http://www.jonm.co.uk/Linux.html
>
> Though the command:
> ./python emerge python
> should be (full path):
> ./python /usr/bin/emerge python
> --
> #Joseph
When trying to emerge "./python /usr/bin/emerge python"
I got an error:
./python /usr/bin/emerge python
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) dev-lang/python-2.4.4-r6 to /
* Python-2.4.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
[ ok ]
* python-gentoo-patches-2.4.4-r4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...[ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ...[ ok ]
* checking miscfile checksums ;-) ...[ ok ]
* checking Python-2.4.4.tar.bz2 ;-) ...[ ok ]
* checking python-gentoo-patches-2.4.4-r4.tar.bz2 ;-) ...[ ok ]
/usr/bin/env: python: No such file or directory
/usr/bin/env: python: No such file or directory
/usr/bin/env: python: No such file or directory
What is it looking for?
--
#Joseph
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] emerge can not work !
[not found] ` <20080221034005.GA7715@syscon2.inet>
@ 2008-02-21 11:41 ` Alan McKinnon
0 siblings, 0 replies; 14+ messages in thread
From: Alan McKinnon @ 2008-02-21 11:41 UTC (permalink / raw
To: gentoo-user
On Thursday 21 February 2008, Joseph wrote:
> On 02/20/08 11:02, Alan McKinnon wrote:
> >Or just untar the one on a recent install disk and re-install
> > python. If all else fails I could send you a copy of
> > python-2.5.1-r5 which is about 8M large
>
> Hi Alan,
>
> I had python 2.4.4 installed on my AMD64 and I screw it up as well.
> Can you tar.gz and send me your python-2.5.1-r5 will it work, please.
> Do you have AMD64 or or different platform.
I have x86.
You can always use the tarball that comes off an appropriate installdisk
though.
--
Alan McKinnon
alan dot mckinnon at gmail dot com
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] emerge can not work !
2008-02-21 2:13 ` Joseph
@ 2008-02-21 12:05 ` Henry Gebhardt
2008-02-21 18:03 ` Joseph
2008-02-21 12:25 ` Matthias Guede
1 sibling, 1 reply; 14+ messages in thread
From: Henry Gebhardt @ 2008-02-21 12:05 UTC (permalink / raw
To: gentoo-user
On Thu, Feb 21, 2008 at 3:13 AM, Joseph <syscon@interbaun.com> wrote:
> (...)
> * checking Python-2.4.4.tar.bz2 ;-) ...[ ok ]
> * checking python-gentoo-patches-2.4.4-r4.tar.bz2 ;-) ...[ ok ]
> /usr/bin/env: python: No such file or directory
> /usr/bin/env: python: No such file or directory
> /usr/bin/env: python: No such file or directory
>
/usr/bin/env is part of sys-apps/coreutils.
~Henry
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] emerge can not work !
2008-02-21 2:13 ` Joseph
2008-02-21 12:05 ` Henry Gebhardt
@ 2008-02-21 12:25 ` Matthias Guede
2008-02-22 18:43 ` Eric Martin
1 sibling, 1 reply; 14+ messages in thread
From: Matthias Guede @ 2008-02-21 12:25 UTC (permalink / raw
To: gentoo-user
2008/2/21, Joseph <syscon@interbaun.com>:
> When trying to emerge "./python /usr/bin/emerge python"
> I got an error:
>
>
> ./python /usr/bin/emerge python
>
> Calculating dependencies... done!
> >>> Verifying ebuild Manifests...
>
> >>> Emerging (1 of 1) dev-lang/python-2.4.4-r6 to /
> * Python-2.4.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
> [ ok ]
> * python-gentoo-patches-2.4.4-r4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...[ ok ]
> * checking ebuild checksums ;-) ... [ ok ]
> * checking auxfile checksums ;-) ...[ ok ]
> * checking miscfile checksums ;-) ...[ ok ]
> * checking Python-2.4.4.tar.bz2 ;-) ...[ ok ]
> * checking python-gentoo-patches-2.4.4-r4.tar.bz2 ;-) ...[ ok ]
> /usr/bin/env: python: No such file or directory
> /usr/bin/env: python: No such file or directory
> /usr/bin/env: python: No such file or directory
>
> What is it looking for?
Make sure your working directory is in the path:
PATH="${PATH}:./" ./python /usr/bin/emerge python
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] emerge can not work !
2008-02-21 12:05 ` Henry Gebhardt
@ 2008-02-21 18:03 ` Joseph
2008-02-21 18:07 ` Alan McKinnon
0 siblings, 1 reply; 14+ messages in thread
From: Joseph @ 2008-02-21 18:03 UTC (permalink / raw
To: gentoo-user
On 02/21/08 13:05, Henry Gebhardt wrote:
>On Thu, Feb 21, 2008 at 3:13 AM, Joseph <syscon@interbaun.com> wrote:
>> (...)
>> * checking Python-2.4.4.tar.bz2 ;-) ...[ ok ]
>> * checking python-gentoo-patches-2.4.4-r4.tar.bz2 ;-) ...[ ok ]
>> /usr/bin/env: python: No such file or directory
>> /usr/bin/env: python: No such file or directory
>> /usr/bin/env: python: No such file or directory
>>
>
>/usr/bin/env is part of sys-apps/coreutils.
>
>~Henry
Thanks for the input folks.
running 'which python' did not find any python so I had to add python to the path:
PATH=/usr/local/bin/:$PATH
and of corse running:
./python /usr/bin/emerge python
This solved the puzzle, I got back python and emerge start working again.
--
#Joseph
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] emerge can not work !
2008-02-21 18:03 ` Joseph
@ 2008-02-21 18:07 ` Alan McKinnon
0 siblings, 0 replies; 14+ messages in thread
From: Alan McKinnon @ 2008-02-21 18:07 UTC (permalink / raw
To: gentoo-user
On Thursday 21 February 2008, Joseph wrote:
> Thanks for the input folks.
> running 'which python' did not find any python so I had to add python
> to the path: PATH=/usr/local/bin/:$PATH
That directory should be in your PATH anyway. Add it and /usr/local/sbin
as well in your .bashrc
Strange that it's not already there
--
Alan McKinnon
alan dot mckinnon at gmail dot com
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] emerge can not work !
2008-02-21 12:25 ` Matthias Guede
@ 2008-02-22 18:43 ` Eric Martin
2008-02-22 23:59 ` Alan McKinnon
0 siblings, 1 reply; 14+ messages in thread
From: Eric Martin @ 2008-02-22 18:43 UTC (permalink / raw
To: gentoo-user
Matthias Guede wrote:
> Make sure your working directory is in the path:
>
> PATH="${PATH}:./" ./python /usr/bin/emerge python
>
!!Big security hole!! ./ is purposely left out of the path so people
can't sneak fake programs in there.
~eric
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] emerge can not work !
2008-02-22 18:43 ` Eric Martin
@ 2008-02-22 23:59 ` Alan McKinnon
0 siblings, 0 replies; 14+ messages in thread
From: Alan McKinnon @ 2008-02-22 23:59 UTC (permalink / raw
To: gentoo-user
On Friday 22 February 2008, Eric Martin wrote:
> Matthias Guede wrote:
> > Make sure your working directory is in the path:
> >
> > PATH="${PATH}:./" ./python /usr/bin/emerge python
>
> !!Big security hole!! ./ is purposely left out of the path so people
> can't sneak fake programs in there.
>
> ~eric
Very true but in this specific case it is superfluous.
With the sample command given, the PATH will not be searched at all as
all executables are accessed via their directory path.
But you are correct with the warning. People do this solely and only
because Windows does it and some folk are used to it. But WE all know
that Windows is brain-dead :-)
Kids, don't try this at home and dream up false reasons to put . in your
PATH
--
Alan McKinnon
alan dot mckinnon at gmail dot com
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2008-02-23 0:03 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20 8:35 [gentoo-user] emerge can not work ! Stéphane ANCELOT
2008-02-20 8:45 ` Michal 'vorner' Vaner
2008-02-20 9:02 ` Alan McKinnon
2008-02-20 15:50 ` Rumen Yotov
2008-02-21 1:06 ` Joseph
2008-02-21 1:51 ` Joseph
2008-02-21 2:13 ` Joseph
2008-02-21 12:05 ` Henry Gebhardt
2008-02-21 18:03 ` Joseph
2008-02-21 18:07 ` Alan McKinnon
2008-02-21 12:25 ` Matthias Guede
2008-02-22 18:43 ` Eric Martin
2008-02-22 23:59 ` Alan McKinnon
[not found] ` <20080221034005.GA7715@syscon2.inet>
2008-02-21 11:41 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox