Bug 33164

Summary: не работает
Product: Sisyphus Reporter: Alexander Volkov <vaa>
Component: blocksAssignee: Grigory Ustinov <grenka>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: andre.linteam, antohami, cas, cow, ekorneechev, evg, george, grenka, imz, kotopesutility, lav, nbr, qa_viy, rider, sem, shaba, sin, slev, toni, vitty, viy
Version: unstable   
Hardware: all   
OS: Linux   

Description Alexander Volkov 2017-02-22 16:15:51 MSK
/usr/sbin/blocks --help
Traceback (most recent call last):
  File "/usr/sbin/blocks", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 3084, in <module>
    @_call_aside
  File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 651, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 952, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 839, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pyparted>3.10a0' distribution was not found and is required by blocks

[vaa@phenom ~]$ apt-cache search pyparted
python-module-parted - Python bindings for libparted
python3-module-parted - Python bindings for libparted
[vaa@phenom ~]$ rpm -qa | grep parted
python3-module-parted-3.10.0-alt1.1.1
libparted-3.2-alt3
parted-3.2-alt3
Comment 1 Evgeniy Korneechev 2017-02-28 17:38:56 MSK
На сизиф.
Comment 2 Andrey 2018-05-28 18:05:48 MSK
Пересобрал. У меня работает.

$ /usr/sbin/blocks --help
usage: blocks [-h] [--debug] command ...

positional arguments:
  command
    to-lvm (lvmify)
                   Convert to LVM
    to-bcache      Convert to bcache

optional arguments:
  -h, --help       show this help message and exit
  --debug
Comment 3 Andrey 2018-06-09 14:43:16 MSK
it's working