I have a managed package and I'm trying to apply my recent dev work to the main packaging org. This work includes implementing a new architecture for all my triggers, so I needed to add about 45 new triggers to the package, completely replacing the 30 or so old ones.
For some reason, whenever I attempt to deploy my triggers to the org, they all receive the error
entity is deleted (or in some cases
Trigger name is already in use instead). This is utter nonsense however, since none of these triggers has ever existed in this org before and all of them use a new naming convention which makes them all very different from the pre-existing ones.
Interestingly, I can get successful deployment on most of the triggers if I save them to the server one at a time (which is just as painful as it sounds) but about a dozen of them still refuse to deploy, throwing one of the two errors above.