Fedora 16へのアップグレード (preupgrade-cli)

fedora 2011-11-10


sudo LANG=C preupgrade-cli "Fedora 16 (Verne)"
Loaded plugins: blacklist, langpacks, whiteout
No plugin match for: rpm-warm-cache
No plugin match for: remove-with-leaves
No plugin match for: auto-update-debuginfo
No plugin match for: refresh-packagekit
Loaded plugins: langpacks, presto
preupgrade-main (mirrorlist)
  url: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-16&arch=$basearch
  now: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-16&arch=x86_64
preupgrade (mirrorlist)
  url: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/16/Fedora/$basearch/os/
  now: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/16/Fedora/x86_64/os/
preupgrade-fedora (mirrorlist)
  url: https://mirrors.fedoraproject.org/metalink?repo=fedora-16&arch=x86_64
  now: https://mirrors.fedoraproject.org/metalink?repo=fedora-16&arch=x86_64
preupgrade-updates (mirrorlist)
  url: https://mirrors.fedoraproject.org/metalink?repo=updates-released-f16&arch=x86_64
  now: https://mirrors.fedoraproject.org/metalink?repo=updates-released-f16&arch=x86_64
http://ftp.jaist.ac.jp/pub/Linux/Fedora/releases/16/Fedora/x86_64/os//.treeinfo: [Errno 14] HTTP Error 404 - Not Found : http://ftp.jaist.ac.jp/pub/Linux/Fedora/releases/16/Fedora/x86_64/os//.treeinfo
Trying other mirror.
Fetched treeinfo from http://mirrors.isu.net.sa/pub/fedora/linux/releases/16/Fedora/x86_64/os//.treeinfo
treeinfo timestamp: Thu Nov  3 12:10:12 2011
MEMORY                                                                                                                                                                                     |  883 B     00:00
vmlinuz                                                                                                                                                                                    | 3.9 MB     00:24
initrd.img                                                                                                                                                                                 | 129 MB     13:11
preupgrade-updates/group                                                                                                                                                                   | 1.9 MB     00:00
preupgrade-fedora/group_gz                                                                                                                                                                 | 431 kB     00:00
preupgrade-updates/group_gz                                                                                                                                                                | 431 kB     00:00
--> Running transaction check
---> Package abattis-cantarell-fonts.noarch 0:0.0.6-1.fc15 will be updated
---> Package abattis-cantarell-fonts.noarch 0:0.0.7-1.fc16 will be an update
---> Package acl.x86_64 0:2.2.49-11.fc15 will be updated
---> Package acl.x86_64 0:2.2.51-2.fc16 will be an update
---> Package adwaita-cursor-theme.noarch 0:3.0.2-1.fc15 will be updated
---> Package adwaita-cursor-theme.noarch 0:3.2.1-2.fc16 will be an update
---> Package alsa-tools-firmware.x86_64 0: will be updated
---> Package alsa-tools-firmware.x86_64 0: will be an update
---> Package alsa-utils.x86_64 0: will be updated
---> Package alsa-utils.x86_64 0: will be an update
---> Package apg.x86_64 0:2.3.0b-10.fc15 will be updated
---> Package apg.x86_64 0:2.3.0b-11.fc16 will be an update
---> Package apr.x86_64 0:1.4.5-1.fc15 will be updated
---> Package apr.x86_64 0:1.4.5-1.fc16 will be an update
---> Package apr-util.x86_64 0:1.3.12-1.fc15 will be updated
---> Package apr-util.x86_64 0:1.3.12-1.fc16 will be an update
---> Package at.x86_64 0:3.1.12-9.fc15 will be updated
---> Package at.x86_64 0:3.1.13-3.fc16 will be an update
---> Package atk.x86_64 0:2.0.0-1.fc15 will be updated
---> Package atk.x86_64 0:2.2.0-2.fc16 will be an update


