Results 1 to 3 of 3

Thread: zypper install

  1. #1
    Join Date
    Jul 2010
    Location
    Lyon in France
    Posts
    15

    Default 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.

  2. #2
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,235

    Default Re: zypper install

    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.


  3. #3
    Join Date
    Jan 2012
    Location
    BC
    Posts
    178

    Default Re: zypper install

    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:
    Code:
    # download.max_silent_tries = 5
    to
    Code:
    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.
    Code:
    zypper -vvv in package1 package2 package3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •