package linux-tools-common (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/perf', which is also in package linux-base 3.4

Bug #994279 reported by Tim Bird
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I was trying to run 'perf', and got the message:
   /usr/bin/perf: line 24: exec: perf_3.2: not found
  E: linux-tools-3.2 is not installed

I tried to install linux-tools with:
  sudo apt-get install linux-tools

It fails with the error message:
  dpkg: error processing /var/cache/apt/archives/linux-tools-common_3.2.0-24.37_all.deb (--unpack):
    trying to overwrite '/usr/bin/perf', which is also in package linux-base 3.4

It looks like linux-base provides a wrapper, which is not overwritten by the real 'perf'
in linux-tools? I'm just guessing.

Thanks,

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: linux-tools-common (not installed)
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: tbird 1958 F.... pulseaudio
 /dev/snd/controlC0: tbird 1958 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfaff8000 irq 47'
   Mixer name : 'Realtek ALC1200'
   Components : 'HDA:10ec0888,102802b7,00100101'
   Controls : 43
   Simple ctrls : 20
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfbffc000 irq 48'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100100'
   Controls : 6
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Thu May 3 15:20:32 2012
DpkgTerminalLog:
 Unpacking libdw1 (from .../libdw1_0.152-1ubuntu3_amd64.deb) ...
 Unpacking linux-tools-common (from .../linux-tools-common_3.2.0-24.37_all.deb) ...
 dpkg: error processing /var/cache/apt/archives/linux-tools-common_3.2.0-24.37_all.deb (--unpack):
  trying to overwrite '/usr/bin/perf', which is also in package linux-base 3.4
DuplicateSignature:
 Unpacking linux-tools-common (from .../linux-tools-common_3.2.0-24.37_all.deb) ...
 dpkg: error processing /var/cache/apt/archives/linux-tools-common_3.2.0-24.37_all.deb (--unpack):
  trying to overwrite '/usr/bin/perf', which is also in package linux-base 3.4
ErrorMessage: trying to overwrite '/usr/bin/perf', which is also in package linux-base 3.4
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120413)
IwConfig:
 lo no wireless extensions.

 eth1 no wireless extensions.

 eth0 no wireless extensions.
MachineType: DELL Inc. Studio XPS 435T/9000
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic root=UUID=5a7c34f1-8eb4-4441-b64b-8f107608d437 ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions: grub-pc 1.99-21ubuntu3
RfKill:

SourcePackage: linux
Title: package linux-tools-common (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/perf', which is also in package linux-base 3.4
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/28/2009
dmi.bios.vendor: DELL INC.
dmi.bios.version: A14
dmi.board.name: 0X501H
dmi.board.vendor: DELL Inc.
dmi.board.version: A02
dmi.chassis.type: 3
dmi.chassis.vendor: DELL Inc.
dmi.modalias: dmi:bvnDELLINC.:bvrA14:bd07/28/2009:svnDELLInc.:pnStudioXPS435T/9000:pvr00:rvnDELLInc.:rn0X501H:rvrA02:cvnDELLInc.:ct3:cvr:
dmi.product.name: Studio XPS 435T/9000
dmi.product.version: 00
dmi.sys.vendor: DELL Inc.

Revision history for this message
Tim Bird (tim-bird) wrote :
Brad Figg (brad-figg)
affects: linux-meta (Ubuntu) → linux (Ubuntu)
tags: removed: need-duplicate-check
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.