2012-04-12 79 views
0

這是我得到的錯誤代碼。我使用的是薄荷的Debian版無法安裝libaio-dev

的apt-get安裝的libaio-dev的

Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
The following NEW packages will be installed: 
    libaio-dev 
0 upgraded, 1 newly installed, 0 to remove and 983 not upgraded. 
18 not fully installed or removed. 
N eed to get 0 B/25.5 kB of archives. 
After this operation, 143 kB of additional disk space will be used. 
(Reading database ... 170878 files and directories currently installed.) 
Unpacking libaio-dev (from .../libaio-dev_0.3.109-2_amd64.deb) ... 
dpkg: error processing /var/cache/apt/archives/libaio-dev_0.3.109-2_amd64.deb (--unpack): 
trying to overwrite '/usr/share/man/man2/io_getevents.2.gz', which is also in package manpages-dev 3.28-1 
configured to not write apport reports 
             Processing triggers for man-db ... 
Errors were encountered while processing: 
/var/cache/apt/archives/libaio-dev_0.3.109-2_amd64.deb 
E: Sub-process /usr/bin/dpkg returned an error code (1) 

回答

1
sudo apt-get remove manpages-dev 
sudo apt-get install libaio-dev manpages-dev