X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=remote%2Fsync%2Fpackages_debian.go;h=03154ff6ed137c816d8d8d3ef2695d2ed7f0357e;hb=d109a6151f48fc9e322bacbd3cc5e4f00eade713;hp=2e330b949368f68e5cb709d2769e70a9cb8f30b2;hpb=9269fa3c94e700afc0be823f58ea473a2db8f3dc;p=safcm%2Fsafcm.git diff --git a/remote/sync/packages_debian.go b/remote/sync/packages_debian.go index 2e330b9..03154ff 100644 --- a/remote/sync/packages_debian.go +++ b/remote/sync/packages_debian.go @@ -1,6 +1,6 @@ // MsgSyncReq: install packages on the remote host (Debian) -// Copyright (C) 2021 Simon Ruderich +// Copyright (C) 2021-2023 Simon Ruderich // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -59,6 +59,8 @@ func (s *Sync) syncPackagesDebian() error { // Don't require further acknowledgment; this won't perform // dangerous actions "--assume-yes", + // Never remove any packages + "--no-remove", // Don't perform upgrades "--no-upgrade", // Nobody needs those