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

timestamps
dump_stack() 2020-05-30 12:48:24 +00:00
padre bfc6f11a7e
commit cf79a9f94f
Firmado por: dump_stack
ID de clave GPG: BE44DA8C062D87DC
Se han modificado 1 ficheros con 1 adiciones y 1 borrados

Ver fichero

@ -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 {