2012/5/21 George Shuklin <george.shuk...@gmail.com>:

>> 5) YUM update does not work:
>>
>> # yum check-update
>> Loaded plugins: fastestmirror
>> Determining fastest mirrors
>> Could not retrieve mirrorlist
>> http://updates.vmd.citrix.com/XCP/1.4.90/domain0/mirrorlist error was
>> [Errno 14] HTTP Error 404: Not Found
>> Error: Cannot find a valid baseurl for repo: citrix
>
> This is ...em... the way Cirtix separate XenServer from XCP: no updates for
> XCP at all. And note that yum update with CentOS repos enabled can make your
> XCP broken (especially lvm2 package you shall never update from upstream).


To avoid updating XCP-specific RPMs from the CentOS repositories:

rpm -qa --queryformat "%{NAME}\t%{VENDOR}\n" | grep -v CentOS


and add all these XCP's packages into

/etc/yum.conf

...
exclude=lvm2
exclude=..
exclude...
e.t.c.


rpm -qa --queryformat "%{NAME}\t%{VENDOR}\n" | grep -v CentOS | awk
'{split($0,array,"\t");print "exclude="array[1]"*"}'


--
-=AV=-

_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to