autowarefoundation / autoware.universe

https://autowarefoundation.github.io/autoware.universe/
Apache License 2.0
1.01k stars 650 forks source link

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

Closed esteve closed 10 months ago

esteve commented 11 months ago

Checklist

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 https://github.com/autowarefoundation/autoware-deb-packages/issues/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 commented 10 months ago

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