[Newbies] [求助]我在将PHP从7.3升级8.0失败后,软件仓库报错
Tofloor
poster avatar
lycheezou
deepin
2022-05-14 09:50
Author

image.png

这个错误好像是某个源无法链接,这是正常的么,我怎么能消除掉这个错误。

并想知道如何将我现有的php7.3升级至8.0呢,我需要用什么命令实现呢

Reply Favorite View the author
All Replies
zijinyise
deepin
2022-05-14 17:37
#1

https://bbs.deepin.org/post/226891

Reply View the author
lycheezou
deepin
2022-05-15 01:13
#2
zijinyise

https://bbs.deepin.org/post/226891

感谢大哥,另外想问一下我那个仓库源每次报错的问题不大吧

Reply View the author
lycheezou
deepin
2022-05-15 05:51
#3

受社区大神启发,仓库源报错实质上为配置出错,删除对应的.list或者注释掉报错的那条地址即可。

我选择为删除对应的.list文件

如上图报错,我们查询到/etc/apt/sources.list.d/下有多个.list文件,根据报错名字判断为sury-php.list出错,删除他即可image.png

删除后仍有其他报错

image.png

但是我们发现之前的php源报错已消失掉,所以思路是正确的,那么接下来我们确认新报错的是在哪个文件下image.png

我们通过|grep 筛选确认在ros-latest.list下,同样删除它

image.png

然后我们会发现之前的报错被修复掉了

Reply View the author
lycheezou
deepin
2022-05-15 05:51
#4

受社区大神启发,仓库源报错实质上为配置出错,删除对应的.list或者注释掉报错的那条地址即可。

我选择为删除对应的.list文件

如上图报错,我们查询到/etc/apt/sources.list.d/下有多个.list文件,根据报错名字判断为sury-php.list出错,删除他即可image.png

删除后仍有其他报错

image.png

但是我们发现之前的php源报错已消失掉,所以思路是正确的,那么接下来我们确认新报错的是在哪个文件下image.png

我们通过|grep 筛选确认在ros-latest.list下,同样删除它

image.png

然后我们会发现之前的报错被修复掉了

Reply View the author
lycheezou
deepin
2022-05-15 05:55
#5

image.png

当前目前仍然分不清楚upgrade 和 dist-upgrade什么区别

Reply View the author