ubuntu apt-get install xxx时一直报错E: Unable to locate package xxxxxxx

$ sudo add-apt-repository main
$ sudo add-apt-repository universe
$ sudo add-apt-repository restricted
$ sudo add-apt-repository multiverse

sudo apt-get update

最后再apt-get install xxxx

成功!

猜你喜欢

转载自www.cnblogs.com/wang666/p/10044510.html