作者:U友50096631 | 来源:互联网 | 2023-06-13 06:57
使用ubuntu命令sudoapt-getinstallphp-dev安装swoole会显示报错,使用sudoapt-getupdatephp-dev也显示报错,上网找了半天都找不
使用ubuntu命令sudo apt-get install php-dev安装swoole会显示报错,使用sudo apt-get update php-dev也显示报错,上网找了半天都找不到解决方案,最后上stackoverflow里面搜了一下,发现很简单:
先执行以下命令:
sudo apt-get clean
sudo apt-get update
然后再:sudo apt-get install php-dev就会显示可以安装了
链接https://stackoverflow.com/questions/38743951/unable-to-fetch-some-archives-maybe-run-apt-get-update-or-try-with-fix-missin
php