The following additional packages will be installed:
libusbgx2
The following NEW packages will be installed:
libusbgx2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
42 not fully installed or removed.
Need to get 0 B/28.8 kB of archives.
After this operation, 94.2 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 105278 files and directories currently installed.)
Preparing to unpack .../libusbgx2_0.2.0-2bbbio0~lunar+20230817_riscv64.deb ...
Unpacking libusbgx2:riscv64 (0.2.0-2bbbio0~lunar+20230817) ...
dpkg: error processing archive /var/cache/apt/archives/libusbgx2_0.2.0-2bbbio0~lunar+20230817_riscv64.deb (--unpack):
trying to overwrite '/usr/lib/riscv64-linux-gnu/libusbgx.so.2.0.0', which is also in package libusbgx 0.2.0-git20210811.3-0~lunar+20221228
Errors were encountered while processing:
/var/cache/apt/archives/libusbgx2_0.2.0-2bbbio0~lunar+20230817_riscv64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I was trying to update the board and I came across this issue. I tried w/:
- sudo apt --fix-broken install
- Reapplying sudo apt upgrade
Seth