1
1

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 5 years have passed since last update.

Alpine Linux を 3.5 から 3.6 へアップグレード

Last updated at Posted at 2017-06-04

Alpine Linux を 3.5 から 3.6 へアップグレードした記録

Alpine Linux を使い始めて、初めてアップグレードを行いました。
アップグレード用のコマンドなどは特になく、基本的に apk コマンドを用いるようです。
Wiki にある手順通りで問題ありませんでした。

$ sudo setup-apkrepos

"e" を選択すると vi が起動し、/etc/apk/repositories を編集することになります
3.5 -> 3.6 なので
http://dl-cdn.alpinelinux.org/alpine/v3.5/main
を
http://dl-cdn.alpinelinux.org/alpine/v3.6/main
にしました

$ sudo apk update
$ sudo apk upgrade --update-cache --available
$ sudo sync   # 本当に必要でしょうか
$ sudo reboot

$ uname -a
Linux XX 4.9.30-0-virthardened #1-Alpine SMP Wed May 31 10:53:15 GMT 2017 x86_64 Linux
$ cat /etc/alpine-release
3.6.1
1
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?