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

上一篇:Collections.sort()的分析


下一篇:C#进阶系列——使用Advanced Installer制作IIS安装包(一:配置IIS和Web.config)