Zypper command

Hi Guys,

I have a quick question about the Zypper command, I am running SLES11 SP3 and OpenSuse, and I want to first download the updates and then apply the updated. I had a look into the zypper command I found these commands;

d, --download-only
–download-in-advance
–download-in-heaps
–download-as-needed

All I need is to download the update the and apply the update later on. This is part of my build I will need to keep a copy of all the updates.

Which command do I have to use?

thx

shevary wrote:
[color=blue]

Hi Guys,

I have a quick question about the Zypper command, I am running SLES11
SP3 and OpenSuse, and I want to first download the updates and then
apply the updated. I had a look into the zypper command I found these
commands;

d, --download-only
–download-in-advance
–download-in-heaps
–download-as-needed

All I need is to download the update the and apply the update later
on. This is part of my build I will need to keep a copy of all the
updates.

Which command do I have to use?

thx[/color]

According to the man pages (man zypper):

-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  com-
bines 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 <mode>
Use  the  specified  download-and-install  mode. Available modes
are: only, in-advance, in-heaps, as-needed.   See  corresponding
--download-<mode> options for their description.


Kevin Boyle - Knowledge Partner
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…