[gentoo-user] Problems with bootstrap stage1, emerge errors

2009-04-08 Thread HObbES
My google and forum fu are failing me with this. Let me know if you have run 
into this on an Intel box.

Thanks,

-Anne

In building a gentoo, I'm doing the following in my home directory (after sudo):
mkdir gentoo
cd gentoo
tar -xvjpf stage1-x86-2008.0.tar.bz2
tar -xvjpf portage-latest.tar.bz2 usr

cp /etc/resolv.conf and /etc/make.conf to etc
chroot . /bin/bash

emerge --sync

Everything is good up until I run /usr/portage/scripts/bootstrap.sh. It looks 
like emerge is failing on portage here (this also happens when doing emerge 
portage):

/usr/portage/scripts/bootstrap.sh 
 * Resuming bootstrap at internal stage #2 ...

Gentoo Linux; http://www.gentoo.org/
Copyright 1999-2008 Gentoo Foundation; Distributed under the GPLv2
Starting Bootstrap of base system ...
---
  [[ (0/3) Locating packages ]]
Traceback (most recent call last):
  File /usr/bin/portageq, line 609, in ?
main()
  File /usr/bin/portageq, line 578, in main
import portage
  File //usr/lib/portage/pym/portage/__init__.py, line 8215, in ?
_ensure_default_encoding()
  File //usr/lib/portage/pym/portage/__init__.py, line 7796, in 
_ensure_default_encoding
encodings = _gen_missing_encodings(missing_encodings)
  File //usr/lib/portage/pym/portage/__init__.py, line 7706, in 
_gen_missing_encodings
class AsciiIncrementalEncoder(codecs.IncrementalEncoder):
AttributeError: 'module' object has no attribute 'IncrementalEncoder'
Traceback (most recent call last):
  File string, line 1, in ?
  File //usr/lib/portage/pym/portage/__init__.py, line 8215, in ?
_ensure_default_encoding()
  File //usr/lib/portage/pym/portage/__init__.py, line 7796, in 
_ensure_default_encoding
encodings = _gen_missing_encodings(missing_encodings)
  File //usr/lib/portage/pym/portage/__init__.py, line 7706, in 
_gen_missing_encodings
class AsciiIncrementalEncoder(codecs.IncrementalEncoder):
AttributeError: 'module' object has no attribute 'IncrementalEncoder'
Traceback (most recent call last):
  File /usr/bin/portageq, line 609, in ?
main()
  File /usr/bin/portageq, line 578, in main
import portage
  File //usr/lib/portage/pym/portage/__init__.py, line 8215, in ?
_ensure_default_encoding()
  File //usr/lib/portage/pym/portage/__init__.py, line 7796, in 
_ensure_default_encoding
encodings = _gen_missing_encodings(missing_encodings)
  File //usr/lib/portage/pym/portage/__init__.py, line 7706, in 
_gen_missing_encodings
class AsciiIncrementalEncoder(codecs.IncrementalEncoder):
AttributeError: 'module' object has no attribute 'IncrementalEncoder'
 * Using baselayout : =
 * Using portage: portage
 * Using os-headers : virtual/os-headers
 * Using binutils   : binutils
 * Using gcc: gcc
 * Using libc   : virtual/libc
 * Using texinfo: sys-apps/texinfo
 * Using zlib   : zlib
 * Using ncurses: ncurses
---
  [[ (1/3) Configuring environment ]]
Traceback (most recent call last):
  File string, line 1, in ?
  File //usr/lib/portage/pym/portage/__init__.py, line 8215, in ?
_ensure_default_encoding()
  File //usr/lib/portage/pym/portage/__init__.py, line 7796, in 
_ensure_default_encoding
encodings = _gen_missing_encodings(missing_encodings)
  File //usr/lib/portage/pym/portage/__init__.py, line 7706, in 
_gen_missing_encodings
class AsciiIncrementalEncoder(codecs.IncrementalEncoder):
AttributeError: 'module' object has no attribute 'IncrementalEncoder'
---
  [[ (3/3) Emerging packages ]]
Traceback (most recent call last):
  File /usr/bin/emerge, line 29, in ?
import _emerge
  File //usr/lib/portage/pym/_emerge/__init__.py, line 26, in ?
import portage
  File //usr/lib/portage/pym/portage/__init__.py, line 8215, in ?
_ensure_default_encoding()
  File //usr/lib/portage/pym/portage/__init__.py, line 7796, in 
_ensure_default_encoding
encodings = _gen_missing_encodings(missing_encodings)
  File //usr/lib/portage/pym/portage/__init__.py, line 7706, in 
_gen_missing_encodings
class AsciiIncrementalEncoder(codecs.IncrementalEncoder):
AttributeError: 'module' object has no attribute 'IncrementalEncoder'
:

