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

Bug #1455014 reported by Josh Hill on 2015-05-14
108
This bug affects 17 people
Affects Status Importance Assigned to Milestone
linux-lts-vivid (Ubuntu)
Undecided
Unassigned
linux-lts-wily (Ubuntu)
Undecided
Unassigned

Bug Description

Tried installing package, but it failed:
E: /var/cache/apt/archives/linux-lts-vivid-tools-common_3.19.0-17.17~14.04.1_all.deb: trying to overwrite '/usr/bin/perf', which is also in package linux-tools-common 3.13.0-52.86

Description: Ubuntu 14.04.2 LTS
Release: 14.04

2:44:57 josh@josh-ThinkPad-T430 ~ apt-cache policy linux-lts-vivid-tools-common
linux-lts-vivid-tools-common:
  Installed: (none)
  Candidate: 3.19.0-17.17~14.04.1
  Version table:
     3.19.0-17.17~14.04.1 0
        400 http://us.archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages
        400 http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu/ trusty/main amd64 Packages

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: linux-lts-vivid-tools-common (not installed)
ProcVersionSignature: Ubuntu 3.16.0-37.51~14.04.1-generic 3.16.7-ckt9
Uname: Linux 3.16.0-37-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.10
Architecture: amd64
Date: Thu May 14 02:41:56 2015
DuplicateSignature: package:linux-lts-vivid-tools-common:(not installed):trying to overwrite '/usr/bin/perf', which is also in package linux-tools-common 3.13.0-52.86
ErrorMessage: trying to overwrite '/usr/bin/perf', which is also in package linux-tools-common 3.13.0-52.86
InstallationDate: Installed on 2012-07-18 (1030 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: linux-lts-vivid
Title: package linux-lts-vivid-tools-common (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/perf', which is also in package linux-tools-common 3.13.0-52.86
UpgradeStatus: Upgraded to trusty on 2014-05-03 (375 days ago)

Josh Hill (ingenium) wrote :
tags: removed: need-duplicate-check
Launchpad Janitor (janitor) wrote :

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

Changed in linux-lts-vivid (Ubuntu):
status: New → Confirmed
Anupam Patel (patel-anupam02) wrote :

I tried installing tlp , through ppa, then I got through this error

linrunner (linrunner) wrote :

@Anupam: there were indeed to many dependencies in the tlp package (linux_tools *and* linux-tools-common). I removed the latter in package version 0.7-2~trusty

@All: nevertheless the fact remains: linux-tools-common 3.13 and linux-lts-vivid-tools-common 3.19 refuse to coexist. This is not the expected behaviour for HWE kernel packages imho.

Daniel Serpell (daniel-serpell) wrote :

Problem is, linux-lts-vivid-tools-3.19.0-22 should depend on linux-lts-vivid-tools-common, not in linux-tools-common.

Thomas Mayer (thomas303) wrote :

@daniel-serpell I fully agree. This should also made available for HES wily.

Execution of

sudo apt-get install --install-recommends linux-generic-lts-wily

proposes to install linux-lts-wily-tools, but this package is not available in the repo and the additional package is not installed accordingly.

Plus, linux-lts-wily-tools-common is not yet available (note that this would be the equivalent to linux-lts-wily-tools-common).

linux-lts-wily-tools-4.2.0-27 only depends on linux-tools-common (which might or might not be ok).

But I'm missing a package linux-lts-wily-tools or linux-lts-wily-tools-common (which could provide linux-lts-wily-tools via replacement) or both of them.

And I'm missing a dependency to linux-lts-wily-tools-4.2.0-x so that linux-lts-wily-tools can automatically be updated where needed.

For vivid, linux-lts-vivid-tools-common replaces linux-lts-vivid-tools according to package meta data. But linux-lts-vivid-tools-common should contain a dependency to the current package linux-lts-vivid-tools-3.19.0-x.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers