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

detection_by_tracker and probabilistic_occupancy_grid_map export files with the same name (utils.hpp) #5826

Closed
3 tasks done
esteve opened this issue Dec 10, 2023 · 1 comment
Assignees
Labels
type:bug Software flaws or errors.

Comments

@esteve
Copy link
Contributor

esteve commented Dec 10, 2023

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I'm convinced that this is not my fault but a bug.

Description

detection_by_tracker and probabilistic_occupancy_grid_map export files with the same name (utils.hpp) which makes it not possible to install Debian packages of both (see autowarefoundation/autoware-deb-packages#55)

Expected behavior

Install both Debian packages should be possible

Actual behavior

Installing both packages results in the following error:

root@3a47107fc384:/# apt install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  ros-humble-detection-by-tracker ros-humble-probabilistic-occupancy-grid-map
The following NEW packages will be installed:
  ros-humble-detection-by-tracker ros-humble-probabilistic-occupancy-grid-map
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
1128 not fully installed or removed.
Need to get 608 kB of archives.
After this operation, 3133 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 https://github.com/autowarefoundation/autoware-deb-packages/raw/jammy-humble-main ./ ros-humble-detection-by-tracker 0-2023.12.06.21.03 [264 kB]
Get:2 https://github.com/autowarefoundation/autoware-deb-packages/raw/jammy-humble-main ./ ros-humble-probabilistic-occupancy-grid-map 0-2023.12.06.15.29 [345 kB]
Fetched 608 kB in 2s (352 kB/s)                                  
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 138706 files and directories currently installed.)
Preparing to unpack .../ros-humble-detection-by-tracker_0-2023.12.06.21.03_amd64.deb ...
Unpacking ros-humble-detection-by-tracker (0-2023.12.06.21.03) ...
dpkg: error processing archive /var/cache/apt/archives/ros-humble-detection-by-tracker_0-2023.12.06.21.03_amd64.deb (--unpack):
 trying to overwrite '/opt/ros/humble/include/utils/utils.hpp', which is also in package ros-humble-detected-object-validation 0-2023.12.06.18.31
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../ros-humble-probabilistic-occupancy-grid-map_0-2023.12.06.15.29_amd64.deb ...
Unpacking ros-humble-probabilistic-occupancy-grid-map (0-2023.12.06.15.29) ...
dpkg: error processing archive /var/cache/apt/archives/ros-humble-probabilistic-occupancy-grid-map_0-2023.12.06.15.29_amd64.deb (--unpack):
 trying to overwrite '/opt/ros/humble/include/utils/utils.hpp', which is also in package ros-humble-detected-object-validation 0-2023.12.06.18.31
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/ros-humble-detection-by-tracker_0-2023.12.06.21.03_amd64.deb
 /var/cache/apt/archives/ros-humble-probabilistic-occupancy-grid-map_0-2023.12.06.15.29_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Steps to reproduce

Follow instructions from https://github.com/autowarefoundation/autoware-deb-packages/blob/jammy-humble-main/README.md and install these packages via sudo apt install ros-humble-detection-by-tracker ros-humble-probabilistic-occupancy-grid-map

Versions

No response

Possible causes

No response

Additional context

No response

@esteve
Copy link
Contributor Author

esteve commented Jan 12, 2024

Closing. Both #5837 and #5839 are now merged, and the global issue is being tracked in autowarefoundation/autoware#4070

@esteve esteve closed this as completed Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Software flaws or errors.
Projects
None yet
Development

No branches or pull requests

2 participants