Hi Dominique, On Tue, Mar 10, 2009 at 09:22:20AM +0100, Dominique Leuenberger wrote:
Not sure if I broke something here or if somebody already reported an error alike... that's why I raise it here first. A BNC will follow depending on what goes on here.
I have more or less updated my Factory machine to the latest packages (not everything is up to date anymore). So I just wanted to go for it, but zypper up <any package> tells me it can't download: Failed to download ./suse/x86_64/wol-0.7.1-137.49.x86_64.rpm from http://download.opensuse.org/factory/repo/oss/ Abort, retry, ignore? [A/r/i/?]: a Failed to provide Package wol-0.7.1-137.49. Do you want to retry retrieval?
[Factory-OSS|http://download.opensuse.org/factory/repo/oss/] Can't provide file './suse/x86_64/wol-0.7.1-137.49.x86_64.rpm' from repository 'Factory-OSS' History: - Failed to download ./suse/x86_64/wol-0.7.1-137.49.x86_64.rpm from http://download.opensuse.org/factory/repo/oss/ - Can't provide ./suse/x86_64/wol-0.7.1-137.49.x86_64.rpm : Failed to download ./suse/x86_64/wol-0.7.1-137.49.x86_64.rpm from http://download.opensuse.org/factory/repo/oss/
Now the problem is not the file itself, this can be downloaded...
from zypper log: 2009-03-10 09:10:09 <1> 3120-2914(11139) [zypp++] MediaManager.cc(checkDesired):116 checkDesired(1): desired (cached) 2009-03-10 09:10:09 <1> 3120-2914(11139) [zypp++] ExternalProgram.cc(start_program):210 Executing '/usr/bin/aria2c' '--user-agent=ZYpp 6.2.2 (aria2 version 1.2.0) ' '--summary-interval=1' '--follow-metalink=mem' '--check-integrity=true' '--file-allocation=none' '--server-stat-of=/var/cache/zypp/aria2.stats' '--server-stat-if=/var/cache/zypp/aria2.stats' '--uri-selector=adaptive' '--use-head=false' '--max-tries=5' '--max-concurrent-downloads=2' '--header=X-ZYpp-AnonymousId: <I am anonymous>' '--header=X-ZYpp-DistributionFlavor:' '--header=Pragma:' '--connect-timeout=180' '--http-proxy=http://proxy:port' '--dir=/var/adm/mount/AP_0x00000009/suse/x86_64' 'http://download.opensuse.org/factory/repo/oss/suse/x86_64/wol-0.7.1-137.49.x...' 2009-03-10 09:10:09 <1> 3120-2914(11139) [zypp++] ExternalProgram.cc(start_program):354 pid 11204 launched 2009-03-10 09:10:10 <1> 3120-2914(11139) [zypp++] ExternalProgram.cc(checkStatus):401 Pid 11204 exited with status 1 2009-03-10 09:10:10 <5> 3120-2914(11139) [zypp] Exception.cc(log):133 MediaAria2c.cc(getFileCopy):443 THROW: MediaAria2c.cc(getFileCopy):443 : Failed to download ./suse/x86_64/wol-0.7.1-137.49.x86_64.rpm from http://download.opensuse.org/factory/repo/oss/ 2009-03-10 09:10:10 <5> 3120-2914(11139) [zypp] Exception.cc(log):133 MediaAria2c.cc(getFileCopy):467 RETHROW: MediaAria2c.cc(getFileCopy):443 : Failed to download ./suse/x86_64/wol-0.7.1-137.49.x86_64.rpm from http://download.opensuse.org/factory/repo/oss/ 2009-03-10 09:10:10 <5> 3120-2914(11139) [zypp] Exception.cc(log):133 MediaSetAccess.cc(provide):239 CAUGHT: MediaAria2c.cc(getFileCopy):467: Failed to download ./suse/x86_64/wol-0.7.1-137.49.x86_64.rpm from http://download.opensuse.org/factory/repo/oss/ 2009-03-10 09:10:10 <1> 3120-2914(11139) [zypp++] MediaHandler.cc(getDetectedDevices):1387 No devices for this medium 2009-03-10 09:10:10 <1> 3120-2914(11139) [zypp++] MediaSetAccess.cc(provide):249 Media couldn't provide file ./suse/x86_64/wol-0.7.1-137.49.x86 _64.rpm , releasing.
I would say, you have a current libzypp (6.2.2), but an outdated aria2 (1.2.0, but without a certain fix). This combination of packages could occur if updated libzypp from zypp:Head before the fixed aria2 package was in Factory. libzypp 6.2.2 uses an aria2c feature which was broken in aria2 1.2.0, which was discovered via zypp:Head on Friday/Saturday, and fixed before libzypp 6.2.2 was submitted to Factory. The issue is described here: https://sourceforge.net/tracker/?func=detail&atid=813673&aid=2666026&group_id=159897 When you strictly used http://download.opensuse.org/factory/repo/ to update your system, then you got libzypp 6.2.2 and the fixed aria2 together and should not have run into this bug. The libzypp package and aria2 package were published together. When you had zypp:Head packages then it could happen, though; could that be the case with your system?
Anybody seen something alike? (Or even a known bug introduced at some point?)
The bug can be worked around by either upgrading aria2, or by removing the /var/cache/zypp/aria2.stats file (but the bug may come back every few packages). Thanks! Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development