LoginSignup
0
0

More than 5 years have passed since last update.

[oVirt] CentOS 7で動くoVirtを4.1.6から4.2へアップグレード

Posted at

CentOS 7で動いているoVirt 4.1.6を4.2へアップグレードしました。

https://www.ovirt.org/release/4.2.0/#centos--rhel にある手順に従えばいいはずですが、パッケージの依存性でつまずきました。

つまずいたこと

# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm
# yum update "ovirt-*-setup*"
  .
  .
  .
--> Running transaction check                
---> Package python-linecache2.noarch 0:1.0.0-1.el7 will be installed                     
--> Processing Conflict: ovirt-engine-setup-plugin-ovirt-engine-4.2.0.2-1.el7.centos.noarch conflicts ovirt-engine < 4.1.7                                                          
--> Finished Dependency Resolution           
Error: ovirt-engine-setup-plugin-ovirt-engine conflicts with ovirt-engine-4.1.6.2-1.el7.centos.noarch                                                                               
 You could try using --skip-broken to work around the problem                             
 You could try running: rpm -Va --nofiles --nodigest  

ovirt-engine-setup-plugin-ovirt-engine conflicts with ovirt-engine-4.1.6.2-1.el7.centos.noarch と言われてしまいました。

解決策

先にoVirt 4.1.6を4.1.8へアップグレードする必要がありました。

# rm /etc/yum.repos.d/ovirt-4.2*
# yum update "ovirt-*-setup*"
# engine-setup

oVirt 4.2のレポジトリを消してから、4.1.8へアップグレードしました。

リトライ

# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm
# yum update "ovirt-*-setup*"
# engine-setup

これでできました。

0
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
0
0