Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to install on Kinetic #14

Open
wkentaro opened this issue Jul 17, 2018 · 2 comments
Open

Fails to install on Kinetic #14

wkentaro opened this issue Jul 17, 2018 · 2 comments

Comments

@wkentaro
Copy link

wkentaro commented Jul 17, 2018

Anyone who knows how to fix this?

The following packages will be upgraded:
  ros-kinetic-euslisp
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
Need to get 0 B/10.4 MB of archives.
After this operation, 249 kB of additional disk space will be used.
(Reading database ... 429109 files and directories currently installed.)
Preparing to unpack .../ros-kinetic-euslisp_9.24.0-0xenial-20180717-075819-0800_amd64.deb ...
Unpacking ros-kinetic-euslisp (9.24.0-0xenial-20180717-075819-0800) over (9.23.0-0xenial-20180222-205130-0800) ...
dpkg: error processing archive /var/cache/apt/archives/ros-kinetic-euslisp_9.24.0-0xenial-20180717-075819-0800_amd64.deb (--unpack):
 trying to overwrite '/opt/ros/kinetic/setup.zsh', which is also in package ros-kinetic-catkin 0.7.11-0xenial-20180222-175501-0800
Errors were encountered while processing:
 /var/cache/apt/archives/ros-kinetic-euslisp_9.24.0-0xenial-20180717-075819-0800_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
@tfoote
Copy link

tfoote commented Jun 11, 2019

This appears to have recurred all kinetic builds are failing. I've linked an example below.

The problem is that you're using the cmake debhelper rules template but using catkin to build it. Where you should be using the catkin template which specifically sets -DCATKIN_BUILD_BINARY_PACKAGE="1" to avoid catkin regenerating the setup file that's already generated.

You've overridden the build type to be cmake not catkin so it's using that declaration in the bloom generation process.

<build_type>cmake</build_type>

I suspect that all you have to do is remove that override to get the catkin templates which is our default for ROS packages.

http://build.ros.org/view/Kbin_uX64/job/Kbin_uX64__jskeus__ubuntu_xenial_amd64__binary/8/console

16:16:19   1185 'Unpacking ros-kinetic-euslisp (9.26.0-0xenial-20190607-212722-0800) ...'
16:16:19   1186 'dpkg: error processing archive /var/cache/apt/archives/ros-kinetic-euslisp_9.26.0-0xenial-20190607-212722-0800_amd64.deb (--unpack):'
16:16:19   1187 ' trying to overwrite '/opt/ros/kinetic/local_setup.bash', which is also in package ros-kinetic-catkin 0.7.18-1xenial-20190607-163525-0800'
16:16:19   1188 'dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)'

@k-okada
Copy link
Member

k-okada commented Jun 12, 2019

@tfoote sorry for trouble and I have released fixed version ros/rosdistro#21516

(this is same issue as #16, which we fixed only on Melodic branch, I have just update the Kinetic branch too )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants