1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

dnf system-upgrade download が失敗するときのお話

Posted at

結論

sudo dnf system-upgrade download --releasever=xx(リリースの数字) --allowerasing --skip-broken

で、何が?

skip-brokenallowerasingがないと大体上手くいかないよ、というお話。

skip-broken

これは依存関係が壊れている(?)ときにオプションを足すように促される。促されたら入れたらいいけど別に最初から入れてもいい気はする。

allowerasing(最重要)

ここでつまづきました。何がってfedoraのリリースでは古い機能が切り捨てられる(サポートされなくなる)のは日常茶飯事なのでallowerasingが要るんですわ。しかもこれはエラーメッセージで教えてくれない(常識なの?)ので気づかない。
実はこのことは公式docsに書いてたりはする。
ちなみにまあこのコマンド走らせる前に

sudo dnf update --refresh --allowerasing

するときも同様ね。

雑談

Fedora34リリース今日されましたね。日付変わってる?うるせぇ俺はUTCで生きてるんだ

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?