-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
dpavlin@nuc:/tmp$ sudo dpkg -i ulx3s-toolchain_2020.04.26-2_amd64.deb
[sudo] password for dpavlin:
Selecting previously unselected package ulx3s-toolchain.
(Reading database ... 295966 files and directories currently installed.)
Preparing to unpack ulx3s-toolchain_2020.04.26-2_amd64.deb ...
Unpacking ulx3s-toolchain (2020.04.26-2) ...
dpkg: error processing archive ulx3s-toolchain_2020.04.26-2_amd64.deb (--install):
trying to overwrite '/usr/bin/openocd', which is also in package openocd 0.10.0-6+b1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Processing triggers for libc-bin (2.30-4) ...
Errors were encountered while processing:
ulx3s-toolchain_2020.04.26-2_amd64.deb
I think this can be solved by declaring Conflict with openpcd which would force de-install of it, see https://www.debian.org/doc/debian-policy/ch-relationships.html#s-conflicts
I'm not sure if Replaces is better choice, but I would not expect to have both packages installed, so I'm removing openocd manually before toolchain install.
Metadata
Metadata
Assignees
Labels
No labels