Trying to get an export to work, but it tells me that the package body DBMS_METADATA has errors. The package DBMS_METADATA exists and is valid, but the DBMS_METADATA package body did not exist. I tried to create it from the package, but it will not validate and gives me a PLS-00103 error when I try.

Does anyone know where in a script I can find the line that created this package and body in the first place? Catmeta.sql perhaps? That looks only to be creating the views though.