[Kernel-packages] [Bug 2033198] Re: package linux-tools-common (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/acpidbg', which is also in package linux-intel-iotg-5.15-tools-c
Yes, that is what I did, see #5 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-intel-iotg-5.15 in Ubuntu. https://bugs.launchpad.net/bugs/2033198 Title: package linux-tools-common (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/acpidbg', which is also in package linux-intel-iotg-5.15-tools-common 5.15.0-1037.42~20.04.1 Status in linux-intel-iotg-5.15 package in Ubuntu: Incomplete Bug description: trying to get perf running. First did: >sudo apt install linux-intel-iotg-5.15-tools-common Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: linux-intel-iotg-5.15-tools-common 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 334 kB of archives. After this operation, 899 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-intel-iotg-5.15-tools-common all 5.15.0-1037.42~20.04.1 [334 kB] Fetched 334 kB in 0s (1,291 kB/s) Selecting previously unselected package linux-intel-iotg-5.15-tools-common. (Reading database ... 345841 files and directories currently installed.) Preparing to unpack .../linux-intel-iotg-5.15-tools-common_5.15.0-1037.42~20.04.1_all.deb ... Unpacking linux-intel-iotg-5.15-tools-common (5.15.0-1037.42~20.04.1) ... Setting up linux-intel-iotg-5.15-tools-common (5.15.0-1037.42~20.04.1) ... Processing triggers for man-db (2.9.1-1) ... Then tried to execute perf and received: WARNING: perf not found for kernel 5.15.0-79 You may need to install the following packages for this specific kernel: linux-tools-5.15.0-79-generic linux-cloud-tools-5.15.0-79-generic You may also want to install one of the following packages to keep up to date: linux-tools-generic linux-cloud-tools-generic So did: >sudo apt-get install linux-tools-generic Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: linux-tools-5.4.0-156 linux-tools-5.4.0-156-generic linux-tools-common The following NEW packages will be installed: linux-tools-5.4.0-156 linux-tools-5.4.0-156-generic linux-tools-common linux-tools-generic 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 5,775 kB of archives. After this operation, 27.2 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-tools-common all 5.4.0-156.173 [187 kB] Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-tools-5.4.0-156 amd64 5.4.0-156.173 [5,584 kB] Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-tools-5.4.0-156-generic amd64 5.4.0-156.173 [1,992 B] Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-tools-generic amd64 5.4.0.156.152 [2,464 B] Fetched 5,775 kB in 1s (10.6 MB/s) Selecting previously unselected package linux-tools-common. (Reading database ... 345914 files and directories currently installed.) Preparing to unpack .../linux-tools-common_5.4.0-156.173_all.deb ... Unpacking linux-tools-common (5.4.0-156.173) ... dpkg: error processing archive /var/cache/apt/archives/linux-tools-common_5.4.0-156.173_all.deb (--unpack): trying to overwrite '/usr/bin/acpidbg', which is also in package linux-intel-iotg-5.15-tools-common 5.15.0-1037.42~20.04.1 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Selecting previously unselected package linux-tools-5.4.0-156. Preparing to unpack .../linux-tools-5.4.0-156_5.4.0-156.173_amd64.deb ... Unpacking linux-tools-5.4.0-156 (5.4.0-156.173) ... Selecting previously unselected package linux-tools-5.4.0-156-generic. Preparing to unpack .../linux-tools-5.4.0-156-generic_5.4.0-156.173_amd64.deb ... Unpacking linux-tools-5.4.0-156-generic (5.4.0-156.173) ... Selecting previously unselected package linux-tools-generic. Preparing to unpack .../linux-tools-generic_5.4.0.156.152_amd64.deb ... Unpacking linux-tools-generic (5.4.0.156.152) ... Errors were encountered while processing: /var/cache/apt/archives/linux-tools-common_5.4.0-156.173_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 20.04 Package: linux-tools-common (not installed) ProcVersionSignature: Ubuntu 5.15.0-79.86~20.04.2-generic 5.15.111 Uname: Linux 5.15.0-79-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.27 AptOrdering: linux-tools-common:amd64: Install linux-tools-5.4.0-156:amd64: Install linux-tools-5.4.0-156-generic:amd64: Install linux-tools-generic:amd64:
[Kernel-packages] [Bug 2033198] Re: package linux-tools-common (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/acpidbg', which is also in package linux-intel-iotg-5.15-tools-c
The correct package to install appears to have been linux- tools-5.15.0-79-generic. Which makes sense as uname -r yields: 5.15.0-79-generic. Just installing linux-tools-generic picked linux- tools-5.4.0-156 which led to the above error messages. To resolve: >sudo dpkg --remove --force-remove-reinstreq linux-intel-iotg-5.15-tools-common (Reading database ... 345945 files and directories currently installed.) Removing linux-intel-iotg-5.15-tools-common (5.15.0-1037.42~20.04.1) ... Processing triggers for man-db (2.9.1-1) ... >sudo apt-get remove linux-intel-iotg-5.15.tools-common Reading package lists... Done Building dependency tree Reading state information... Done Package 'linux-intel-iotg-5.15-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-5.4.0-156 : Depends: linux-tools-common but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). >sudo apt --fix-broken remove Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: linux-tools-common The following NEW packages will be installed: linux-tools-common 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. Need to get 0 B/187 kB of archives. After this operation, 953 kB of additional disk space will be used. Do you want to continue? [Y/n] y Selecting previously unselected package linux-tools-common. (Reading database ... 345872 files and directories currently installed.) Preparing to unpack .../linux-tools-common_5.4.0-156.173_all.deb ... Unpacking linux-tools-common (5.4.0-156.173) ... Setting up linux-tools-common (5.4.0-156.173) ... Setting up linux-tools-5.4.0-156 (5.4.0-156.173) ... Setting up linux-tools-5.4.0-156-generic (5.4.0-156.173) ... Setting up linux-tools-generic (5.4.0.156.152) ... Processing triggers for man-db (2.9.1-1) ... >sudo apt-get install linux-tools-5.15.0-79-generic Seems to be working as intended in the end? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-intel-iotg-5.15 in Ubuntu. https://bugs.launchpad.net/bugs/2033198 Title: package linux-tools-common (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/acpidbg', which is also in package linux-intel-iotg-5.15-tools-common 5.15.0-1037.42~20.04.1 Status in linux-intel-iotg-5.15 package in Ubuntu: Incomplete Bug description: trying to get perf running. First did: >sudo apt install linux-intel-iotg-5.15-tools-common Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: linux-intel-iotg-5.15-tools-common 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 334 kB of archives. After this operation, 899 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-intel-iotg-5.15-tools-common all 5.15.0-1037.42~20.04.1 [334 kB] Fetched 334 kB in 0s (1,291 kB/s) Selecting previously unselected package linux-intel-iotg-5.15-tools-common. (Reading database ... 345841 files and directories currently installed.) Preparing to unpack .../linux-intel-iotg-5.15-tools-common_5.15.0-1037.42~20.04.1_all.deb ... Unpacking linux-intel-iotg-5.15-tools-common (5.15.0-1037.42~20.04.1) ... Setting up linux-intel-iotg-5.15-tools-common (5.15.0-1037.42~20.04.1) ... Processing triggers for man-db (2.9.1-1) ... Then tried to execute perf and received: WARNING: perf not found for kernel 5.15.0-79 You may need to install the following packages for this specific kernel: linux-tools-5.15.0-79-generic linux-cloud-tools-5.15.0-79-generic You may also want to install one of the following packages to keep up to date: linux-tools-generic linux-cloud-tools-generic So did: >sudo apt-get install linux-tools-generic Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: linux-tools-5.4.0-156 linux-tools-5.4.0-156-generic linux-tools-common The following NEW packages will be installed: linux-tools-5.4.0-156 linux-tools-5.4.0-156-generic linux-tools-common linux-tools-generic 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 5,775 kB of archives. After this operation, 27.2 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-tools-common all 5.4.0-156.173 [187 kB] Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main