[Spacewalk-list] Error Upgrading from 1.6 -> 1.7

Wojtak, Greg (Superfly) GregWojtak at quickenloans.com
Fri Oct 12 16:50:53 UTC 2012


I got an error doing an upgrade from 1.6 to 1.7 today.  The error occurred doing the schema update.  From the log, I get:

                                 ?column?
---------------------------------------------------------------------------
 spacewalk-schema-1.6-to-spacewalk-schema-1.7/007-rhnPackageGroup-trim.sql
(1 row)

UPDATE 41615
psql:/var/log/spacewalk/schema-upgrade/20121012-123027-script.sql:445: ERROR:  update or delete on table "rhnpackagegroup" violates foreign key constraint "rhn_pkgsrc_group_fk" on table "rhnpackagesource"
DETAIL:  Key (id)=(22) is still referenced from table "rhnpackagesource".

Any help is greatly appreciated!

Greg Wojtak
Sr. Unix Systems Engineer
Office: (313) 373-4306
Cell: (734) 718-8472





More information about the Spacewalk-list mailing list