error on Installing ros on ubuntu14 i386

asked 2018-08-03 09:32:14 -0500

elia gravatar image

updated 2018-08-06 02:52:25 -0500

I need to run ros and python 2.7 (32 bit) on my windows, I used WSL to install ubuntu and then installing ros.

Regarding the version of my windows 10, the only available option for me is ubuntu 16.04. which corresponding ROS pack is Lunar.

but the problem is that by installing python 32 bit, lunar will be removed and if i try for reinstall lunar the python will be removed!

my priority is in solving this problem to: run lunar with a 32 bit version of python 2.7, if it be possible!

Since i didn't know is there any way to run Lunar and python 32 bit beside each other, i tried to install ubuntu 14.04 (32 bit) via my WSL. Then I tried to install ROS indigo on. but I got the following errors:

The following packages have unmet dependencies:
    python-rosdep : Depends: python-catkin-pkg but it is not going to be installed
     ros-indigo-catkin : Depends: python-catkin-pkg (> 0.2.9) but it is not going to be installed
     ros-indigo-rospack : Depends: python-catkin-pkg but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

i tried for :apt-get -f install and following errors occurred:

subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/python-catkin-pkg-modules_0.4.7-1_all.deb
 /var/cache/apt/archives/python-catkin-pkg_0.4.7-100_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

it seems at first i don't have the python-catkin-pkg and then when i installed it by the second command, it is not readable!

and trying for install python-rosdep caused to:

root@DESKTOP-IQU4A6G:/# install python-rosdep
    /usr/bin/install: missing destination file operand after ‘python-rosdep’
    Try '/usr/bin/install --help' for more information.

it would be so appreciated if you give some solution to any of these problems! thanks in advance.

edit retag flag offensive close merge delete

Comments

@elia which ROS distro are you trying to install?

allenh1 gravatar image allenh1  ( 2018-08-03 10:48:27 -0500 )edit

@allenh1, i'm trying to install indigo, as it mentioned in command!

elia gravatar image elia  ( 2018-08-04 04:02:02 -0500 )edit

My bad, don't know why I missed that. What does dpkg say if you just try to install python-rosdep?

allenh1 gravatar image allenh1  ( 2018-08-04 10:31:55 -0500 )edit

@allenh1 I used sudo apt-get install python-rosdep python-rosdep : Depends: python-catkin-pkg but it is not going to be installed python-rosdistro-modules : Depends: python-catkin-pkg-modules but it is not going to be installed ros-indigo-catkin : Depends: python-catkin-pkg (> 0.2.9) but it is...

elia gravatar image elia  ( 2018-08-05 06:16:16 -0500 )edit

Please update your question so I can see the full output of that command

allenh1 gravatar image allenh1  ( 2018-08-05 07:41:47 -0500 )edit

Hey, this tutorial really can be the solution, i followed all steps without any problem but by the command sudo apt-get install python-rosdep i got the same error.

elia gravatar image elia  ( 2018-08-06 02:46:50 -0500 )edit

You tried to use the install command, which is not the same as sudo apt-get install python-rosdep. Could I please see the output of the latter?

allenh1 gravatar image allenh1  ( 2018-08-06 14:46:52 -0500 )edit

Hear is the out put of sudo apt-get install python-rosdep

Errors were encountered while processing: 
 /var/cache/apt/archives/python-catkin-pkg-modules_0.4.7-1_all.deb                                                       /var/cache/apt/archives/python-catkin-pkg_0.4.7-100_all.deb
elia gravatar image elia  ( 2018-08-07 00:16:29 -0500 )edit