从 Trusty 到 Xenial 的更新可通过软件更新程序正式获得。更新所有软件包后,通过软件更新程序进行升级会产生:
Fetching the upgrade failed. There may be a network problem.
做一个sudo do-release-upgrade
产量:
Checking for a new Ubuntu release
Err Upgrade tool signature
403 Sorry, not allowed to fetch that type of file: xenial.tar.gz.gpg
Err Upgrade tool
403 Sorry, not allowed to fetch that type of file: xenial.tar.gz
Fetched 0 B in 0s (0 B/s)
WARNING:root:file 'xenial.tar.gz.gpg' missing
Failed to fetch
Fetching the upgrade failed. There may be a network problem.
尝试禁用apt-cacher服务并注释您可能在 中配置的任何内容
/etc/apt/apt.conf.d/90-apt-proxy.conf
,然后再次运行 do-release-upgrade (ofc,首先更新并再次升级)。具体来说,如果不使用,您可能需要 /remove/apt-cacher。
然后再次使用 do-release-upgrade。