What version of OpenACS are you using? As of OpenACS 4.6.3 the package manager resolves dependencies automatically so this shouldn't be a problem - the basic .LRN install process depends on this to work, too, so I think something else is going on.
What version of Postgres are you using?