Forum OpenACS Q&A: Error during installation of OpenACS from the HEAD!

I get the folowing error during the installation of OpenACS from the HEAD:
...

[26/Jun/2003:16:34:57][1661.24580][-conn0-] Notice: Starting instantiation and mounting of core packages
[26/Jun/2003:16:34:57][1661.24580][-conn0-] Notice: Mounting acs-lang
[26/Jun/2003:16:34:58][1661.8192][-main-] Notice: tclinit: re-initalizing tcl
[26/Jun/2003:16:34:58][1661.8192][-main-] Notice: tcl: generating interp init script
[26/Jun/2003:16:34:58][1661.24580][-conn0-] Error: Ns_PgExec: result status: 7 message: ERROR:  apm_packages_package_key_fk referential integrity violation - key referenced from apm_packages not found in apm_package_types

[26/Jun/2003:16:34:58][1661.24580][-conn0-] Error: Error sourcing /home/admin/web/dotlrn-dev/packages/acs-bootstrap-installer/installer/packages-install.tcl:
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")    while executing
"ns_pg_bind 0or1row nsdb0 {

      select apm_package__new(
        :package_id,
        :instance_name,
        :package_key,
        'apm_package',
 ..."
    ("uplevel" body line 1)
    invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql"
    ("postgresql" arm line 2)
    invoked from within
"switch $driverkey {
                oracle {
                    return [uplevel $ulevel [list ns_ora $type $db $sql] $args]
                }
       ..."
    invoked from within
"db_exec 0or1row $db $full_statement_name $sql"
    invoked from within
"if {[regexp -nocase -- {^\s*select} $test_sql match]} {
                ns_log Debug "PLPGSQL: bypassed anon function"
                set selection [..."
    ("uplevel" body line 6)
    invoked from within
"uplevel 1 $code_block "
    invoked from within
"db_with_handle -dbn $dbn db {
            # plsql calls that are simple selects bypass the plpgsql
            # mechanism for creating anonymous fun..."
    (procedure "db_exec_plsql" line 57)
    invoked from within
"db_exec_plsql invoke_new {}"
    (procedure "apm_package_instance_new" line 13)
    invoked from within
"apm_package_instance_new -package_id $package_id  -package_key $package_key  -instance_name $package_name  -context_id $context_id"
    (procedure "site_node::instantiate_and_mount" line 22)
    invoked from within
"site_node::instantiate_and_mount -package_key acs-lang  -package_name "Internationalization""
    (procedure "apm_mount_core_packages" line 6)
    invoked from within
"apm_mount_core_packages"
    invoked from within
"if { ![ad_acs_admin_node] } {
    ns_write "  

  • Completing Install sequence by mounting the main site and other core packages.

    blockquot..." (file "/home/admin/web/dotlrn-dev/packages/acs-bootstrap-installer/installer/packages-install.tcl" line 44) invoked from within "source $__file "


  • Can anyone help me.
    Thanks.