导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    ubuntu18.04 d1 dependency install failed

    MR Series
    2
    2
    1396
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • J
      Jason95599 LV 2 最后由 编辑

      Hi guys,

      I have met a issue on ubuntu 18.04.

      sudo apt-get install libc6:i386 libstdc++6:i386  lib32z1
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:
      
      The following packages have unmet dependencies:
       lib32z1 : Depends: libc6-i386 (>= 2.4) but it is not going to be installed
       libc6:i386 : Depends: libgcc1:i386 but it is not going to be installed
       libstdc++6:i386 : Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      
      

      First time to use linux system, please help give some advise.

      1 条回复 最后回复 回复 引用 分享 0
      • whycan
        whycan晕哥 LV 9 最后由 编辑

        https://stackoverflow.com/questions/43769395/trying-to-install-the-package-libstdc6i386-or-ia32-libs-in-ubuntu-16-04-1-lts

        I found a solution,hope it works for others as well
        
        visit this website -> https://repogen.simplylinux.ch/ and choose your 'country' and 'release' along with necessary 'branches' and 'updates' and go to end of the page till 'Generate list' button and click it to get your new sources.list
        
        copy the text in 'sources list' text field and open sources.list file in /etc/apt/ in local file system and open in editable mode i.e., in sudo mode to edit, replace the current data with newly copy data and save it
        
        open terminal enter these commands : sudo apt-get update sudo apt-get install lib32stdc++6
        
        you are done. Now, just check if the problem with making AVD is gone or not.
        
        Share
        Improve this answer
        Follow
        
        1 条回复 最后回复 回复 引用 分享 1
        • Moved from RISC-V(English) by  xiaowenge xiaowenge 
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策