package linux-tools-common not installed failed to install/upgrade: trying to overwrite /usr/share/man/man1/perf.1.gz , which is also in package linux-base 3.4ubuntu2

Bug #1013799 reported by Kirill Afonshin on 2012-06-15
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned

Bug Description

Seems, it is a dependencies problem.
Reproduction steps:
#perf
The program 'perf' can be found in the following packages:
 * linux-tools-common
 * linux-base
Try: sudo apt-get install <selected package>
#sudo apt-get install linux-base linux-tools-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  menu-xdg python-gnome2 ekiga libopal3.10.2 python-pyorbit gnome-backgrounds libunique-1.0-0 gnome-search-tool libgdict-common gtali python-numpy glchess
  hamster-applet gnome-games cheese gdebi gnobots2 gnome-icon-theme-extras cli-common libcheese-gtk21 lightsoff libcheese3 libmagick++4 python-uniconvertor
  libgdict-1.0-6 libcapi20-3 python-lxml liblapack3gf gnibbles gnuchess-book unixodbc libpt2.10.2 browser-plugin-gnash libgtkspell0 psensor-common
  gnash-common swell-foop fonts-cantarell gdm gnotski gir1.2-gucharmap-2.90 cheese-common sound-juicer hddtemp iagno glines libblas3gf gnome-dictionary
  gedit-plugins liferea gnash gnome-core gnotravex gnect quadrapassel libgfortran3 liblaunchpad-integration1 libmusicbrainz4-3 liferea-data python-wnck
  gnuchess libodbc1 perlmagick inkscape gnote dconf-tools libgdiplus gnome-video-effects
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  linux-base linux-tools-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 103 kB of archives.
After this operation, 325 kB of additional disk space will be used.
Get:1 http://ru.archive.ubuntu.com/ubuntu/ precise-updates/universe linux-base all 3.4ubuntu2 [34,1 kB]
Get:2 http://ru.archive.ubuntu.com/ubuntu/ precise-updates/main linux-tools-common all 3.2.0-25.40 [69,3 kB]
Fetched 103 kB in 0s (206 kB/s)
Preconfiguring packages ...
Selecting previously unselected package linux-base.
(Reading database ... 326509 files and directories currently installed.)
Unpacking linux-base (from .../linux-base_3.4ubuntu2_all.deb) ...
Selecting previously unselected package linux-tools-common.
Unpacking linux-tools-common (from .../linux-tools-common_3.2.0-25.40_all.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-tools-common_3.2.0-25.40_all.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/perf.1.gz', which is also in package linux-base 3.4ubuntu2
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/linux-tools-common_3.2.0-25.40_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: linux-tools-common (not installed)
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 2.0.1-0ubuntu9
AptOrdering:
 linux-base: Install
 linux-tools-common: Install
 linux-base: Configure
 linux-tools-common: Configure
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: kirill 1971 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc500000 irq 47'
   Mixer name : 'SigmaTel STAC9872AK'
   Components : 'HDA:83847662,104d1e00,00100201 HDA:14f12c06,104d1700,00100000'
   Controls : 13
   Simple ctrls : 7
Date: Fri Jun 15 22:21:20 2012
DpkgTerminalLog:
 Unpacking linux-base (from .../linux-base_3.4ubuntu2_all.deb) ...
 Selecting previously unselected package linux-tools-common.
 Unpacking linux-tools-common (from .../linux-tools-common_3.2.0-25.40_all.deb) ...
 dpkg: error processing /var/cache/apt/archives/linux-tools-common_3.2.0-25.40_all.deb (--unpack):
  trying to overwrite '/usr/share/man/man1/perf.1.gz', which is also in package linux-base 3.4ubuntu2
DuplicateSignature:
 Unpacking linux-tools-common (from .../linux-tools-common_3.2.0-25.40_all.deb) ...
 dpkg: error processing /var/cache/apt/archives/linux-tools-common_3.2.0-25.40_all.deb (--unpack):
  trying to overwrite '/usr/share/man/man1/perf.1.gz', which is also in package linux-base 3.4ubuntu2
ErrorMessage: trying to overwrite '/usr/share/man/man1/perf.1.gz', which is also in package linux-base 3.4ubuntu2
HibernationDevice: RESUME=UUID=d0b6f38d-9ddf-4063-aa0c-26adaa179342
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MachineType: Sony Corporation VGN-SZ640N
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-25-generic root=UUID=ba9fdc65-30da-467c-8956-3011828875bf 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.1
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: yes
SourcePackage: linux
Title: package linux-tools-common (not installed) failed to install/upgrade: trying to overwrite '/usr/share/man/man1/perf.1.gz', which is also in package linux-base 3.4ubuntu2
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/04/2008
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: R0122S5
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrR0122S5:bd04/04/2008:svnSonyCorporation:pnVGN-SZ640N:pvrR5402753:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: VGN-SZ640N
dmi.product.version: R5402753
dmi.sys.vendor: Sony Corporation

Kirill Afonshin (pmvd) wrote :
Brad Figg (brad-figg) on 2012-06-15
Changed in linux (Ubuntu):
status: New → Confirmed

Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #1008713, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers