conflicting packages while installing perf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I was trying to run perf, but I discovered it was not installed
```
$ perf stat -d so4/so-benchmark 1000000
Command 'perf' not found, but can be installed with:
sudo apt install linux-oem-
sudo apt install linux-tools-common # version 5.4.0-29.33
```
So I decided to install the latest version, so as `linux-
```
$ sudo apt install linux-oem-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
linux-
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 174 kB of archives.
After this operation, 395 kB of additional disk space will be used.
Get:1 http://
Fetched 174 kB in 0s (446 kB/s)
Selecting previously unselected package linux-oem-
(Reading database ... 326483 files and directories currently installed.)
Preparing to unpack .../linux-
Progress: [ 0%] [......
Unpacking linux-oem-
Setting up linux-oem-
Progress: [ 60%] [######
Processing triggers for man-db (2.9.1-1) ...####
```
Then it finished, so I wanted to run perf finally.
```
$ perf stat -d so4/so-benchmark 1000000
WARNING: perf not found for kernel 5.4.0-28
You may need to install the following packages for this specific kernel:
linux-
linux-
You may also want to install one of the following packages to keep up to date:
linux-
linux-
```
Ok, so I discover that my kernel is not compatible with version 5.6. But apt suggests to install one of those, so I pick `linux-
```
$ sudo apt install linux-tools-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
linux-
The following NEW packages will be installed:
linux-
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 5 759 kB of archives.
After this operation, 25,7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Fetched 5 759 kB in 7s (878 kB/s)
Selecting previously unselected package linux-tools-common.
(Reading database ... 326549 files and directories currently installed.)
Preparing to unpack .../linux-
Progress: [ 0%] [......
Unpacking linux-tools-common (5.4.0-29.33) .......
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/bin/acpidbg', which is also in package linux-oem-
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package linux-tools-
Preparing to unpack .../linux-
Unpacking linux-tools-
Selecting previously unselected package linux-tools-
Preparing to unpack .../linux-
Unpacking linux-tools-
Selecting previously unselected package linux-tools-
Preparing to unpack .../linux-
Unpacking linux-tools-generic (5.4.0.29.34) ...####
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
So, unfortunately I have now my package dependencies broken..
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-tools-common (not installed)
ProcVersionSign
Uname: Linux 5.4.0-28-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Sun May 10 15:09:06 2020
InstallationDate: Installed on 2020-04-03 (36 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200401)
MachineType: Dell Inc. XPS 15 7590
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.187
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/06/2020
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.6.0
dmi.board.name: 0VYV0G
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 15 7590
dmi.product.sku: 0905
dmi.sys.vendor: Dell Inc.
mtime.conffile.
This change was made by a bot.