Ubuntu Pastebin

Paste from kwm at Tue, 26 Jul 2016 19:37:14 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# 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
Download as text