--
It is proverbial that from   (\`--/') _ ___ .-r-.  
a hungry tiger and an .~.\ `` ` `,`,`. ,'_'~`.  
affectionate woman there is  (v_, ; `,-\ ; : ; \/,-~) \
no escape. -Ernest Bramah `--'_..),-/ ' ' '_.-' )`.`.__.')   
hobbes at vaxer dot net  ((,((,__..'~~((,__..'  `-..-'fL



Re: [gentoo-user] Problems with bootstrap stage1, emerge errors

2009-04-08 Thread HObbES
This one time, Alan McKinnon wrote:
  cd gentoo
  tar -xvjpf stage1-x86-2008.0.tar.bz2-'fL
 Why are you using a stage 1?

Because I'm required to for work. I understand it's no longer supported.

 stage 1 is not supported by anyone and was only ever really useful as step 1 
 of 3 in building the stage 3 that you *should* be installing.

And I understand this completely. However, it doesn't preclude my need to learn 
it.

-Anne
--
It is proverbial that from   (\`--/') _ ___ .-r-.  
a hungry tiger and an .~.\ `` ` `,`,`. ,'_'~`.  
affectionate woman there is  (v_, ; `,-\ ; : ; \/,-~) \
no escape. -Ernest Bramah `--'_..),-/ ' ' '_.-' )`.`.__.')   
hobbes at vaxer dot net  ((,((,__..'~~((,__..'  `-..-'fL



Re: [gentoo-user] stage 1 howto?

2009-04-08 Thread HObbES
Hi Mick,

If you have it, I'd like a copy please.

Thanks,

-Anne

This one time, Mick wrote:
 On Wednesday 08 April 2009, Dale wrote:
  Etaoin Shrdlu wrote:
   On Tuesday 7 April 2009, 23:31, HObbES wrote:
   I understand stage1 is no longer supported by Gentoo. Unfortunately,
   this does not preclude me needing to learn it. My Google-fu and forum
   searches are failing. Does anyone have any pointers?
  
   Try http://www.gentoo.org/doc/en/faq.xml#stage12
 
  It's been a long time but isn't installing a stage 3 then doing a emerge
  -ev world the same as a stage 1?
 
 I think that strange architectures/hardware may still require a stage 1 (not 
 sure as it has been a few years since I last tried it).
 
 I might have a 2004 installation CD somewhere with the handbook on it - 
 please 
 let me know if you can't find it and I'll start searching.  Also, it may well 
 be archived somewhere on the Internet ...
 -- 
 Regards,
 Mick


--
It is proverbial that from   (\`--/') _ ___ .-r-.  
a hungry tiger and an .~.\ `` ` `,`,`. ,'_'~`.  
affectionate woman there is  (v_, ; `,-\ ; : ; \/,-~) \
no escape. -Ernest Bramah `--'_..),-/ ' ' '_.-' )`.`.__.')   
hobbes at vaxer dot net  ((,((,__..'~~((,__..'  `-..-'fL



[gentoo-user] stage 1 howto?

2009-04-07 Thread HObbES
I understand stage1 is no longer supported by Gentoo. Unfortunately, this does 
not preclude me needing to learn it. My Google-fu and forum searches are 
failing. 
Does anyone have any pointers?

Cheers,

-Anne
--
It is proverbial that from   (\`--/') _ ___ .-r-.  
a hungry tiger and an .~.\ `` ` `,`,`. ,'_'~`.  
affectionate woman there is  (v_, ; `,-\ ; : ; \/,-~) \
no escape. -Ernest Bramah `--'_..),-/ ' ' '_.-' )`.`.__.')   
hobbes at vaxer dot net  ((,((,__..'~~((,__..'  `-..-'fL



[gentoo-user] APM kills harddrives?

2007-11-10 Thread Thomas Hobbes
Hi,

there are some reports that Ubuntu GNU/Linux 7.10 kills harddrive:
http://ubuntudemon.wordpress.com/2007/10/28/laptop-hardrive-killer-bug-how-to-discover-whether-you-are-affected/

I can confirm this behaviour for FreeBSD 6.2 STABLE 200710 i386 and
Gentoo Linux 2007.0 i386. My Load_Cycle_Count is increasing about 1
cycle per minute.

There's the possibility to disable APM for one's harddisk to stop that
behaviour. You can do:

hdparm -B 255 /dev/yourharddisk

That stops the Load_Cycle_Count's growth but reduces one's battery
runtime. Is there a better way to weaken the possibility of killing
one's harddrives?

Best greetings
Thomas
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Is gentoo-wiki.com down?

2007-11-09 Thread Thomas Hobbes
2007-11-09 - Hard Drive Failure

I would like to appologize about the recent down time over the last 2
days, the hard drive on the primary wiki server died. The hard drive
has been restored and everything is back to normal. Later today or
tomorrow, we will be getting a new hard drive to replace the one we
are using now, this should fix the problem for good. Aslo the servers
will all be physically moved to give me better access to them if they
go down like this again.

I will update later as progress is made.

- Thrasher 13:04, 9 November 2007 (UTC)
-- 
[EMAIL PROTECTED] mailing list