Skip to content

Commit 19ee146

Browse files
author
nitishkrishna
committedMar 8, 2016
Closes-Bug: #154962 - python-kafka-python package removed from repo
This means apt-get remove fails due to Error: Unable to find package Using dpkg -P instead, to remove package as it only reports warning and moves on. Change-Id: Iad798ed49c3d9012a6b0e20b38b2fcd225de89e6
1 parent d048a0e commit 19ee146

File tree

1 file changed

+2
-2
lines changed
  • contrail/environment/modules/contrail/manifests/collector

1 file changed

+2
-2
lines changed
 

‎contrail/environment/modules/contrail/manifests/collector/install.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class contrail::collector::install {
22
exec { 'Temporarily delete contrail-analytics to upgrade python-kafka' :
3-
command => "apt-get -y --force-yes purge contrail-analytics python-kafka-python",
3+
command => "dpkg -P contrail-analytics python-kafka-python",
44
provider => shell,
55
logoutput => $contrail_logoutput,
66
before => Package['python-kafka'],
@@ -13,4 +13,4 @@
1313
ensure => latest,
1414
configfiles => "replace",
1515
}
16-
}
16+
}

0 commit comments

Comments
 (0)
Please sign in to comment.