From 0ee813124d55ef4bdd472e8c72e48455815dc792 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sun, 14 May 2023 10:12:20 +0000 Subject: [PATCH] feat: disable deb package installation without meeting dependencies --- kernel/kernel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kernel.go b/kernel/kernel.go index e645892..e8bd520 100644 --- a/kernel/kernel.go +++ b/kernel/kernel.go @@ -417,7 +417,7 @@ func installKernel(sk config.KernelMask, pkgname string, force, headers bool) (e for _, pkg := range pkgs { cmd += fmt.Sprintf(" && wget --no-check-certificate %s", pkg.Deb.URL) - cmd += fmt.Sprintf(" && dpkg --force-all -i %s", + cmd += fmt.Sprintf(" && dpkg -i %s", pkg.Deb.Name) cmd += fmt.Sprintf(" && rm %s", pkg.Deb.Name)