| View previous topic :: View next topic |
| Author |
Message |
fernandoc1 n00b

Joined: 03 Jan 2010 Posts: 69
|
Posted: Sat Feb 13, 2010 11:36 am Post subject: Strange problem on /etc/profile.env |
|
|
Every time I try to make a command like emerge or env-update for example I get an error like:
| Code: |
localhost / # emerge -av gnome
open('/etc/profile.env', 'r'): (5, 'Input/output error')
Traceback (most recent call last):
File "/usr/bin/emerge", line 42, in <module>
retval = emerge_main()
File "/usr/lib/portage/pym/_emerge/main.py", line 1024, in emerge_main
settings, trees, mtimedb = load_emerge_config()
File "/usr/lib/portage/pym/_emerge/actions.py", line 2409, in load_emerge_config
trees = portage.create_trees(trees=trees, **kwargs)
File "/usr/lib/portage/pym/portage/__init__.py", line 9186, in create_trees
config_incrementals=portage.const.INCREMENTALS)
File "/usr/lib/portage/pym/portage/__init__.py", line 1870, in __init__
expand=expand_map)
File "/usr/lib/portage/pym/portage/util.py", line 414, in getconfig
encoding=_encodings['fs'], errors='strict'), 'rb').read()
IOError: [Errno 5] Input/output error: '/etc/profile.env'
|
| Code: |
localhost / # env-update
open('/etc/profile.env', 'r'): (5, 'Input/output error')
Traceback (most recent call last):
File "/usr/sbin/env-update", line 36, in <module>
portage.env_update(makelinks)
File "/usr/lib/portage/pym/portage/__init__.py", line 970, in env_update
target_root = settings["ROOT"]
File "/usr/lib/portage/pym/portage/proxy/objectproxy.py", line 38, in __getitem__
return object.__getattribute__(self, '_get_target')()[key]
File "/usr/lib/portage/pym/portage/__init__.py", line 9224, in _get_target
init_legacy_globals()
File "/usr/lib/portage/pym/portage/__init__.py", line 9309, in init_legacy_globals
db = create_trees(**kwargs)
File "/usr/lib/portage/pym/portage/__init__.py", line 9186, in create_trees
config_incrementals=portage.const.INCREMENTALS)
File "/usr/lib/portage/pym/portage/__init__.py", line 1870, in __init__
expand=expand_map)
File "/usr/lib/portage/pym/portage/util.py", line 414, in getconfig
encoding=_encodings['fs'], errors='strict'), 'rb').read()
IOError: [Errno 5] Input/output error: '/etc/profile.env'
|
Can someone help me on this? |
|
| Back to top |
|
 |
patrikas Tux's lil' helper

Joined: 28 Nov 2009 Posts: 106
|
Posted: Sat Feb 13, 2010 12:12 pm Post subject: |
|
|
| Hi. fsck your filesystem first. |
|
| Back to top |
|
 |
fernandoc1 n00b

Joined: 03 Jan 2010 Posts: 69
|
Posted: Sat Feb 13, 2010 12:51 pm Post subject: |
|
|
Thanks, it worked.
But I have a question: how could my file system became corrupted, since my installation is fresh new?
I don't think that I'm having hardware problems, because I was using this disk with Windows 7 and I haven't had any problems on it. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|