--> Finished Dependency Resolution
Packages we need to download
ConsoleKit.x86_64                        0.4.5-1.fc15           preupgrade-fedora
ConsoleKit-libs.x86_64                   0.4.5-1.fc15           preupgrade-fedora
GConf2.x86_64                            3.2.0-1.fc16           preupgrade-fedora
NetworkManager-glib.x86_64               1:
abattis-cantarell-fonts.noarch           0.0.7-1.fc16           preupgrade-fedora
acl.x86_64                               2.2.51-2.fc16          preupgrade-fedora
adwaita-cursor-theme.noarch              3.2.1-2.fc16           preupgrade-fedora
alsa-tools-firmware.x86_64             preupgrade-fedora
alsa-utils.x86_64                      preupgrade-updates
apg.x86_64                               2.3.0b-11.fc16         preupgrade-fedora
apr.x86_64                               1.4.5-1.fc16           preupgrade-fedora
apr-util.x86_64                          1.3.12-1.fc16          preupgrade-fedora
at.x86_64                                3.1.13-3.fc16          preupgrade-fedora
atk.x86_64                               2.2.0-2.fc16           preupgrade-fedora
atkmm.x86_64                             2.22.5-1.fc16          preupgrade-fedora
attr.x86_64                              2.4.46-2.fc16          preupgrade-fedora
audit.x86_64                             2.1.3-4.fc16           preupgrade-fedora
audit-libs.x86_64                        2.1.3-4.fc16           preupgrade-fedora


yum-metadata-parser.x86_64               1.1.4-5.fc16           preupgrade-fedora
yum-presto.noarch                        0.7.1-1.fc16           preupgrade-fedora
yum-utils.noarch                         1.1.31-2.fc16          preupgrade-fedora
zlib.x86_64                              1.2.5-4.fc16           preupgrade-fedora
Total download size: 270.2MB
Download packages?
Is this ok [y/N]: y
Setting up and reading Presto delta metadata
preupgrade-updates/prestodelta                                                                                                                                                             |  64 kB     00:00
preupgrade-fedora/prestodelta                                                                                                                                                              | 791 kB     00:00
Processing delta metadata
Download delta size: 1.5 M


(526/532): yajl-1.0.12-1.fc16.x86_64.rpm                                                                                                                                                   |  28 kB     00:00
(527/532): yelp-xsl-3.2.1-1.fc16.noarch.rpm                                                                                                                                                | 278 kB     00:00
(528/532): yum-3.4.3-5.fc16.noarch.rpm                                                                                                                                                     | 1.0 MB     00:00
(529/532): yum-langpacks-0.2.4-1.fc16.noarch.rpm                                                                                                                                           |  18 kB     00:00
(530/532): yum-metadata-parser-1.1.4-5.fc16.x86_64.rpm                                                                                                                                     |  26 kB     00:00
(531/532): yum-presto-0.7.1-1.fc16.noarch.rpm                                                                                                                                              |  33 kB     00:00
(532/532): zlib-1.2.5-4.fc16.x86_64.rpm                                                                                                                                                    |  82 kB     00:00
Generating metadata for preupgrade repo
preupgrade                                                                                                                                                                                 | 3.7 kB     00:00
preupgrade/primary_db                                                                                                                                                                      | 2.3 MB     00:13
preupgrade/group                                                                                                                                                                           | 1.9 MB     00:10
Spawning worker 0 with 547 pkgs
Workers Finished
Gathering worker results

Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
Preparing system to boot into installer
DEBUG /sbin/grubby --title="Upgrade to Fedora 16 (Verne)" --remove-kernel="/boot/upgrade/vmlinuz" --add-kernel="/boot/upgrade/vmlinuz" --initrd="/boot/upgrade/initrd.img" --args="preupgrade repo=hd::/var/cache/yum/preupgrade  ks=hd:UUID=3e6914b1-5eed-4f85-8465-4eb52bcc36d6:/upgrade/ks.cfg"
Probing devices to guess BIOS drives. This may take a long time.
All finished. The upgrade will begin when you reboot.


以前にFeodra 10から12Fedora 13から14とかやってますが、ハマりどころはもうなくて、サクっとコマンド一発。

/boot 以下の容量の兼ね合いで、10から12の時には容量足らない時には問答無用で失敗、13から14の時にはその旨警告が出て、reboot後にアップグレード用のパッケージがダウンロードされるような動きでしたが、今回は容量に余裕がある / 配下にダウンロードされているよう(な動きだった)で、詰まりどころは皆無でした。

関係ないけど、Fedora 15のコードネーム "Lovelock" って何かかっこ良くて好きでした。


Shinya Tsunematsu

a Software Engineer loves tech, curry, music, fitness.

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.