rosdep 有未满足的依赖关系

rosdep 有未满足的依赖关系

我的突触管理器给我一个错误,说我的系统中的 python-rosdep 已损坏。所以我做了以下操作:编辑->修复损坏的包->应用。但我收到一个错误:

 E: /var/cache/apt/archives/python-catkin-pkg-modules_0.4.10-1_all.deb: subprocess dpkg-deb --control returned error exit status 2

E: /var/cache/apt/archives/python-catkin-pkg_0.4.10-100_all.deb: subprocess dpkg-deb --control returned error exit status 2

E: /var/cache/apt/archives/python-rosdistro-modules_0.7.2-1_all.deb: subprocess dpkg-deb --control returned error exit status 2

E: /var/cache/apt/archives/python-rosdistro_0.7.2-100_all.deb: subprocess dpkg-deb --control returned error exit status 2

W: Ignoring Provides line with DepCompareOp for package gdb-minimal
W: Ignoring Provides line with DepCompareOp for package gdb-minimal

如果我运行sudo apt-get -f install,也会出错

dpkg-deb: error: archive '/var/cache/apt/archives/python-catkin-pkg-modules_0.4.10-1_all.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up

dpkg: error processing archive /var/cache/apt/archives/python-catkin-pkg-modules_0.4.10-1_all.deb (--unpack):

subprocess dpkg-deb --control returned error exit status 2

dpkg-deb: error: archive '/var/cache/apt/archives/python-catkin-pkg_0.4.10-100_all.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up

dpkg: error processing archive /var/cache/apt/archives/python-catkin-pkg_0.4.10-100_all.deb (--unpack):

subprocess dpkg-deb --control returned error exit status 2

dpkg-deb: error: archive '/var/cache/apt/archives/python-rosdistro-modules_0.7.2-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.2-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.2-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.2-100_all.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2

No apport report written because MaxReports is reached already

Errors were encountered while processing:

/var/cache/apt/archives/python-catkin-pkg-modules_0.4.10-1_all.deb

/var/cache/apt/archives/python-catkin-pkg_0.4.10-100_all.deb

/var/cache/apt/archives/python-rosdistro-modules_0.7.2-1_all.deb

/var/cache/apt/archives/python-rosdistro_0.7.2-100_all.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

由于这个问题,我无法通过 apt-get 安装任何东西,因为出现错误:

the following packages have unmet dependencies: 
python-rosdep : Depends: python-catkin-pkg (>= 0.4.0) but 0.3.9-100 is to be installed`. 
Depends: python-rosdistro (>= 0.7.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

此外,输出apt-cache policy python-rosdep python-catkin-pkg

python-rosdep:
Installed: 0.15.0-1
Candidate: 0.15.0-1
Version table:
*** 0.15.0-1 0
500 http://packages.ros.org/ros/ubuntu/ trusty/main amd64 Packages
    100 /var/lib/dpkg/status

python-catkin-pkg:
Installed: 0.3.9-100
Candidate: 0.4.10-100
Version table:
0.4.10-100 0
500 http://packages.ros.org/ros/ubuntu/ trusty/main amd64 Packages
*** 0.3.9-100 0
100 /var/lib/dpkg/status

有人能帮我解决这个问题吗?谢谢

相关内容