I have a local repo that has some rpms in it. The repo xmls etc are up to date.
When I find an rpm I don't have, I want to be able to download it, not install it obviously, and put that rpm into the repo dir.
I see I can use zypper install --download-only <packagename>
but this seems to only work when I haven't got the package installed on my box, else it says 'already' installed. It also doesn't allow me to state the version/edition/rev of the package I want.
This is no good to me.
How can I get a rpm from my active repositories and store it to a specified location? I don't mind installing a new tool if zypper aint the way to go.