[opensuse] Intermittent Repo Failures During Update -- What's The Cure?
Listmates, During zypper updates, I experience intermittent retrieval failures that can really cause some havoc when called from a script. For some reason, the repositories just throw an error saying a package isn't found. However, just hitting 'r' for retry causes the repo to magically find the package. The problem is when the update is called from a script, there is nobody there to hit 'r'. What's up? Is this just a bad mirror or something where hitting 'r' forces zypper to try another mirror that has the package? Sometimes it happens rather frequently: -- Downloading: ant-manual-1.7.1-4.7.noarch.rpm [done (124.9 K/s)] Installing: ant-manual-1.7.1-4.7 [done] Downloading package ecj-3.3-119.19.noarch (43/198), 1.3 M (1.3 M unpacked) Downloading: ecj-3.3-119.19.noarch.rpm [error] File './noarch/ecj-3.3-119.19.noarch.rpm' not found on medium 'http://download.opensuse.org/repositories/Java:/packages/openSUSE_11.0/' Abort, retry, ignore? [A/r/i]: r Downloading: ecj-3.3-119.19.noarch.rpm [done (111.3 K/s)] Installing: ecj-3.3-119.19 [done] Downloading package antlr-2.7.7-71.31.noarch (44/198), 328.0 K (345.0 K unpacked) Downloading: antlr-2.7.7-71.31.noarch.rpm [error] File './noarch/antlr-2.7.7-71.31.noarch.rpm' not found on medium 'http://download.opensuse.org/repositories/Java:/packages/openSUSE_11.0/' Abort, retry, ignore? [A/r/i]: r Downloading: antlr-2.7.7-71.31.noarch.rpm [done (72.5 K/s)] Installing: antlr-2.7.7-71.31 [done] Downloading package ant-javadoc-1.7.1-4.7.noarch (45/198), 1.5 M (27.2 M unpacked) Anybody else seeing this, or am I just the lucky one. cc: Peter Poeml, just to make sure you're in the loop ;-) David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Listmates,
During zypper updates, I experience intermittent retrieval failures that can really cause some havoc when called from a script. For some reason, the repositories just throw an error saying a package isn't found. However, just hitting 'r' for retry causes the repo to magically find the package. The problem is when the update is called from a script, there is nobody there to hit 'r'. What's up? Is this just a bad mirror or something where hitting 'r' forces zypper to try another mirror that has the package? Sometimes it happens rather frequently:
-- Downloading: ant-manual-1.7.1-4.7.noarch.rpm [done (124.9 K/s)] Installing: ant-manual-1.7.1-4.7 [done] Downloading package ecj-3.3-119.19.noarch (43/198), 1.3 M (1.3 M unpacked) Downloading: ecj-3.3-119.19.noarch.rpm [error] File './noarch/ecj-3.3-119.19.noarch.rpm' not found on medium 'http://download.opensuse.org/repositories/Java:/packages/openSUSE_11.0/'
Abort, retry, ignore? [A/r/i]: r
You could write an expect script to autoretry... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2009-05-06 00:10, David C. Rankin wrote:
Listmates,
During zypper updates, I experience intermittent retrieval failures that can really cause some havoc when called from a script. For some reason, the repositories just throw an error saying a package isn't found. However, just hitting 'r' for retry causes the repo to magically find the package. The problem is when the update is called from a script, there is nobody there to hit 'r'. What's up? Is this just a bad mirror or something where hitting 'r' forces zypper to try another mirror that has the package? Sometimes it happens rather frequently:
<snip>
Anybody else seeing this, or am I just the lucky one.
<snip> I have noticed interim failures for both update and OBS repositories, for the past couple of weeks. I do not use zypper, (instead I use smart package manager), so the problem seems to be with the connection or transfer. Actually, sometimes it halts in the middle of downloading a package, as if the connection is aborted. Smart uses wget: the dl speed drops to 0, then 'halted'. Kind regards Sylvester Lykkehus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, On Tue, May 05, 2009 at 05:10:03PM -0500, David C. Rankin wrote:
Listmates,
During zypper updates, I experience intermittent retrieval failures that can really cause some havoc when called from a script. For some reason, the repositories just throw an error saying a package isn't found. However, just hitting 'r' for retry causes the repo to magically find the package. The problem is when the update is called from a script, there is nobody there to hit 'r'. What's up? Is this just a bad mirror or something where hitting 'r' forces zypper to try another mirror that has the package? Sometimes it happens rather frequently:
Unfortunately, zypper's logging doesn't give much detail about these kind of failures. If the problem persists, feel free to let me know and we can debug it further.
-- Downloading: ant-manual-1.7.1-4.7.noarch.rpm [done (124.9 K/s)] Installing: ant-manual-1.7.1-4.7 [done] Downloading package ecj-3.3-119.19.noarch (43/198), 1.3 M (1.3 M unpacked) Downloading: ecj-3.3-119.19.noarch.rpm [error] File './noarch/ecj-3.3-119.19.noarch.rpm' not found on medium 'http://download.opensuse.org/repositories/Java:/packages/openSUSE_11.0/'
Abort, retry, ignore? [A/r/i]: r Downloading: ecj-3.3-119.19.noarch.rpm [done (111.3 K/s)] Installing: ecj-3.3-119.19 [done] [...]
I just checked the files noarch/ecj-3.3-119.19.noarch.rpm and noarch/antlr-2.7.7-71.31.noarch.rpm on all mirrors, and all mirrors that are known to have those files do deliver them correctly. Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development
participants (4)
-
David C. Rankin
-
Peter Poeml
-
Philip Dowie
-
Sylvester Lykkehus