在给Debian添加软件源后,使用apt-get install 来安装软件时,提示错误:
Readingpackage lists... Error!
在查看错误之后,发现是以前的软件源生成的列表文件残留在/var/lib/apt/lists
需要先清空这个目录:
# rm/var/lib/apt/lists/* -vf
然后:
#apt-get update
这样就可以使用apt-get了。
转载于:https://blog.51cto.com/shenghao/1341667
在给Debian添加软件源后,使用apt-get install 来安装软件时,提示错误:
Readingpackage lists... Error!
在查看错误之后,发现是以前的软件源生成的列表文件残留在/var/lib/apt/lists
需要先清空这个目录:
# rm/var/lib/apt/lists/* -vf
然后:
#apt-get update
这样就可以使用apt-get了。
转载于:https://blog.51cto.com/shenghao/1341667