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

Bug #1003295 reported by mrtoolate
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-base (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Precise by Ricardo Salveti

Bug Description

i installed " linux-tools-common " then i tried to install " linux-base "

i got this error masage:

Unpacking linux-base (from .../linux-base_3.4_all.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-base_3.4_all.deb (--unpack):
 trying to overwrite '/usr/bin/perf', which is also in package linux-tools-common 3.2.0-24.38
Errors were encountered while processing:
 /var/cache/apt/archives/linux-base_3.4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: linux-base (not installed)
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu7
AptOrdering:
 linux-base: Install
 linux-base: Configure
Architecture: amd64
Date: Wed May 23 11:15:23 2012
DpkgTerminalLog:
 Unpacking linux-base (from .../linux-base_3.4_all.deb) ...
 dpkg: error processing /var/cache/apt/archives/linux-base_3.4_all.deb (--unpack):
  trying to overwrite '/usr/bin/perf', which is also in package linux-tools-common 3.2.0-24.38
DuplicateSignature:
 Unpacking linux-base (from .../linux-base_3.4_all.deb) ...
 dpkg: error processing /var/cache/apt/archives/linux-base_3.4_all.deb (--unpack):
  trying to overwrite '/usr/bin/perf', which is also in package linux-tools-common 3.2.0-24.38
ErrorMessage: trying to overwrite '/usr/bin/perf', which is also in package linux-tools-common 3.2.0-24.38
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.2)
SourcePackage: linux-base
Title: package linux-base (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/perf', which is also in package linux-tools-common 3.2.0-24.38
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
mrtoolate (mrtoolate) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-base (Ubuntu):
status: New → Confirmed
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

This was fixed at Quantal with the following commit:
linux-base (3.5ubuntu1) quantal; urgency=low

  * Added quilt patch support
  * Remove /usr/bin/perf from this package as it conflicts with
    the Ubuntu kernel tools package linux-tools-common (which
    provides the real /usr/bin/perf). I can think of no reason why
    this should cause a problem. /usr/bin/perf is kernel ABI version
    specific, therefore it can only be provided by the correct
    version of linux-tools-$version-$abi.
    debian/patches/0001-remove-bin-perf.patch
    -LP: #931353

 -- Tim Gardner <email address hidden> Wed, 23 May 2012 13:35:38 -0600

Guess we'd need a similar one for Precise.

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.