1
0
Forkuj 0

Yum in CentOS 8 does not support --show{-}duplicates with a dash

timestamps
dump_stack() 2020-05-30 12:48:24 +00:00
rodzic bfc6f11a7e
commit cf79a9f94f
Podpisane przez: dump_stack
ID klucza GPG: BE44DA8C062D87DC
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -69,7 +69,7 @@ func matchDebianHeadersPkg(container, mask string, generic bool) (
func matchCentOSDevelPkg(container, mask string, generic bool) (
pkgs []string, err error) {
cmd := "yum search kernel-devel --show-duplicates | " +
cmd := "yum search kernel-devel --showduplicates | " +
"grep '^kernel-devel' | cut -d ' ' -f 1"
output, err := dockerRun(time.Minute, container, "/tmp", cmd)
if err != nil {