[zypp-devel] zypper no longer able to install packages from repo?
Hi, 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: sudo zypper up wol Loading repository data... Reading installed packages... Resolving package dependencies... The following package is going to be upgraded: wol Overall download size: 48.0 KiB. No additional space will be used or freed after the operation. Continue? [YES/no]: Retrieving package wol-0.7.1-137.49.x86_64 (1/1), 48.0 KiB (147.0 KiB unpacked) Retrieving: oss [done] Retrieving: media [done] Retrieving: wol-0.7.1-137.49.x86_64.rpm [error] 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. Abort, retry, ignore? [A/r/i]: a Problem occured during or after installation or removal of packages: Installation aborted by user Please see the above error message for a hint. By executing the command '/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...' the downlaod fails as well, but still, not because the file would not exist. The issue is the --dir parameter (/var/adm/mount/AP_0x00000009/suse/x86_64), where the directory does not exist. (I had up to AP_0x00000007, then it failed, I created #8 and after it tried to get the files from #9.. so no joy). By replacing the destination folder, the file downloads perfectly. Anybody seen something alike? (Or even a known bug introduced at some point?) Dominique -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
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
On 3/10/2009 at 10:04, Peter Poeml
wrote: 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.
Peter, you're a genius! I'm only using openSUSE:Factory (with some very few addons, which should never conflict with Factory...) But as I could not use zypper dup for a while (missing a driver for my wlan, so I needed to stay on an older kernel and was only doing zypper up <small chunks of packages I can control> for a while... and apparently with the last update of zypper / libzypp I missed to also get aria2 in the latest stack. Grabbed the RPM off of download.o.o/factory, rpm -Uhv'ed it, and zypper is working fine again. Thanks for your help!!! Dominique PS: Peter, I always have trouble replying to your mails. Hitting 'reply' gives me always only the line
On 3/10/2009 at 10:04, Peter Poeml
wrote: and the rest is empty and not quoted. I only see this behavior with mails from you. Ever heard something alike? MUA is GroupWise 8 on Linux. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Tue, Mar 10, 2009 at 10:16:10AM +0100, Dominique Leuenberger wrote:
On 3/10/2009 at 10:04, Peter Poeml
wrote: 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.
Peter,
you're a genius! I'm only using openSUSE:Factory (with some very few addons, which should never conflict with Factory...)
But as I could not use zypper dup for a while (missing a driver for my wlan, so I needed to stay on an older kernel and was only doing zypper up <small chunks of packages I can control> for a while... and apparently with the last update of zypper / libzypp I missed to also get aria2 in the latest stack.
Grabbed the RPM off of download.o.o/factory, rpm -Uhv'ed it, and zypper is working fine again. Thanks for your help!!!
Cool that this helped. I tried hard to be the first to run into this bug, fix it as soon as possible and you may suspect that I tracked its way to Factory with quite some attention ;) Thanks for confirming the (now) benign situation, and sorry about the hassle.
Dominique
PS: Peter, I always have trouble replying to your mails. Hitting 'reply' gives me always only the line
On 3/10/2009 at 10:04, Peter Poeml
wrote: and the rest is empty and not quoted. I only see this behavior with mails from you. Ever heard something alike? MUA is GroupWise 8 on Linux.
Hm, so you are saying you get an empty "quote" when composing your reply - where there should be quoted text there's only empty space? No idea. I'm using mutt with no fancy features. A GPG signature is appended, so my mail is always multipart mime-encoded. Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development
participants (2)
-
Dominique Leuenberger
-
Peter Poeml