package libaio-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/include/libaio.h', which is also in package libaio 0.3.104-1

Bug #857759 reported by coss_cat
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libaio (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Mainly I tried to set up Oracle DB on my computer just to get familiar with it, and sudently the error that the package cannot be installed.

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: libaio-dev (not installed)
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Fri Sep 23 23:43:41 2011
ErrorMessage: trying to overwrite '/usr/include/libaio.h', which is also in package libaio 0.3.104-1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: libaio
Title: package libaio-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/include/libaio.h', which is also in package libaio 0.3.104-1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
coss_cat (coss-cat) wrote :
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi coss_cat, thanks for taking the time to file a bug report and help us make Ubuntu better.

I think you may have some erroneous packages from some other source on your system, as that version of libaio isn't in any supported release of Ubuntu. This snippet shows the very old version:

Unpacking libaio-dev (from .../libaio-dev_0.3.107-7ubuntu2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libaio-dev_0.3.107-7ubuntu2_i386.deb (--unpack):
 trying to overwrite '/usr/include/libaio.h', which is also in package libaio 0.3.104-1

That release of libaio, 0.3.104-1, was superseded in July of 2005.

You should be able to correct the problem by removing that package (apt-get remove libaio).

Closing bug as Invalid.

Changed in libaio (Ubuntu):
status: New → Invalid
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.