Re-import packages in Oracle I'm aware of options to re-import data to tables using table_exists_action and can give options like skip,append or replace for the data.

But is there an option to re-import packages (re-create) into the database if they are already existing without throwing up an error like

" Package PKG_1 already exists"


I basically have packages which have some changes in them and re-import to another environment where there packages are already existing.
According to https://community.oracle.com/thread/959980 and https://community.oracle.com/thread/838380 the only way to do this is to use the SQLFILE parameter to impdp to create a script. Then replace CREATE PACKAGE with CREATE OR REPLACE PACKAGE and then execute the script.