[gentoo-user] Got myself in a bind unmerging portage

2007-12-16 Thread reader
It all started like this:  Using rsync I was getting an error when
ever I used the `--stats' flag.  The output said it was an error in
the stack ... Rather than mess with it, I thought I might take the
opportunity to sync portage and see if a newer rsync was available.

Its been a mnth or so since I synced.

At the end of the sync I got the notice about emerging a new
portage... so did so.

But then when I attempted to emerg rsync I got some errors I'd never
seen before:

--- ACCESS VIOLATION SUMMARY ---
LOG FILE = /var/log/sandbox/sandbox-14253.log

open_rd:   /root/.bash_history
open_rd:   /root/.bash_history


What was shown there is absolutely all that is in the log and there
are no others at that location.

Looking at /root/.bash_history  I saw nothing wrong.  Its permissions
were 600... but just incase I set it to 644 but it didn't help.

Since these were (To me) unusual errors I thought maybe I should back
out the portage update.

Foolishly I ran emerge -vC portage  before thinking about it much.

I was deeply embroiled in some perl programming is my only excuse
other than deep seated stupidity.

But cutting to the chase: Now of course many of the portage tools were
rm'ed before the emerge -vC failed here:

[...]
--- !empty   dir /usr
--- !empty   dir /etc/portage
--- !empty   dir /etc/logrotate.d
--- !empty   dir /etc/env.d
--- !empty   dir /etc
[portage-2.1.4_rc10] bash: /usr/lib/portage/bin/ebuild.sh: No such file or 
directory
!!! FAILED postrm: 127
 
So very basic stuff is missing.

emerge is one of the tools now missing 

I thought maybe I could download portage and compile it manually but
it appears not to really be made to be used like that. 

At least looking in the unpacked top level directory I don't see the
familiar signs of a gnu sources package like ./configure and such.  It
does have a ready made emerge at ./bin/emerge but running it seems to
indicate it is looking in the wrong places for stuff and isn't going
to be usefull without some more skilled technician than me.

What are my choices here... is the only one to use the livecd and
emerge portage from there?  Or is there such a thing as a sources
package of portage arranged for a stand alone compile job.

All I could find was the distfile..

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Got myself in a bind unmerging portage

2007-12-16 Thread felix
On Sun, Dec 16, 2007 at 10:23:35PM -0500, Randy Barlow wrote:

 Anyone else want to chime in

I am by no means an expert or even close personal friend of Pythion or
gentoo, but that won't stop me.  Portage installs pretty quickly;
wouldn't it be possible to just do everything manually?  It's not like
he removed gcc or the kernel.  Someone could send him a build log and
he could just do the manual steps -- unpack, copy, etc.  Tedious and a
pain and probably need to be done several times to get it right, but
otherwise it seems like it ought to be doable within an hour or so.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Got myself in a bind unmerging portage

2007-12-16 Thread Dale
[EMAIL PROTECTED] wrote:
 On Sun, Dec 16, 2007 at 10:23:35PM -0500, Randy Barlow wrote:

   
 Anyone else want to chime in
 

 I am by no means an expert or even close personal friend of Pythion or
 gentoo, but that won't stop me.  Portage installs pretty quickly;
 wouldn't it be possible to just do everything manually?  It's not like
 he removed gcc or the kernel.  Someone could send him a build log and
 he could just do the manual steps -- unpack, copy, etc.  Tedious and a
 pain and probably need to be done several times to get it right, but
 otherwise it seems like it ought to be doable within an hour or so.

   


http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml

That help any?  It's not like you are the first to do something like
this.  LOL

Dale

:-)  :-)  :-) 


Re: [gentoo-user] Got myself in a bind unmerging portage

2007-12-16 Thread Albert Hopkins

On Sun, 2007-12-16 at 22:23 -0500, Randy Barlow wrote:
 It kind of
 makes me chuckle a bit that emerge -vC portage doesn't at least warn
 you
 that this will make a mess of your system (Are you sure?)

# emerge -Ca portage

 These are the packages that would be unmerged:


!!! 'sys-apps/portage' is part of your system profile.
!!! Unmerging it may be damaging to your system.


I'd say that's fair enough.
--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list