Changes

Jump to: navigation, search

Centos Upgrade 4.x to 5.x

516 bytes added, 13:15, 2 June 2011
Upgrade container packages: troubleshooting
db-version will complain, so delete the conflicting database first:
<pre>
rm -fr /vz/root/$CTID/var/lib/rpm/__*
</pre>
<pre>
vzyum $CTID upgrade
</pre>
 
===Troubleshooting===
 
If you get this error:
 
<pre>
Error: Missing Dependency: python-abi = 2.3 is needed by package python-elementtree
</pre>
 
and/or
<pre>
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
Public key for libsepol-1.15.2-3.el5.i386.rpm is not installed
</pre>
 
You need to run the following before trying again:
 
<pre>
vzctl exec 113 rpm -e --justdb python-elementtree --nodeps
vzctl exec 113 rpm --import http://mirrors.kernel.org/centos/RPM-GPG-KEY-CentOS-5
</pre>
27
edits

Navigation menu