Closed giovtorres closed 7 years ago
@aliusmiles did you happen to run into this issue when refactoring as part of #891?
@retr0h I didn't, and I think I was running Fedora 25 image at the time, since Fedora 26 was released only on Jul 11.
I've run some quick tests, and fedora 26 fails on yum makecache fast
as well, since yum command appears to run dnf instead. Will do more testing tomorrow.
@aliusmiles ok cool, let me know your findings so we can correct this.
molecule version: 1.23.1
molecule file:
Error when creating image:
https://github.com/metacloud/molecule/blob/535db906520a9a526a46d2fef74f1bd458bbcabd/molecule/cookiecutter/scenario/driver/docker/%7B%7Bcookiecutter.molecule_directory%7D%7D/%7B%7Bcookiecutter.scenario_name%7D%7D/Dockerfile.j2#L8
I'm not sure
dnf makecache fast
ever worked and was always equivalent todnf makecache
. I couldn't find any reference tofast
in the dnf codebase. Thefast
subcommand works in yum withyum makecache fast
on EL6 and EL7 and also didn't fail with dnf 1.1 in Fedora 25 when automatically converted todnf makecache fast
withdnf2yum
, but now fails in Fedora 26 (dnf 2.5) as an invalid option.Thanks, Giovanni
I would suggest removing the
fast
subcommand whendnf
is used.