【问题标题】:Unable to install libjpeg-turbo8-dev on Ubuntu无法在 Ubuntu 上安装 libjpeg-turbo8-dev
【发布时间】:2014-04-17 02:22:06
【问题描述】:

我尝试像这样安装 libjpeg-turbo8-dev。

feng@HP:~$ 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-server 和mysql-client。这取决于这个包。

feng@HP:~$ 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).

【问题讨论】:

    标签: mysql ubuntu-13.10 libjpeg-turbo


    【解决方案1】:

    您可以尝试安装突触包管理器:

    sudo apt-get install synaptic
    

    Here 是在 java 运行时遇到类似问题的人。如果突触没有,也许这可以帮助你。

    否则我不确定你是否真的需要开发包...

    【讨论】:

    • 我试过了,但是没有libjpeg-turbo8,我可以在我的ubuntu上安装noteing
    • @fengyl 没有 libjpeg-turbo8 就无法安装突触?然后你的 Ubuntu 出了问题。尝试在 askubuntu 上提问,他们更有可能为您提供帮助!
    • @fengyl 他们解决了你的问题吗?如果是这样,请编辑解决方案的问题或将其作为答案发布以供进一步参考。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-15
    • 2017-12-31
    • 1970-01-01
    • 2017-03-06
    • 2015-10-31
    相关资源
    最近更新 更多