Ubuntu18.04修改了阿里源之后apt-get无法安装apache2和mysql
发表于 : 2020-02-29 19:54
The following packages have unmet dependencies:
apache2 : Depends: perl but it is not going to be installed
Depends: apache2-bin (= 2.4.29-1ubuntu4) but it is not going to be installed
Depends: perl:any
E: Unable to correct problems, you have held broken packages.
上面的是安装过程报错,起初我以为是pull的镜像出了问题,然后使用宿主机发现也是这样,前天我手动搭建lamp时还能正常安装apache2和mysql-server,今天制作dockerfile的时候就报错了,网上找其他国内源直接连接不上,使用国外的源则连接超时。今天自己瞎折腾了一下午还是没解决问题,有没有大佬知道上面的报错信息怎么解决
apache2 : Depends: perl but it is not going to be installed
Depends: apache2-bin (= 2.4.29-1ubuntu4) but it is not going to be installed
Depends: perl:any
E: Unable to correct problems, you have held broken packages.
上面的是安装过程报错,起初我以为是pull的镜像出了问题,然后使用宿主机发现也是这样,前天我手动搭建lamp时还能正常安装apache2和mysql-server,今天制作dockerfile的时候就报错了,网上找其他国内源直接连接不上,使用国外的源则连接超时。今天自己瞎折腾了一下午还是没解决问题,有没有大佬知道上面的报错信息怎么解决