Pre Upgrade Assistant fails to generate a results.html

General support questions
Post Reply
ghost1981
Posts: 1
Joined: 2016/10/19 21:45:01

Pre Upgrade Assistant fails to generate a results.html

Post by ghost1981 » 2016/10/19 21:59:35

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.

User avatar
TrevorH
Forum Moderator
Posts: 24117
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2016/10/19 22:42:14

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.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

jino
Posts: 1
Joined: 2016/10/25 15:11:47

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

Post by jino » 2016/10/25 15:18:58

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

User avatar
TrevorH
Forum Moderator
Posts: 24117
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2016/10/25 15:33:09

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.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply