<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 28, 2016 at 11:03 AM, 转圈圈 <span dir="ltr"><<a href="mailto:313922611@qq.com" target="_blank">313922611@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>When installed,there are two versions being downloaded.</div><div><span style="color:rgb(85,85,85);font-family:"segoe ui",tahoma,helvetica,sans-serif;font-size:13px;line-height:normal"></span></div><div><span style="color:rgb(85,85,85);font-family:"segoe ui",tahoma,helvetica,sans-serif;font-size:13px;line-height:normal"></span></div><div><br></div><div><img src="cid:2D06F907@AE71740C.6287EB57" style="width: 693px; min-height: 429px;"></div><div><br></div><div><br></div></div></blockquote><div><br></div><div>You can install versionlock with:</div><div>yum install yum-versionlock<br></div><div><br></div><div>Then please add what you need to keep at 4.0.2.6 under</div><div>/etc/yum/pluginconf.d/versionlock.list<br></div><div><br></div><div>Something like:</div><div><div>ovirt-engine-4.0.2.6-1.el7.centos.noarch</div><div>ovirt-engine-restapi-4.0.2.6-1.el7.centos.noarch</div><div>ovirt-engine-dbscripts-4.0.2.6-1.el7.centos.noarch</div><div>ovirt-engine-tools-backup-4.0.2.6-1.el7.centos.noarch</div></div><div>...</div><div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div></div><div><br></div><div><br></div><div></div></div><div><div><br></div><div><br></div><div style="font-size:12px;font-family:"arial narrow";padding:2px 0px">------------------ 原始邮件 ------<wbr>------------</div><div style="font-size:12px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:rgb(239,239,239);padding:8px"><div><b>发件人:</b> "Simone Tiraboschi";<<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.<wbr>com</a>>;</div><div><b>发送时间:</b> 2016年9月28日(星期三) 下午3:13</div><div><b>收件人:</b> "转圈圈"<<a href="mailto:313922611@qq.com" target="_blank">313922611@qq.com</a>>; "users"<<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>>; </div><div></div><div><b>主题:</b> Re: [ovirt-devel] yum install ovirt-engine-4.0.2.6 , loginthe'Administration Portal', the version is '4.0.4.4', That's why?</div></div><div><div class="gmail-h5"><div><br></div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 28, 2016 at 4:08 AM, 转圈圈 <span dir="ltr"><<a href="mailto:313922611@qq.com" target="_blank">313922611@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span>In version </span><span style="line-height:1.5">ovirt-engine-4.0.2.6,</span><span>W<wbr>e did some custom development.</span><span>So we have to choose 4.0.2.6,</span><span>I want to install 4.2.6, do you have a good way to do it.</span></div><div><span></span></div><div><div><br></div></div></blockquote><div><br></div><div>You can use yum versionlock with a wildcard on ovirt-*.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div></div><div><br></div><div style="font-size:12px;font-family:"arial narrow";padding:2px 0px">------------------ 原始邮件 ------<wbr>------------</div><div style="font-size:12px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:rgb(239,239,239);padding:8px"><div><b>发件人:</b> "Simone Tiraboschi";<<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.c<wbr>om</a>>;</div><div><b>发送时间:</b> 2016年9月27日(星期二) 晚上11:22</div><div><b>收件人:</b> "转圈圈"<<a href="mailto:313922611@qq.com" target="_blank">313922611@qq.com</a>>; </div><div><b>抄送:</b> "Users"<<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>>; "Devel"<<a href="mailto:devel@ovirt.org" target="_blank">devel@ovirt.org</a>>; "engine-devel-owner"<<a href="mailto:engine-devel-owner@ovirt.org" target="_blank">engine-de<wbr>vel-owner@ovirt.org</a>>; </div><div><b>主题:</b> Re: [ovirt-devel] yum install ovirt-engine-4.0.2.6 , login the'Administration Portal', the version is '4.0.4.4', That's why?</div></div><div><div><div><br></div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 27, 2016 at 2:56 PM, 转圈圈 <span dir="ltr"><<a href="mailto:313922611@qq.com" target="_blank">313922611@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:23.8px"><div style="line-height:23.8px"><span><div style="line-height:23.8px"><span style="line-height:23.8px">The Installation steps:</span></div><div style="line-height:23.8px"># yum -y update</div><div style="line-height:23.8px"><span style="font-family:微软雅黑">#yum install </span><a href="http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm" style="outline:none;color:rgb(30,84,148);font-family:微软雅黑" target="_blank">http://plain.resources<wbr>.ovirt.org/pub/yum-repo/ovirt-<wbr>release40.rpm</a></div><div style="line-height:23.8px"><span style="font-family:微软雅黑">#</span> yum -y install ovirt-engine-4.0.2.6</div></span></div></div></blockquote><div><br></div><div>ohh, sorry, I was thinking that you were with oVirt 4.0.2 and you want to run engine-setup without being asked to upgrade to 4.0.4.</div><div><br></div><div>oVirt is composed by multiple packages and 4.0.4 and 4.0.2 are in same repo so it's not enough to simply query for ovirt-engine-4.0.2.6 since you are going to get anything else from 4.0.4 because 4.0.4 > 4.0.2.</div><div>Probably the cleanest option is to use versionlock which also supports wildcards on packet selection.</div><div>But can I ask again why you explicitly need 4.0.2 instead of 4.0.4 since 4.0.4 is just supposed to fix issues? what is bothering you with 4.0.4? maybe it's a regression.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:23.8px"><div style="line-height:23.8px"><span><div style="line-height:23.8px">#engine-setup --offline</div><div style="line-height:23.8px">Installed finshed,but login the 'Administration Portal',the version is '4.0.4.4',That's why?</div></span></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:23.8px"><div style="line-height:23.8px"><div style="line-height:23.8px">I don't want to use the latest version.</div><div style="line-height:23.8px"><span style="line-height:23.8px">thanks !</span></div><div style="line-height:23.8px"><img src="cid:73757856@AE71740C.6287EB57" style="border: none; vertical-align: middle; width: 693px; min-height: 341px;"></div></div></div><br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/devel</a><br></blockquote></div><br></div></div></div></div></div></blockquote></div><br></div></div></div></div></div></blockquote></div><br></div></div>