zypper install

Hello,

I use on the command line “zypper in package1 package2 package3”

Is it possible ? :

  • if there is a temporary network problem, it waits for ever, asking “retry, abort, skip ?”. Is it possible it retries automatically after 30 seconds ?

  • Is shows progress during files download (1/3 , 2/3, 3/3 …), but not during the rpm installs (which can be long too). Can it show progress during install too ?

thank you for your knowledge.

On 08/28/2012 10:56 AM, dsant fr wrote:
>
> Hello,
>
> I use on the command line “zypper in package1 package2 package3”
>
> Is it possible ? :
>
> * if there is a temporary network problem, it waits for ever, asking
> “retry, abort, skip ?”. Is it possible it retries automatically after 30
> seconds ?

No. Zypper expects you to fix the problem. Use YaST if you want other behavior.

> * Is shows progress during files download (1/3 , 2/3, 3/3 …), but not
> during the rpm installs (which can be long too). Can it show progress
> during install too ?

No.

By default, zypper will only retry a download up to five times. After that, it prompts you and asks what to do (r/a/s).

You can increase the amount of retries.

Change the following lines in /etc/zypp/zypp.conf:

# download.max_silent_tries = 5

to

download.max_silent_tries = *n*

Where n is the amount of retries - 0 means unlimited.

If you want more feedback (though this might not change the feedback when the package is installing) try zypper with the -vvv flag. Each v represents a level of “verbosity”. More v’s, more info.

zypper -vvv in package1 package2 package3