apt-get install E: 无法定位软件包问题

系统:Ubuntu 18.04

问题:E: 无法定位软件包 libssl-dev

修改/etc/apt/sources.list,添加镜像源

1. vim /etc/apt/sources.list,添加

deb http://archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse

然后:

  1. sudo apt-get update

要是上边不好使用换新源,下边为阿里云的url:

https://developer.aliyun.com/mirror/?spm=a2c6h.13651104.0.d1002.4f9e467cUic5RT

参考来源:https://www.wuwenhui.cn/4671.html

posted @ 2021-10-27 15:34  一颗吃不完的糖  阅读(2429)  评论(0编辑  收藏  举报