From f653ca913108cae3a460ed2e2291bbd37ac6e8ff Mon Sep 17 00:00:00 2001 From: Zsolt <2solt@users.noreply.github.com> Date: Mon, 21 May 2018 06:11:59 +0100 Subject: [PATCH] Don't check reboot-notifier package for debian containers (#642) --- scan/debian.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scan/debian.go b/scan/debian.go index 528b7d37..716aef0d 100644 --- a/scan/debian.go +++ b/scan/debian.go @@ -162,7 +162,9 @@ func (o *debian) checkDependencies() error { case config.Debian: // https://askubuntu.com/a/742844 - packNames = append(packNames, "reboot-notifier") + if !o.ServerInfo.IsContainer() { + packNames = append(packNames, "reboot-notifier") + } if config.Conf.Deep { // Debian needs aptitude to get changelogs.