Download RPMs for all dependencies for package using yum

前端 未结 2 981
隐瞒了意图╮
隐瞒了意图╮ 2021-01-13 11:54

I\'m attempting to create a local yum repo on my system containing various packages from, chiefly, the CentOS base repos. The server which is hosting the yum repo will not

2条回答
  •  萌比男神i
    2021-01-13 12:45

    There's this bash script, which the maintainer of rpm has kindly shared with me, and I put on github. Hope you find it useful!

    You can also read the original SO question, where the issue was discussed.

    The script works on Fedora 23+ as it uses dnf's download plugin. It's probably very easy to make it work on Fedora 22-, as yum surely has got a similar plugin.

    Additionaly, it's valuable since repotrack does not work on fedora 23 (at least it doesn't work for me).

提交回复
热议问题