Browse Source

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

tags/v1.3.0
dump_stack() 7 months ago
parent
commit
cf79a9f94f
Signed by: Mikhail Klementev <blame@dumpstack.io> GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      kernel.go

+ 1
- 1
kernel.go View File

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

Loading…
Cancel
Save