Closed2

do-release-upgradeがコケる

ycrackycrack


motdが「Ubuntu 22.04.1出たよー」ってうるさいので、言う通りにdo-release-upgradeしたら、どういうわけかコケるマシンがいる

ycrackycrack

どうもpackageのresolve周りでコケている。

After updating your package information, the essential package
'ubuntu-minimal' could not be located. This may be because you have
no official mirrors listed in your software sources, or because of
excessive load on the mirror you are using. See /etc/apt/sources.list
for the current list of configured software sources.
In the case of an overloaded mirror, you may want to try the upgrade
again later.

言われた通りに/etc/apt/sources.list見たら、確かにミラーを弄ってあった

-deb http://jp.archive.ubuntu.com/ubuntu focal main restricted universe multiverse
+deb mirror://mirrors.ubuntu.com/mirrors.txt focal main restricted universe multiverse

focal{,-updates,backports,security}のURLをデフォルト値に戻してやると、ちゃんとupgradeできる

このスクラップは2022/08/18にクローズされました