On 20/09/2018 02.55, Simon Becherer wrote:
Hi carlos,
Ok. You first add the repo normally, then you tell zypper to only download a certain package(s) (install with download only option), which will be temporarily stored at a certain local directory. At that point you manually make a copy of that directory.
i tried: zypper install -f --download-only --dry-run --repo name-of-repo *
BUT 1) the "*" will not interpretet as it should, (in my opinion) it will try to download names found at the actual working directory 2) i think it will also not use only that repo i gave with --repo 3) if i change to:
Ideas: Get the list of rpms there, including all versions if possible, by using "zypper se" or something similar. Then script the calls to issue several zypper calls to install (--download_only, not dry run) each version. Yes, zypper will do checks on them. Maybe try --force. But do one file at a time to avoid conflicts. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas))