#
# Default xenial; prefers archive version of zk
#
ubuntu@ip-172-31-16-206:~$ apt-cache policy zookeeper
zookeeper:
Installed: (none)
Candidate: 3.4.8-1
Version table:
3.4.8-1 500
500 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
3.4.6-1 9
500 http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/ubuntu/trusty/x86_64 bigtop/contrib amd64 Packages
#
# Add preferences file to bump priority from bigtop domain (> 500 should work)
#
ubuntu@ip-172-31-16-206:~$ cat /etc/apt/preferences.d/bigtop-999
Package: *
Pin: origin "bigtop-repos.s3.amazonaws.com"
Pin-Priority: 999
#
# After sudo apt-get update, check the new policy for zk; candidate is now bigtop's zk
#
ubuntu@ip-172-31-16-206:~$ apt-cache policy zookeeper
zookeeper:
Installed: (none)
Candidate: 3.4.6-1
Version table:
3.4.8-1 500
500 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
3.4.6-1 999
999 http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/ubuntu/trusty/x86_64 bigtop/contrib amd64 Packages