On 19/09/2018 11.11, Simon Becherer wrote:
Hi,
i am searching the zypper manpage, but not finding / understanding it: (i do not often use zypper commandline)
is there a syntax for only download a complete repo (all rpm's) or at least one rpm?
No. To download a repo or parts of it you use a normal file downloader of your choice or preference.
-> i have a non browsable repo for closed source software (we pay for it). i like to store all rpm-files locally. to have the benefit to easily roll back if a new version is incompatible with our systems, or has a bug. (the repo only holds the newest versions.)
something like:
zypper --download-only [--dry-run] --from http://url *
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. /var/cache/zypp/packages/[Repo Alias] You can configure a repo to never delete those temporary copies, too. However, it is very easy for zypper to delete them without you knowing it is going to do so. Later you create a local repository from that copied directory. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org