zypper command

Hi Guys,

I am running the SLES 11 SP3 VMware version and I want first download the patches and then apply the patches, I was checking the zypper is ther any command to download the patches and then apply the patches.

thx

Hi shevary,

[QUOTE=shevary;15774]Hi Guys,

I am running the SLES 11 SP3 VMware version and I want first download the patches and then apply the patches, I was checking the zypper is ther any command to download the patches and then apply the patches.

thx[/QUOTE]

AFAIK, there’s no prepared tool to do so - but you can use your credentials to log in to the configured update server and download the patch files, i.e. via wget.

When you have registered against an SMT server, you won’t need to provide credentials, while the login to SUSE’s official servers will ask you for them, AFAIK.

Regards,
Jens

I think this is what you want, quoting from the ‘zypper’ manpage:

Code:

Download-and-install mode options:

-d, --download-only
Only download the packages for later installation.

–download-in-advance
First download all packages, then start installing.

–download-in-heaps
(Not yet implemented, currently the same as
–download-in-advance). Download a minimal set of packages that can be
installed without leaving the system in broken state, and install them.
Then download and install another heap until all are
installed. This helps to keep the system in consistent state without
the need to download all package in advance, which combines the advantages
of --download-in-advance and --download-as-needed. This is the default mode.

–download-as-needed
Download one package, install it immediately, and continue with the
rest until all are installed.

–download
Use the specified download-and-install mode. Available modes are:
only, in-advance, in-heaps, as-needed. See corresponding
–download- options for their description.

Good luck.

Hi ab,

-d, --download-only

something new to learn every day… thanks for pointing that out!

Regards,
Jens