VirtualBox on centos localinstallでupdate
[root@cent5-64b-40 tmp]# yum localinstall VirtualBox-4.1-4.1.6_74727_rhel5-1.x86_64.rpm Loaded plugins: fastestmirror Setting up Local Package Process Examining VirtualBox-4.1-4.1.6_74727_rhel5-1.x86_64.rpm: VirtualBox-4.1-4.1.6_74727_rhel5-1.x86_64 Marking VirtualBox-4.1-4.1.6_74727_rhel5-1.x86_64.rpm as an update to VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64 Loading mirror speeds from cached hostfile * base: www.ftp.ne.jp * epel: ftp.jaist.ac.jp * extras: ftp.jaist.ac.jp * rpmforge: fr2.rpmfind.net * updates: ftp.jaist.ac.jp Resolving Dependencies --> Running transaction check ---> Package VirtualBox-4.1.x86_64 0:4.1.6_74727_rhel5-1 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: VirtualBox-4.1 x86_64 4.1.6_74727_rhel5-1 /VirtualBox-4.1-4.1.6_74727_rhel5-1.x86_64 131 M Transaction Summary ================================================================================ Install 0 Package(s) Upgrade 1 Package(s) Total size: 131 M Is this ok [y/N]: y Downloading Packages: 警告: rpmts_HdrFromFdno: ヘッダ V4 DSA signature: NOKEY, key ID 98ab5139 Public key for VirtualBox-4.1-4.1.6_74727_rhel5-1.x86_64.rpm is not installed [root@cent5-64b-40 tmp]#
ありゃ、おこられたよ
gpgkeyがないんだと。
[root@cent5-64b-40 tmp]# yum localinstall VirtualBox4.1-4.1.6_74727_rhel5-1.x86_64.rpm --nogpgcheck Loaded plugins: fastestmirror Setting up Local Package Process Examining VirtualBox-4.1-4.1.6_74727_rhel5-1.x86_64.rpm: VirtualBox-4.1-4.1.6_74727_rhel5-1.x86_64 Marking VirtualBox-4.1-4.1.6_74727_rhel5-1.x86_64.rpm as an update to VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64 Loading mirror speeds from cached hostfile * base: www.ftp.ne.jp * epel: ftp.jaist.ac.jp * extras: ftp.jaist.ac.jp * rpmforge: fr2.rpmfind.net * updates: ftp.jaist.ac.jp Resolving Dependencies --> Running transaction check ---> Package VirtualBox-4.1.x86_64 0:4.1.6_74727_rhel5-1 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: VirtualBox-4.1 x86_64 4.1.6_74727_rhel5-1 /VirtualBox-4.1-4.1.6_74727_rhel5-1.x86_64 131 M Transaction Summary ================================================================================ Install 0 Package(s) Upgrade 1 Package(s) Total size: 131 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Updating : VirtualBox-4.1 1/2 Creating group 'vboxusers'. VM users must be member of that group! No precompiled module for this kernel found -- trying to build one. Messages emitted during module compilation will be logged to /var/log/vbox-install.log. Stopping VirtualBox kernel modules [ OK ] Uninstalling old VirtualBox DKMS kernel modules [ OK ] Trying to register the VirtualBox kernel modules using DKMS [失敗] (Failed, trying without DKMS) Recompiling VirtualBox kernel modules [ OK ] Starting VirtualBox kernel modules [ OK ] Cleanup : VirtualBox-4.1 2/2 Updated: VirtualBox-4.1.x86_64 0:4.1.6_74727_rhel5-1 Complete! [root@cent5-64b-40 tmp]# rpm -aq | grep Virt VirtualBox-4.1-4.1.6_74727_rhel5-1 [root@cent5-64b-40 tmp]#
うまくいったかね?