Use apt-archive.postgresql.org and fix dpkg dependency issues#266
Open
bergner wants to merge 2 commits intopaunin:masterfrom
Open
Use apt-archive.postgresql.org and fix dpkg dependency issues#266bergner wants to merge 2 commits intopaunin:masterfrom
bergner wants to merge 2 commits intopaunin:masterfrom
Conversation
added 2 commits
July 21, 2020 12:13
See also: paunin#260 http://apt-archive.postgresql.org/pub/repos/apt/pool/main is now used instead of http://atalia.postgresql.org/morgue when referencing old Debian packages. URI escaping of + to %2B in apt-archive urls to ensure wget download works as expected from apt-archive. Fixed dpkg dependency problems for pgpool and libpgpool0 by apt-get install-ing the following packages: postgresql-common Fixed dpkg dependency problems for barman by apt-get install-ing the following packages: python-argcomplete python-argh python-dateutil python-psycopg2 rsync Fixed dpkg dependency problem for pgpool by ensuring libmemcached11 is installed for pgpool 3.6 and 3.7, but pgpool 3.3 gets libmemcached10.
Besides building the generated files I also ran docker-compose build on
all variants, similar to this and all of them were ok.
make/make.sh
cd docker-compose
for f in *.yml
do
echo "$f"
docker-compose -f $f build > /tmp/$f.log 2>&1
egrep "dpkg.*error" /tmp/$f.log
tail -n1 /tmp/$f.log
done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Download deb packages from http://apt-archive.postgresql.org rather than http://atalia.postgresql.org, and escape "+" in such download URLs to %2B to ensure download works ok.
Follow-up problems that appear as a consequence of such a change:
All of the above dependency problems are dealt with in this suggested fix and all "docker-compose build" variants complete successfully, and without any dpkg errors.