I just created a database (8.1.6) on Win2K using the custom option with Advanced Replication. After the database was created I noticed many errors like:
Warning: Package Body altered with compilation errors.

I queried all INVALID objects in the database with:
SQL> select object_type,count(*) from dba_objects where status = 'INVALID' group by object_type;
-> object_type count(*)
package body 59
SQL> select object_name from dba_objects where status = 'INVALID';
->
DBMSOBJG
DBMSOBJG2
DBMSOBJGWRAPPER
DBMS_AQADM
DBMS_AQADM_SYS
DBMS_AQ_IMPORT_INTERNAL
DBMS_AQ_SYS_EXP_INTERNAL
DBMS_AQ_SYS_IMP_INTERNAL
DBMS_DEFER
DBMS_DEFERGEN
DBMS_DEFERGEN_AUDIT
DBMS_DEFERGEN_INTERNAL
DBMS_DEFERGEN_PRIORITY
DBMS_DEFERGEN_RESOLUTION
DBMS_DEFER_IMPORT_INTERNA
DBMS_DEFER_INTERNAL_SYS
DBMS_DEFER_QUERY
DBMS_DEFER_QUERY_UTL
DBMS_DEFER_REPCAT
DBMS_DEFER_SYS
DBMS_DEFER_SYS_PART1
DBMS_INTERNAL_REPCAT
DBMS_MAINT_GEN
DBMS_OFFLINE_OG
DBMS_OFFLINE_RGT
DBMS_OFFLINE_SNAPSHOT
DBMS_PRVTAQIM
DBMS_PRVTAQIP
DBMS_PRVTAQIS
DBMS_PSP
DBMS_REFRESH_EXP_LWM
DBMS_REPCAT
DBMS_REPCAT_ADMIN
DBMS_REPCAT_CONF
DBMS_REPCAT_FLA
DBMS_REPCAT_FLA_MAS
DBMS_REPCAT_FLA_UTL
DBMS_REPCAT_INTERNAL
DBMS_REPCAT_MAS
DBMS_REPCAT_MIG_INTERNAL
DBMS_REPCAT_RGT
DBMS_REPCAT_RGT_ALT
DBMS_REPCAT_RGT_CHK
DBMS_REPCAT_RGT_CUST
DBMS_REPCAT_RGT_CUST2
DBMS_REPCAT_RGT_EXP
DBMS_REPCAT_RGT_UTL
DBMS_REPCAT_RPC
DBMS_REPCAT_RPC_UTL
DBMS_REPCAT_SNA_UTL
DBMS_REPCAT_UTL
DBMS_REPCAT_UTL2
DBMS_REPCAT_UTL3
DBMS_REPCAT_UTL4
DBMS_REPCAT_VALIDATE
DBMS_REPUTIL
DBMS_REPUTIL2
UTL_TCP

When trying to recompile these package bodies I'm getting the same error:
SQL> alter package DBMSOBJG compile package body;
Warning: Package Body altered with compilation errors.
The errors I got from trying to compile through DBA Studio are:
Line # = 2987 Column # = 4 Error Text = PL/SQL: SQL Statement ignored
Line # = 2989 Column # = 9 Error Text = PLS-00201: identifier 'DBA_REPGROUP_PRIVILEGES' must be declared


Compiling UTL_TCP worked however:
SQL> alter package UTL_TCP compile body;
Package body altered.

Can someone provide some info on why these packages are not compiling properly (compiling with errors)?. Did the part of the install fail miserably? Thanks