Mailinglist Archive: zypp-devel (102 mails)

< Previous Next >
[zypp-devel] zypper no longer able to install packages from repo?
  • From: "Dominique Leuenberger" <Dominique.Leuenberger@xxxxxxxxxxxxx>
  • Date: Tue, 10 Mar 2009 09:22:20 +0100
  • Message-id: <49B6314C0200002900011949@xxxxxxxxxxxxxxxxxxx>
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.x86_64.rpm'
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.x86_64.rpm'

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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups