File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939echo " Installing PostgreSQL $VERSION packages..."
4040
4141# Install common packages first, then version-specific packages
42- # Using dpkg with --force-depends to handle dependency ordering,
43- # then we'll verify everything is correctly installed
44- dpkg -i " $PACKAGE_CACHE /common" /* .deb " $PACKAGE_CACHE /$VERSION " /* .deb
42+ # Using apt-get to handle dependency resolution for any additional
43+ # packages placed in the cache by init scripts.
44+ # Note: The AMI build removes /var/lib/apt/lists/*, so init scripts
45+ # that add extension debs with transitive dependencies must run
46+ # apt-get update before this script is called.
47+ apt-get install -y " $PACKAGE_CACHE /common" /* .deb " $PACKAGE_CACHE /$VERSION " /* .deb
4548
4649echo " PostgreSQL $VERSION packages installed successfully."
You can’t perform that action at this time.
0 commit comments