[SOLVED] emerge fetch failed for 'sys-libs/db-4.8.30'
I was in the middle of installing SELinux, I got to the point where you do a full system update to rebuild changes into the system by running:
The problem starts when someone destroyed a transformer down the road in the middle of my compile. (when the transformer went down the power was temporarily cut, forcing my box to do a hard stop) And so I think it has to do with SELinux being half way installed.
Anyways this is what the output looks like:
Code:
>>> Emerging (1 of 100) sys-libs/db-4.8.30
Traceback (most recent call last):
File "/usr/lib64/portage/pym/_emerge/EbuildFetcher.py", line 113, in _spawn
allow_missing_digests=False):
File "/usr/lib64/portage/pym/portage/package/ebuild/fetch.py", line 489, in fetch
if _userpriv_test_write_file(mysettings, write_test_file):
File "/usr/lib64/portage/pym/portage/package/ebuild/fetch.py", line 122, in _userpriv_test_write_file
returncode = _spawn_fetch(settings, args)
File "/usr/lib64/portage/pym/portage/package/ebuild/fetch.py", line 90, in _spawn_fetch
rval = spawn_func(args, env=settings.environ(), **kwargs)
File "/usr/lib64/portage/pym/portage/_selinux.py", line 105, in wrapper_func
setexec(con)
File "/usr/lib64/portage/pym/portage/_selinux.py", line 79, in setexec
if selinux.setexeccon(ctx) < 0:
OSError: [Errno 22] Invalid argument
* Fetch failed for 'sys-libs/db-4.8.30', Log file:
* '/var/tmp/portage/sys-libs/db-4.8.30/temp/build.log'
>>> Failed to emerge sys-libs/db-4.8.30, Log file:
>>> '/var/tmp/portage/sys-libs/db-4.8.30/temp/build.log'
* Messages for package sys-libs/db-4.8.30:
* Fetch failed for 'sys-libs/db-4.8.30', Log file:
* '/var/tmp/portage/sys-libs/db-4.8.30/temp/build.log'