zoukankan      html  css  js  c++  java
  • sudo apt install libreadline-dev Reading package lists... Error!

    luo@luo-ThinkPad-W540:~$ 

    luo@luo-ThinkPad-W540:~$ 

    luo@luo-ThinkPad-W540:~$ 

    luo@luo-ThinkPad-W540:~$ sudo apt install libreadline-dev
    Reading package lists... Error!
    E: Encountered a section with no Package: header
    E: Problem with MergeList /var/lib/apt/lists/ppa.launchpad.net_fcitx-team_nightly_ubuntu_dists_xenial_main_binary-amd64_Packages
    E: The package lists or status file could not be parsed or opened.

    luo@luo-ThinkPad-W540:~$ 

    luo@luo-ThinkPad-W540:~$ 

    luo@luo-ThinkPad-W540:~$ 

    ------------------------------------------------

    sudo rm /var/lib/apt/lists/* -vf

    sudo apt-get update

    ------------------------------------------------

    luo@luo-ThinkPad-W540:~$
    luo@luo-ThinkPad-W540:~$
    luo@luo-ThinkPad-W540:~$ sudo apt-get install libreadline-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following package was automatically installed and is no longer required:
    libllvm4.0
    Use 'sudo apt autoremove' to remove it.
    The following additional packages will be installed:
    libreadline6-dev libtinfo-dev
    Suggested packages:
    readline-doc
    The following NEW packages will be installed:
    libreadline-dev libreadline6-dev libtinfo-dev
    0 upgraded, 3 newly installed, 0 to remove and 135 not upgraded.
    Need to get 202 kB of archives.
    After this operation, 1,094 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://cn.archive.ubuntu.com/ubuntu xenial/main amd64 libtinfo-dev amd64 6.0+20160213-1ubuntu1 [77.4 kB]
    Get:2 http://cn.archive.ubuntu.com/ubuntu xenial/main amd64 libreadline6-dev amd64 6.3-8ubuntu2 [124 kB]
    Get:3 http://cn.archive.ubuntu.com/ubuntu xenial/main amd64 libreadline-dev amd64 6.3-8ubuntu2 [992 B]
    Fetched 202 kB in 2s (80.5 kB/s)
    Selecting previously unselected package libtinfo-dev:amd64.
    (Reading database ... 245923 files and directories currently installed.)
    Preparing to unpack .../libtinfo-dev_6.0+20160213-1ubuntu1_amd64.deb ...
    Unpacking libtinfo-dev:amd64 (6.0+20160213-1ubuntu1) ...
    Selecting previously unselected package libreadline6-dev:amd64.
    Preparing to unpack .../libreadline6-dev_6.3-8ubuntu2_amd64.deb ...
    Unpacking libreadline6-dev:amd64 (6.3-8ubuntu2) ...
    Selecting previously unselected package libreadline-dev:amd64.
    Preparing to unpack .../libreadline-dev_6.3-8ubuntu2_amd64.deb ...
    Unpacking libreadline-dev:amd64 (6.3-8ubuntu2) ...
    Processing triggers for install-info (6.1.0.dfsg.1-5) ...
    Setting up libtinfo-dev:amd64 (6.0+20160213-1ubuntu1) ...
    Setting up libreadline6-dev:amd64 (6.3-8ubuntu2) ...
    Setting up libreadline-dev:amd64 (6.3-8ubuntu2) ...
    luo@luo-ThinkPad-W540:~$

    luo@luo-ThinkPad-W540:~$

    luo@luo-ThinkPad-W540:~$

  • 相关阅读:
    ant 软件包不存在报错
    在 Internet Explorer 中使用 Windows 窗体控件
    智能客户端
    Back to the Future with Smart Clients
    "Automation 服务器不能创建对象" 的解决方案
    Top 10 Reasons for Developers to Create Smart Clients
    Updater Application Block for .NET
    Smart Client Application Model and the .NET Framework 1.1
    Security and Versioning Models in the Windows Forms Engine Help You Create and Deploy Smart Clients
    智能客户端技术总结(二)
  • 原文地址:https://www.cnblogs.com/herd/p/9629115.html
Copyright © 2011-2022 走看看