报错
Cannot refresh cache whilst offline
解决
可能是网络渲染器(render)有问题,需要修改/etc/netplan/00-installer-config.yaml文件,
在network组最后添加
renderer: NetworkManager
如
# This is the network config written by 'subiquity'
network:
ethernets:
enp3s0:
dhcp4: true
version: 2
renderer: NetworkManager
然后应用
sudo netplan apply