zoukankan      html  css  js  c++  java
  • Ubuntu14.04安装ia32-libs报错

    安装编译环境的时候报错

    sudo apt-get install  ia32-libs
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package ia32-libs is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
      lib32z1 lib32ncurses5 lib32bz2-1.0
    
    E: Package 'ia32-libs' has no installation candidate

    search https://askubuntu.com/questions/578172/cannot-install-ia32-libs-on-ubuntu-14-04-64bit

    The ia32-libs package has not been available since Ubuntu introduced multiarch. The libraries mentioned in the message, lib32z1 lib32ncurses5 lib32bz2-1.0, will fully replace any functionality needed by ia32-libs. If a package specifically depends on the library, it will have to be repackaged.

    意思就是这个库已经无效了,但是有很多个新的库完全可以替代这个库的功能

    那就换吧

    sudo apt-get install  lib32z1 lib32ncurses5 lib32bz2-1.0
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    lib32ncurses5 is already the newest version.
    lib32ncurses5 set to manually installed.
    lib32z1 is already the newest version.
    lib32z1 set to manually installed.
    The following packages were automatically installed and are no longer required:
      chromium-codecs-ffmpeg-extra libllvm3.6 libmbim-glib0 libqmi-glib0 libqpdf13
      linux-headers-4.4.0-134 linux-headers-4.4.0-134-generic
      linux-headers-4.4.0-146 linux-headers-4.4.0-146-generic
      linux-headers-generic-lts-wily linux-headers-generic-lts-xenial thermald
      usb-modeswitch usb-modeswitch-data
    Use 'apt-get autoremove' to remove them.
    The following NEW packages will be installed:
      lib32bz2-1.0
    0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
    Need to get 33.2 kB of archives.
    After this operation, 110 kB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Get:1 http://cn.archive.ubuntu.com/ubuntu/ trusty/main lib32bz2-1.0 amd64 1.0.6-5 [33.2 kB]
    Fetched 33.2 kB in 2s (13.2 kB/s)       
    Selecting previously unselected package lib32bz2-1.0.
    (Reading database ... 295031 files and directories currently installed.)
    Preparing to unpack .../lib32bz2-1.0_1.0.6-5_amd64.deb ...
    Unpacking lib32bz2-1.0 (1.0.6-5) ...
    Setting up lib32bz2-1.0 (1.0.6-5) ...
    Processing triggers for libc-bin (2.19-0ubuntu6.15) ...

    安装成功

    2019-04-25

  • 相关阅读:
    ios中文件夹文件的创建和删除
    iOS沙盒文件目录介绍
    ios中多线程GCD NSOperation NSThread 相关的操作解析
    iOS中如何使定时器NSTimer不受UIScrollView滑动所影响
    iOS如何实现语音播报及后台播放
    iOS中字符串转float类型失真的解决办法
    iOS图文混排的几种方式
    iOS程序内实现版本更新
    iOS中跑马灯效果小结
    AppDelegate
  • 原文地址:https://www.cnblogs.com/tid-think/p/10771197.html
Copyright © 2011-2022 走看看