Page 1 of 3

Error in the anaconda installer

Posted: Tue Jan 13, 2015 4:22
by deusr
ISO daily: Sabayon_Linux_DAILY_amd64_GNOME.iso 11-01-2015 01:47

sabayon sabayonuser # anaconda
Starting installer, one moment...
Traceback (most recent call last):
File "/usr/sbin/anaconda", line 701, in <module>
from pyanaconda import geoloc
File "/usr/lib64/python2.7/site-packages/pyanaconda/geoloc.py", line 109, in <module>
from pyanaconda import network
File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 41, in <module>
from blivet.devices import FcoeDiskDevice, iScsiDiskDevice
File "/usr/lib64/python2.7/site-packages/blivet/__init__.py", line 62, in <module>
import parted
File "/usr/lib64/python2.7/site-packages/parted/__init__.py", line 62, in <module>
from parted.partition import Partition
File "/usr/lib64/python2.7/site-packages/parted/partition.py", line 266, in <module>
partitionFlag[__flag] = _ped.partition_flag_get_name(__flag)
ValueError: Invalid flag provided.

https://bugs.sabayon.org/show_bug.cgi?id=4881

Re: Error in the anaconda installer

Posted: Tue Jan 20, 2015 7:35
by deusr
Developers, could correct this error in the anaconda installer, it is already persisting in several ISO.

Re: Error in the anaconda installer

Posted: Tue Jan 20, 2015 18:26
by curse
20150118 64-bit MATE-dev

Same issue

Code: Select all

[email protected] ~ $ liveinst
/usr/sbin/setenforce: SELinux is disabled
Traceback (most recent call last):
  File "/usr/bin/anaconda-cleanup", line 41, in <module>
    from blivet import StorageDiscoveryConfig
  File "/usr/lib64/python2.7/site-packages/blivet/__init__.py", line 62, in <module>
    import parted
  File "/usr/lib64/python2.7/site-packages/parted/__init__.py", line 62, in <module>
    from parted.partition import Partition
  File "/usr/lib64/python2.7/site-packages/parted/partition.py", line 266, in <module>
    partitionFlag[__flag] = _ped.partition_flag_get_name(__flag)
ValueError: Invalid flag provided.
localuser:root being added to access control list
Starting installer, one moment...
Traceback (most recent call last):
  File "/usr/sbin/anaconda", line 701, in <module>
    from pyanaconda import geoloc
  File "/usr/lib64/python2.7/site-packages/pyanaconda/geoloc.py", line 109, in <module>
    from pyanaconda import network
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 41, in <module>
    from blivet.devices import FcoeDiskDevice, iScsiDiskDevice
  File "/usr/lib64/python2.7/site-packages/blivet/__init__.py", line 62, in <module>
    import parted
  File "/usr/lib64/python2.7/site-packages/parted/__init__.py", line 62, in <module>
    from parted.partition import Partition
  File "/usr/lib64/python2.7/site-packages/parted/partition.py", line 266, in <module>
    partitionFlag[__flag] = _ped.partition_flag_get_name(__flag)
ValueError: Invalid flag provided.
Traceback (most recent call last):
  File "/usr/bin/anaconda-cleanup", line 41, in <module>
    from blivet import StorageDiscoveryConfig
  File "/usr/lib64/python2.7/site-packages/blivet/__init__.py", line 62, in <module>
    import parted
  File "/usr/lib64/python2.7/site-packages/parted/__init__.py", line 62, in <module>
    from parted.partition import Partition
  File "/usr/lib64/python2.7/site-packages/parted/partition.py", line 266, in <module>
    partitionFlag[__flag] = _ped.partition_flag_get_name(__flag)
ValueError: Invalid flag provided.
/usr/sbin/setenforce: SELinux is disabled
[email protected] ~ $ 
Installer won't start.
Tried 64-bit KDE-dev as well

Re: Error in the anaconda installer

Posted: Tue Jan 20, 2015 18:29
by deusr
Please register your error here: https://bugs.sabayon.org/show_bug.cgi?id=4881

Re: Error in the anaconda installer

Posted: Tue Jan 20, 2015 19:43
by curse
done

Re: Error in the anaconda installer

Posted: Wed Jan 21, 2015 16:37
by deusr
It seems that no one is concerned about correcting this bug, continue releasing ISO with the same bug and no developer said anything until now! : /

Re: Error in the anaconda installer

Posted: Thu Jan 22, 2015 11:35
by abadonna
And same issue here.

Re: Error in the anaconda installer

Posted: Thu Jan 22, 2015 15:00
by curse
Hopefully fixed in the next daily, thanks to Joost..
https://bugs.sabayon.org/show_bug.cgi?id=4881#c7

Re: Error in the anaconda installer

Posted: Thu Jan 22, 2015 21:21
by joost
This is resolved.

If you have a recent -dev iso with this problem, you can open a root shell on the live desktop and:

Code: Select all

equo update

and then

Code: Select all

equo install dev-python/pyparted
This will only work for -dev images because they have the testing repository enabled.
Other images will have the fix included next week.

Re: Error in the anaconda installer

Posted: Thu Jan 22, 2015 22:19
by curse
I can conform that it works. 2015 01 21 64-Bit MATE-dev