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:~$

  • 相关阅读:
    Error 1313: RETURN is only allowed in a FUNCTION SQL Statement
    Error Code: 1318. Incorrect number of arguments for PROCEDURE student.new_procedure; expected 0, got
    Error Code: 1305. FUNCTION student.rand_string does not exist
    Error Code: 1630. FUNCTION rand.string does not exist
    初入职场少年时,谁人不犯错?——北漂18年(6)
    错误代码: 1064
    第30章 表维护
    消息系统kafka及其变种Jafka、Metamorphosis (MetaQ)
    KAFKA分布式消息系统
    FineReport的JS编辑框和URL地址栏语法简介
  • 原文地址:https://www.cnblogs.com/herd/p/9629115.html
Copyright © 2011-2022 走看看