[PATCH] yumdownloader ignores broken/missing packages - fixed

Colin Walters walters at verbum.org
Thu Sep 24 22:23:21 UTC 2015


It's not just yumdownloader, `yum install` also behaves this way.  While your patch is probably fine, you're unlikely to get it into any new stable releases of yum (AFAIK).

I think your best bet is probably to implement this externally; do something like:

```
pkgs="foo bar"
yumdownloader $pkgs
for pkg in $pkgs; do
  pkgname=$(ls ${pkg}-*.rpm)
  if test -z "${pkgname}"; then
     die "Missing ${pkgname}"
  fi
done
```

or so.


More information about the Yum-devel mailing list