ubnutu :could not initialize the package inform...解决
1、前几天,在ubuntu下使用apt-get 安装程序时,发现错误,无法初始化包的信息,具体错误如下图:
解决方法:
1
sudo rm -rv /var/lib/apt/lists/
2
sudo apt-get update
2、另外还有一个问题,有时候我们要用apt-get 安装程序的时候,并不知道具体的包名,或者在源里面找不到,那么我们可以使用如下命令:
sudo apt-cache search packagename* // * 代表正则表达式
例子如下:
查看更多关于ubnutu :could not initialize the package inform...的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did21909