好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

ubnutu :could not initialize the package inform...

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...的详细内容...

  阅读:75次