[lxc-devel] [distrobuilder/master] managers: update apt flags

monstermunchkin on Github lxc-bot at linuxcontainers.org
Thu Feb 15 18:06:54 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 363 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180215/0d64834b/attachment.bin>
-------------- next part --------------
From a1ba76774f4a7caa6441877efd0afccd0c3f4843 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Thu, 15 Feb 2018 19:05:22 +0100
Subject: [PATCH] managers: update apt flags

Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
 managers/apt.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/managers/apt.go b/managers/apt.go
index 45be276..8d63beb 100644
--- a/managers/apt.go
+++ b/managers/apt.go
@@ -12,7 +12,7 @@ func NewApt() *Manager {
 				"-y",
 			},
 			install: []string{
-				"install", "--no-install-recommends",
+				"install",
 			},
 			remove: []string{
 				"remove", "--auto-remove",
@@ -21,7 +21,7 @@ func NewApt() *Manager {
 				"update",
 			},
 			update: []string{
-				"upgrade",
+				"dist-upgrade",
 			},
 		},
 	}


More information about the lxc-devel mailing list