View previous topic :: View next topic |
Author |
Message |
allenh1 n00b
Joined: 16 Jun 2014 Posts: 16 Location: Brentwood, TN
|
Posted: Mon Jul 06, 2015 5:20 pm Post subject: Completely broken layman... Help? |
|
|
So I've been working on installing ROS (Robot Operating System) on my Gentoo computer. I have been doing a lot of work and created an overlay and got really close. Then I installed an upgraded version of pip. Installing the packages I installed with my overlay with pip 7.4.1 completed broke layman.
Code: |
allenh1@tuxbox ~ $ sudo layman -S
Password:
ERROR: Cannot find required rosinstall library version, check your installation (also of vcstools) is up-to-date. One frequent cause is that rosinstall 0.5 is still installed in /usr/local/lib.
No module named 'wstool'
|
wstool is one of the packages. I have uninstalled everything related to ros and reinstalled layman. I think Python got seriously messed up here. Anyone have any words of wisdom? |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Mon Jul 06, 2015 5:46 pm Post subject: |
|
|
Did you forget to delete all /var/lib/layman stuff? |
|
Back to top |
|
|
allenh1 n00b
Joined: 16 Jun 2014 Posts: 16 Location: Brentwood, TN
|
Posted: Mon Jul 06, 2015 7:25 pm Post subject: |
|
|
Quote: | Did you forget to delete all /var/lib/layman stuff? |
I did! But, unfortunately, that didn't help. I did the following:
Code: | # emerge -C layman
# rm -rf /var/lib/layman
# emerge layman
|
and this was at the very end of the emerge.
Code: | >>> Installing (1 of 1) app-portage/layman-2.2.0-r7
* Running layman-updater...
ERROR: Cannot find required rosinstall library version, check your installation (also of vcstools) is up-to-date. One frequent cause is that rosinstall 0.5 is still installed in /usr/local/lib.
No module named 'wstool'
*
>>> Recording app-portage/layman in "world" favorites file...
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
|
This is pretty obnoxious. I still don't know how things got this broken. I suspect python got messed up somehow. |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Tue Jul 07, 2015 1:58 pm Post subject: |
|
|
There are several threads here about running pip as root and how it breaks portage, with solutions. |
|
Back to top |
|
|
allenh1 n00b
Joined: 16 Jun 2014 Posts: 16 Location: Brentwood, TN
|
Posted: Tue Jul 07, 2015 3:15 pm Post subject: |
|
|
Figured it out. All I needed to do was
Code: | # emerge -C python-exec
#emerge python-exec
|
and layman is back to normal. |
|
Back to top |
|
|
|