Muehlenhoff has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/367645 )
Change subject: Clean up stray binary packages after Debian updates
......................................................................
Clean up stray binary packages after Debian updates
We now have a few hosts which have been dist-upgraded from jessie, e.g.
dbstore2002. The upgrade leaves some stray library and interpreter packages
around. Remove those for the following reasons:
- These are no longer covered by security updates, e.g. ruby2.1 could
still be used by local scripts although there's no security updates
for it in stretch (only for ruby2.3), same for programs dlopen()ing
a shared library
- debdeploy stumbles over these, since it uses strict versioning
to install updates: For example the binary package libdns-export100
is still registered with src:bind9 in the dpkg database, but there's
no longer a new version when updating to a new release in
stretch. There's code in debdeploy to address this, but it's better
to address the root cause and remove the packages.
Change-Id: Ib11869b50c4baadcc2a4ad7fb52bfba5872f06fa
---
M modules/base/manifests/standard_packages.pp
1 file changed, 21 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/45/367645/1
diff --git a/modules/base/manifests/standard_packages.pp
b/modules/base/manifests/standard_packages.pp
index 6ccc17c..3dc3296 100644
--- a/modules/base/manifests/standard_packages.pp
+++ b/modules/base/manifests/standard_packages.pp
@@ -90,4 +90,25 @@
debconf::seen { 'wireshark-common/install-setuid':
require => Package['tshark'],
}
+
+ # An upgrade from jessie to stretch leaves some old binary
+ # packages around, remove those
+ if os_version('debian == stretch') {
+ package { [
+ 'libdns-export100',
+ 'libirs-export91',
+ 'libisc-export95',
+ 'libisccfg-export90',
+ 'liblwres90',
+ 'libgnutls-deb0-28',
+ 'libhogweed2',
+ 'libicu52',
+ 'libjasper1',
+ 'libnettle4',
+ 'libruby2.1',
+ 'ruby2.1',
+ ]:
+ ensure => absent,
+ }
+ }
}
--
To view, visit https://gerrit.wikimedia.org/r/367645
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib11869b50c4baadcc2a4ad7fb52bfba5872f06fa
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Muehlenhoff <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits