Code:
root@dev1:/# apt remove linux-tools-5.4.0-146-generic linux-tools-5.4.0-146 linux-tools-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'linux-tools-common' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
linux-tools-generic : Depends: linux-tools-5.4.0-146-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Those 3 might be the problem, tried to get them out individually and in a stream. That does not work.
Is something broken with APT?, seems like all it is doing is running in a circle.
Tried to reinstall
Code:
root@dev1:/# apt install linux-tools-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
linux-tools-common
0 upgraded, 1 newly installed, 0 to remove and 40 not upgraded.
3 not fully installed or removed.
Need to get 214 kB of archives.
After this operation, 927 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-tools-common all 5.4.0-146.163 [214 kB]
Fetched 214 kB in 1s (297 kB/s)
Selecting previously unselected package linux-tools-common.
(Reading database ... 320569 files and directories currently installed.)
Preparing to unpack .../linux-tools-common_5.4.0-146.163_all.deb ...
Unpacking linux-tools-common (5.4.0-146.163) ...
dpkg: error processing archive /var/cache/apt/archives/linux-tools-common_5.4.0-146.163_all.deb (--unpack
):
trying to overwrite '/usr/bin/acpidbg', which is also in package linux-iot-tools-common 5.4.0-1013.15
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-tools-common_5.4.0-146.163_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@dev1:/#
Bookmarks