heroku / heroku-buildpack-apt

Buildpack that installs APT based dependencies
246 stars 333 forks source link

Location of installed packages undocumented #130

Open NathanZookCH opened 2 months ago

NathanZookCH commented 2 months ago

I recently had an issue that required me to not only install packages via this buildpack, but execute the installed files directly. It turns out that the buildpack does not install files in the usual directory, which resulted in an additional round of tests, failures, and back-and-forth messages.

Please document the location of files installed via the buildpack.

colincasey commented 2 months ago

@NathanZookCH what was the path of the binary you needed to execute?

NathanZookCH commented 2 months ago

Thanks for your responses!

it seems to me that Heroku's part of the solution would be to include the pg client & server dev packages for all supported versions in the stack

We agree - I'm going to track this internally too so that we can look into that.

Getting back to the package installation issues you're seeing now, it is expected that apt doesn't list those directly. You should be able to find the binary directly within /app/.apt/usr/lib/postgresql/15/bin/pg_dump - the libraries installed by the buildpack will be in the /app/.apt directory.

I did not pursue the issue beyond this point.