feat: disable deb package installation without meeting dependencies
This commit is contained in:
parent
f7f8a27dfa
commit
0ee813124d
@ -417,7 +417,7 @@ func installKernel(sk config.KernelMask, pkgname string, force, headers bool) (e
|
|||||||
for _, pkg := range pkgs {
|
for _, pkg := range pkgs {
|
||||||
cmd += fmt.Sprintf(" && wget --no-check-certificate %s",
|
cmd += fmt.Sprintf(" && wget --no-check-certificate %s",
|
||||||
pkg.Deb.URL)
|
pkg.Deb.URL)
|
||||||
cmd += fmt.Sprintf(" && dpkg --force-all -i %s",
|
cmd += fmt.Sprintf(" && dpkg -i %s",
|
||||||
pkg.Deb.Name)
|
pkg.Deb.Name)
|
||||||
cmd += fmt.Sprintf(" && rm %s",
|
cmd += fmt.Sprintf(" && rm %s",
|
||||||
pkg.Deb.Name)
|
pkg.Deb.Name)
|
||||||
|
Loading…
Reference in New Issue
Block a user