The following packages have unmet dependencies: python-rosdep
I am trying to install ROS Indigo on Ubuntu 14.04 on a Parallels VM. I am running into the following error:
Parallels-Virtual-Platform:~$ sudo apt-get install ros-indigo-desktop-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
ros-indigo-desktop-full is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
python-rosdep : Depends: python-rosdistro (>= 0.4.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I have tried:
sudo apt-get update
and
sudo apt-get upgrade dpkg
With the second command, I get the following output in terminal:
Parallels-Virtual-Platform:~$ sudo apt-get upgrade dpkg
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
python-rosdep : Depends: python-rosdistro (>= 0.4.0) but it is not installed
E: Unmet dependencies. Try using -f.
I tried using sudo apt-get -f install
and got:
Parallels-Virtual-Platform:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
python-rosdistro python-rosdistro-modules
The following NEW packages will be installed:
python-rosdistro python-rosdistro-modules
0 upgraded, 2 newly installed, 0 to remove and 380 not upgraded.
820 not fully installed or removed.
Need to get 0 B/37.0 kB of archives.
After this operation, 295 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
dpkg-deb: error: archive '/var/cache/apt/archives/python-rosdistro-modules_0.7.0-1_all.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up
dpkg: error processing archive /var/cache/apt/archives/python-rosdistro-modules_0.7.0-1_all.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
dpkg-deb: error: archive '/var/cache/apt/archives/python-rosdistro_0.7.0-100_all.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up
dpkg: error processing archive /var/cache/apt/archives/python-rosdistro_0.7.0-100_all.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/python-rosdistro-modules_0.7.0-1_all.deb
/var/cache/apt/archives/python-rosdistro_0.7.0-100_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can you check whether this is a duplicate of #q310473 (which was a duplicate of #q299091)?