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

  • 相关阅读:
    nginx错误收集
    RDP-报表
    畅谈一二三
    基于vue项目,如何构建组织可维护前端路由结构
    Grid 布局基础常见场景
    数组中every、some、from、reduce四个很重要的api用法总结
    当代免疫学小史-第三章
    当代免疫学小史-第二章
    微信小程序swiper实现 句子控app首页滑动卡片
    微信小程序 setData的小知识
  • 原文地址:https://www.cnblogs.com/tid-think/p/10771197.html
Copyright © 2011-2022 走看看