[wpkg-users] "Database Inconsistency: Package with ID x does not exist..." But it Does Exist

Paul McGrath J.P.McGrath at leeds.ac.uk
Mon Nov 27 15:04:29 CET 2017


Hi,


You’ve named it ‘    <package id="ClaroReadSE7.2.38" but it is referenced in the error as ‘claroreadse7’

Lose the .2.38 from the package id in both the package and profile xml


From: wpkg-users [mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf Of James Arnold
Sent: 27 November 2017 13:59
To: wpkg-users at lists.wpkg.org
Subject: Re: [wpkg-users] "Database Inconsistency: Package with ID x does not exist..." But it Does Exist

Thanks Ulli and Paul!

Okay, I've changed those fields above, still not getting it installed though.

Yes it's in the correct position/OU and defined in profiles.xml

Same message in client's AppLog: Database inconsistency: Package with ID 'claroreadse7' does not exist within the package database or the local settings file. Please contact your system administrator!

Cheers both again,

J

On 27 November 2017 at 13:17, James Arnold <james at longhill.org.uk<mailto:james at longhill.org.uk>> wrote:
Hello everyone,

First off, to whoever's reading, thanks loads for the work on wpkg! Just getting to grips with a system I've inherited at the moment and I've hit a snag. Please be gentle!

Okay, client deploys all historic packages except for the new one I've just done. That's "claroreadse7.xml" below:

<?xml version="1.0" encoding="UTF-8"?>

<packages>

    <package
id="ClaroReadSE7.2.38"
        name="ClaroReadSE7.2.38"
        revision="1"
        reboot="false"
        priority="10">

<check type="file" condition="exists" path="C:\Program Files (x86)\Claro Software\ClaroRead SE\ClaroUp.exe" />

        <!-- <install cmd="%SOFTWARE%\ClaroReadSE7\claro.bat" /> -->
<install cmd='msiexec.exe /qn /i "%SOFTWARE%\ClaroReadSE7\01\ClaroReadSE-7.2.38-auth\ClaroReadSE-engb-7.2.38-auth-X.msi" LICENCEKEY=xxxx-xxxx-xxxx-xxxx-xxxx /passive /norestart' />
<install cmd='msiexec.exe /qn /i "%SOFTWARE%\ClaroReadSE7\01\ClaroReadSE-7.2.38-auth\VA25-BritishEnglish-Serena.msi" /passive /norestart' />
<!-- <upgrade cmd="%SOFTWARE%\ClaroReadSE7\claro.bat > c:\clarobatupgrade.log" /> -->

<remove cmd='msiexec.exe /qn /x "%SOFTWARE%\ClaroReadSE7\01\ClaroReadSE-7.2.38-auth\ClaroReadSE-engb-7.2.38-auth-X.msi" /passive /norestart' />
<exit code="0"/>
<exit code="2"/>
</remove>

    </package>

This doesn't install on my test client, which (in AppLog) complains of "Database inconsistency: Package with ID 'claroreadse7' does not exist within the package database or the local settings file. Please contact your system administrator!"

But there is 100% certainly a "claroreadse7.xml" in the packages folder with the rest of the packages, with the same rights as all the other .xml files in there.

Anyone see what I'm doing wrong? Thanks for any and all help! :)

</packages>



--
James Arnold - Network Manager
Longhill High School
Falmer Road
Rottingdean
East Sussex
BN2 7FR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20171127/54adcba9/attachment-0001.html>


More information about the wpkg-users mailing list