Closed mitsudome-r closed 10 months ago
Full log here log.txt
I also ran sudo apt --fix-broken install
and got:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gconf-service gconf-service-backend gconf2-common libc++1 libc++1-14 libc++abi1-14 libgconf-2-4 libunwind-14 nvidia-firmware-535-535.113.01
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
ros-humble-detection-by-tracker ros-humble-object-merger ros-humble-probabilistic-occupancy-grid-map ros-humble-radar-object-tracker ros-humble-tracking-object-merger
The following NEW packages will be installed:
ros-humble-detection-by-tracker ros-humble-object-merger ros-humble-probabilistic-occupancy-grid-map ros-humble-radar-object-tracker ros-humble-tracking-object-merger
0 upgraded, 5 newly installed, 0 to remove and 421 not upgraded.
170 not fully installed or removed.
Need to get 0 B/1,483 kB of archives.
After this operation, 6,645 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 404015 files and directories currently installed.)
Preparing to unpack .../ros-humble-detection-by-tracker_0-2023.11.24.21.48_amd64.deb ...
Unpacking ros-humble-detection-by-tracker (0-2023.11.24.21.48) ...
dpkg: error processing archive /var/cache/apt/archives/ros-humble-detection-by-tracker_0-2023.11.24.21.48_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.11.24.19.16
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../ros-humble-object-merger_0-2023.11.24.21.00_amd64.deb ...
Unpacking ros-humble-object-merger (0-2023.11.24.21.00) ...
dpkg: error processing archive /var/cache/apt/archives/ros-humble-object-merger_0-2023.11.24.21.00_amd64.deb (--unpack):
trying to overwrite '/opt/ros/humble/lib/libmu_successive_shortest_path.so', which is also in package ros-humble-multi-object-tracker 0-2023.11.24.20.42
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../ros-humble-probabilistic-occupancy-grid-map_0-2023.11.24.15.29_amd64.deb ...
Unpacking ros-humble-probabilistic-occupancy-grid-map (0-2023.11.24.15.29) ...
dpkg: error processing archive /var/cache/apt/archives/ros-humble-probabilistic-occupancy-grid-map_0-2023.11.24.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.11.24.19.16
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../ros-humble-radar-object-tracker_0-2023.11.24.21.15_amd64.deb ...
Unpacking ros-humble-radar-object-tracker (0-2023.11.24.21.15) ...
dpkg: error processing archive /var/cache/apt/archives/ros-humble-radar-object-tracker_0-2023.11.24.21.15_amd64.deb (--unpack):
trying to overwrite '/opt/ros/humble/lib/libmu_successive_shortest_path.so', which is also in package ros-humble-multi-object-tracker 0-2023.11.24.20.42
No apport report written because MaxReports is reached already
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../ros-humble-tracking-object-merger_0-2023.11.25.06.53_amd64.deb ...
Unpacking ros-humble-tracking-object-merger (0-2023.11.25.06.53) ...
dpkg: error processing archive /var/cache/apt/archives/ros-humble-tracking-object-merger_0-2023.11.25.06.53_amd64.deb (--unpack):
trying to overwrite '/opt/ros/humble/lib/libmu_successive_shortest_path.so', which is also in package ros-humble-multi-object-tracker 0-2023.11.24.20.42
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/var/cache/apt/archives/ros-humble-detection-by-tracker_0-2023.11.24.21.48_amd64.deb
/var/cache/apt/archives/ros-humble-object-merger_0-2023.11.24.21.00_amd64.deb
/var/cache/apt/archives/ros-humble-probabilistic-occupancy-grid-map_0-2023.11.24.15.29_amd64.deb
/var/cache/apt/archives/ros-humble-radar-object-tracker_0-2023.11.24.21.15_amd64.deb
/var/cache/apt/archives/ros-humble-tracking-object-merger_0-2023.11.25.06.53_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
@mitsudome-r I found four packages that build the same library (mu_successive_shortest_path
):
multi_object_tracker
object_merger
radar_object_tracker
tracking_object_merger
The two solutions I can think of are either move the library to a separate package and export it so that downstream packages can use it. Or prefix the library in CMakeLists.txt
with the name of the package.
Given that code in the library is exactly the same, I'd have a separate package so it can be reused.
I've filed https://github.com/autowarefoundation/autoware.universe/issues/5705 to address this issue
I tried the installation of deb packages with the following commands:
and got these errors: