27
edits
Changes
→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>