2014-03-12 78 views
0

我試圖像這樣安裝libjpeg-turbo8-dev。無法在Ubuntu上安裝libjpeg-turbo8-dev

[email protected]:~$ sudo apt-get install libjpeg-turbo8-dev 
[sudo] password for feng: 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
The following packages were automatically installed and are no longer required: 
    kde-l10n-engb libasn1-8-heimdal:i386 libasound2:i386 libasyncns0:i386 
    libaudio2:i386 libavahi-client3:i386 libavahi-common-data:i386 

    {***many packages***} 

    libxml2:i386 libxmu6:i386 libxrender1:i386 libxt6:i386  
    libxxf86vm1:i386 mysql-common openjdk-7-jre-lib 
Use 'apt-get autoremove' to remove them. 
The following NEW packages will be installed: 
    libjpeg-turbo8-dev 
0 upgraded, 1 newly installed, 0 to remove and 39 not upgraded. 
1 not fully installed or removed. 
Need to get 0 B/420 kB of archives. 
After this operation, 1 219 kB of additional disk space will be used. 
(Reading database ... 261347 files and directories currently installed.) 
Unpacking libjpeg-turbo8-dev:amd64 (from .../libjpeg-turbo8-dev_1.3.0-0ubuntu1.1_amd64.deb) ... 
dpkg: error processing /var/cache/apt/archives/libjpeg-turbo8-dev_1.3.0-0ubuntu1.1_amd64.deb (--unpack): 
trying to overwrite '/usr/include/jmorecfg.h', which is also in package libjpeg-turbo-devel 1.3.0-3 
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) 
Errors were encountered while processing: 
/var/cache/apt/archives/libjpeg-turbo8-dev_1.3.0-0ubuntu1.1_amd64.deb 
E: Sub-process /usr/bin/dpkg returned an error code (1) 

我的Ubuntu 13.10 我想安裝的libjpeg-turbo8-dev的,因爲我想安裝的MySQL服務器和MySQL客戶端。 Thet取決於這個包。

[email protected]:~$ sudo apt-get install mysql-server mysql-client 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
You might want to run 'apt-get -f install' to correct these: 
The following packages have unmet dependencies: 
libjpeg8-dev : Depends: libjpeg-turbo8-dev (>= 1.1.90+svn722-1ubuntu6) but it is not going to be installed 
mysql-client : Depends: mysql-client-5.5 but it is not going to be installed 
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed 
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 

回答

0

你可以嘗試什麼是安裝新立得軟件包管理器:

sudo apt-get install synaptic 

Here是誰的人與Java運行時也有類似的問題。也許這可以幫助你,如果突觸不。

,否則我不知道,如果你真的需要開發包...

+0

我試了一下,但沒有的libjpeg-turbo8,我可以安裝並指出在我的Ubuntu – fengyl

+0

@fengyl你不能沒有安裝突觸的libjpeg-turbo8?然後,你的Ubuntu有些東西壞了。試試askubuntu,他們更有可能幫助你! – Theolodis

+0

謝謝@Theolodis – fengyl