Hi carlos, yes, will do something like this. only for record: if using the command zypper download ... and NOT zypper install --download-only ... it will NOT check for conflicts. but the best solution would be to tell zypper to the download COMMAND (not the download-only option) some other options like tell him not useing the standart repo structure of the installed system by pointing him to another directory structure or something like this and have inside that directory only one repo file instead of all the repos in var/cache/zypp maybe therefore point to another zypper configuration file or changing some sytem vaiables used by zypper... but for this i have no idea how to do. was hoping one of the "heavy zypper" users here did know how.... simoN Am 20.09.2018 um 16:39 schrieb Carlos E. R.:
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.
-- www.becherer.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org