diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs
index 14664a8adabb6dc58bcbf59535bb7c231123a751..f126ef556685758afabf9d8123e7742a679cb484 100644
--- a/utils/ghc-pkg/Main.hs
+++ b/utils/ghc-pkg/Main.hs
@@ -801,7 +801,10 @@ registerPackage input verbosity my_flags auto_ghci_libs expand_env_vars update f
                | p <- packages db_to_operate_on,
                  sourcePackageId p == sourcePackageId pkg ]
   --
-  changeDB verbosity (removes ++ [AddPackage pkg]) db_to_operate_on
+  -- In 7.2, we always trust packages when they're installed
+  let pkg' = pkg { trusted = True }
+
+  changeDB verbosity (removes ++ [AddPackage pkg']) db_to_operate_on
 
 parsePackageInfo
         :: String