[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 14:26:48 CET 2017


Hi James
  Have you defined the packages in the profile xmls?

I’ve a profile xml called software.xml and have all my packages listed explicitly in there:



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

<profiles>

    <profile id="limm4dV11shortcuts">
           <package package-id="4dV11shortcuts" />
    </profile>

   <profile id="4dV11_8">
           <package package-id="4dV11_8" />
    </profile>

    <profile id="remove4dV11">
          <package package-id="remove4dV11" />
    </profile>
    <profile id="limm4d">
          <package package-id="4d" />
    </profile>

    <profile id="4dV12">
          <package package-id="4dV12" />
    </profile>

    <profile id="4d">
        <package package-id="4d" />
    </profile>

    <profile id="7500pcr">
            <package package-id="7500pcr" />
    </profile>
    <profile id="syllabusplus">
                <package package-id="syllabusplus"/>
     </profile>

    <profile id="syncback">
                <package package-id="syncback"/>
     </profile>

    <profile id="tableau">
        <package package-id="tableau" />
    </profile>

                <profile id="timelapseanalyser">
        <package package-id="timelapseanalyser" />
    </profile>

    <profile id="tipp10">
        <package package-id="tipp10" />
    </profile>

    <profile id="toxwiz">
        <package package-id="toxwiz" />
    </profile>

    <profile id="tracedrawer">
        <package package-id="tracedrawer" />
    </profile>

/profiles>



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

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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20171127/425ecae5/attachment-0001.html>


More information about the wpkg-users mailing list