Bug 33164 - не работает
Summary: не работает
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: blocks (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Grigory Ustinov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-22 16:15 MSK by Alexander Volkov
Modified: 2018-06-09 14:43 MSK (History)
21 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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