Add WA for libsodium18 package
* See more information in [0]
* For some reason, apt going to be crazy
if found identical pkgs in different repos
apt-cache policy libsodium18
libsodium18:
Installed: 1.0.8-5
Candidate: 1.0.8-5
Version table:
*** 1.0.8-5 500
500 http://mirror.mirantis.com/proposed/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
1.0.8-5 500
500 http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial/main amd64 Packages
So, lets pin it from the began
Closes-Bug: PROD-22326 (PROD:22326)
Related-Bug: PROD-21604 (PROD:21604)
[0] https://github.com/saltstack/salt/issues/49653
Change-Id: I13d4d45f0228328fac8cc2ed4f0cfae3ca63cefe
diff --git a/linux/system/repo/mcp/apt_mirantis/saltstack.yml b/linux/system/repo/mcp/apt_mirantis/saltstack.yml
index 22b3bb8..5ba85c0 100644
--- a/linux/system/repo/mcp/apt_mirantis/saltstack.yml
+++ b/linux/system/repo/mcp/apt_mirantis/saltstack.yml
@@ -13,7 +13,16 @@
source: "deb [arch=amd64] ${_param:linux_system_repo_mcp_saltstack_url}/${_param:linux_system_codename}/ ${_param:linux_system_codename} main"
architectures: amd64
clean_file: true
- pin:
- - pin: 'release o=SaltStack'
- priority: 1100
- package: '*'
+ pinning:
+ 10:
+ enabled: true
+ pin: 'release o=SaltStack'
+ # WA for https://github.com/saltstack/salt/issues/49653
+ # Should be removed with new version\fix in upstream.
+ priority: 50
+ package: 'libsodium18'
+ 20:
+ enabled: true
+ pin: 'release o=SaltStack'
+ priority: 1100
+ package: '*'