Page 1 of 1

Pre Upgrade Assistant fails to generate a results.html

Posted: 2016/10/19 21:59:35
by ghost1981
While running the Pre Upgrade Assistant the following errors occur, searching all over has not yielded anything of use yet.

This occurs immediately after the assessment has completed.

----------------------------------------

I/O warning : failed to load external entity "/usr/share/openscap/xsl/security-guide.xsl"
compilation error: file /usr/share/preupgrade/xsl/preup.xsl line 40 element import
xsl:import : unable to load /usr/share/openscap/xsl/security-guide.xsl
I/O warning : failed to load external entity "/usr/share/openscap/xsl/oval-report.xsl"
compilation error: file /usr/share/preupgrade/xsl/preup.xsl line 41 element import
xsl:import : unable to load /usr/share/openscap/xsl/oval-report.xsl
I/O warning : failed to load external entity "/usr/share/openscap/xsl/sce-report.xsl"
compilation error: file /usr/share/preupgrade/xsl/preup.xsl line 42 element import
xsl:import : unable to load /usr/share/openscap/xsl/sce-report.xsl
OpenSCAP Error:: Could not parse XSLT file '/usr/share/preupgrade/xsl/preup.xsl' [oscapxml.c:416]
Unable to open file /root/preupgrade/result.html
Usage: preupg [options]

preupg: error: [Errno 2] No such file or directory: '/root/preupgrade/result.html'

--------------------------------------------------

Any information on this would be appreciated.

Re: Pre Upgrade Assistant fails to generate a results.html

Posted: 2016/10/19 22:42:14
by TrevorH
The tool is pretty much abandoned for CentOS due to lack of volunteers to make it work. There top paragraph on https://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool pretty much sums it up.

Re: Pre Upgrade Assistant fails to generate a results.html

Posted: 2016/10/25 15:18:58
by jino
Erase the existing version of openscap (I had openscap 1.2) and install openscap-1.0.8-1.0.1 from http://dev.centos.org/centos/6/upg and redo the upgrade.

Code: Select all

yum erase openscap
yum install http://dev.centos.org/centos/6/upg/x86_64/Packages/openscap-1.0.8-1.0.1.el6.centos.x86_64.rpm
yum install redhat-upgrade-tool preupgrade-assistant-contents

Re: Pre Upgrade Assistant fails to generate a results.html

Posted: 2016/10/25 15:33:09
by TrevorH
Though that will not fix the broken tool which reliably results in dead systems post-upgrade. The tool is marked as BROKEN for a reason - it reliably breaks the systems on which it is used. Do not use it.