Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
This repository was archived by the owner on May 31, 2025. It is now read-only.

dist-upgrade shadow-fixed rostest #904

@davetcoleman

Description

@davetcoleman

I'm not sure where to post this, but running dist-upgrade after switching the ROS source path to shadow-fixed in Docker gives the following error:

Errors were encountered while processing:
 /var/cache/apt/archives/ros-kinetic-rostest_1.12.4-0xenial-20160920-001830-0700_amd64.deb
�[91mE�[0m�[91m: Sub-process /usr/bin/dpkg returned an error code (1)�[0m�[91m

To investigate, I started up an interactive Docker ros:kinetic-ros-base, switched to shadow-fixed:

echo "deb http://packages.ros.org/ros-shadow-fixed/ubuntu `lsb_release -cs` main" | tee /etc/apt/sources.list.d/ros-latest.list

Then ran

apt-get update
apt-get dist-upgrade

And I get another (similar) error with rostest:

apt-get install ros-kinetic-rostest
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  ros-kinetic-rostest
1 upgraded, 0 newly installed, 0 to remove and 132 not upgraded.
Need to get 28.5 kB of archives.
After this operation, 10.2 kB of additional disk space will be used.
Get:1 http://packages.ros.org/ros-shadow-fixed/ubuntu xenial/main amd64 ros-kinetic-rostest amd64 1.12.4-0xenial-20160920-001830-0700 [28.5 kB]
Fetched 28.5 kB in 0s (159 kB/s)               
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 44107 files and directories currently installed.)
Preparing to unpack .../ros-kinetic-rostest_1.12.4-0xenial-20160920-001830-0700_amd64.deb ...
Unpacking ros-kinetic-rostest (1.12.4-0xenial-20160920-001830-0700) over (1.12.2-0xenial-20160603-153503-0700) ...
dpkg: error processing archive /var/cache/apt/archives/ros-kinetic-rostest_1.12.4-0xenial-20160920-001830-0700_amd64.deb (--unpack):
 unable to move aside './opt/ros/kinetic/share/rostest/nodes/hztest' to install new version: Invalid cross-device link
Errors were encountered while processing:
 /var/cache/apt/archives/ros-kinetic-rostest_1.12.4-0xenial-20160920-001830-0700_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Key line: unable to move aside './opt/ros/kinetic/share/rostest/nodes/hztest' to install new version: Invalid cross-device link

Any thoughts what is going on?

The work around is to remove rostest then reinstall it to get the latest shadow-fixed version.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions