我正在从jessie升级到stretch,我知道我必须替换为,jessie
但是那些在 我下面有这些来源的呢:stretch
sources.list
sources.list.d/
sources.list.d/
mysql.list
:
deb http://repo.mysql.com/apt/debian/ jessie mysql-apt-config
deb http://repo.mysql.com/apt/debian/ jessie mysql-5.6
deb http://repo.mysql.com/apt/debian/ jessie mysql-tools
deb-src http://repo.mysql.com/apt/debian/ jessie mysql-5.6
nodesource.list
:
deb https://deb.nodesource.com/node_10.x jessie main
deb-src https://deb.nodesource.com/node_10.x jessie main
php.list
(由于某种原因,这已经处于紧张状态):
deb https://packages.sury.org/php/ stretch main
答案1
是的,升级到 debian 后stretch
,您需要通过将jessie
代号替换为stretch
under来编辑第 3 方存储库/etc/apt/sources.list.d/
。
sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list.d/{nodesource,mysql}.list
然后运行:
sudo apt update
sudo apt upgrade