Bug 1017205
Summary: | --instrepo makes fedup crash | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kamil Páral <kparal> | ||||||
Component: | fedup | Assignee: | Will Woods <wwoods> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 19 | CC: | kparal, tflink, wwoods | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-10-22 09:47:26 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Kamil Páral
2013-10-09 12:40:16 UTC
Created attachment 809889 [details]
fedup crash log
Created attachment 809890 [details]
fedup OK log
This is a log of fedup run without --instrepo (just fedup --network 20).
...this log looks like a cleanly-handled YumDownloadError, caused by corrupt/incomplete files in your instrepo. What was the output on-screen? Did it actually emit a traceback, or just an error message? The console output is: (1210/1212): zenity-3.8.0-3.fc20.x86_64.rpm | 3.4 MB 00:00:00 (1211/1212): zip-3.0-9.fc20.x86_64.rpm | 261 kB 00:00:00 (1212/1212): zlib-1.2.8-3.fc20.x86_64.rpm | 90 kB 00:00:00 (1/2): highlight-3.15-1.fc20.x86_64.rpm | 603 kB 00:00:00 (2/2): pyliblzma-0.5.3-10.fc20.x86_64.rpm | 46 kB 00:00:00 Downloading failed: Errors were encountered while downloading packages. highlight-3.15-1.fc20.x86_64: failure: Packages/h/highlight-3.15-1.fc20.x86_64.rpm from cmdline-instrepo: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=cmdline-instrepo clean metadata pyliblzma-0.5.3-10.fc20.x86_64: failure: Packages/p/pyliblzma-0.5.3-10.fc20.x86_64.rpm from cmdline-instrepo: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=cmdline-instrepo clean metadata The funny thing is that fedora.repo should point to the same mirror as --instrepo url, it's our private mirror. So I disabled fedora-updates.repo to directly compare the two approaches. With "fedup --network 20 --instrepo http://download.brq..." the problem is still there, yum complains about broken packages. But if I run "fedup --network 20" (which should use the _same_ mirror, only upgrade.img is downloaded from a different path - F20 Alpha), the process goes smoothly and there is no error. I can tell that both approaches use the same mirror, because in both cases the packages are downloaded using 1 Gbps speed (our local LAN) instead of using much slower Internet connection. So, both approaches should work fine (they most probably operate on the same package set), but one of them crashes. If that's the case, the only real difference would be the repo id (default-installrepo vs cmdline-installrepo). The repo id also gets used in the repodata cache path, e.g.: /var/tmp/system-upgrade/default-installrepo /var/tmp/system-upgrade/cmdline-instrepo Possibly the cmdline-instrepo isn't expiring its cache correctly and you have out-of-date repodata? Can you compare the metadata in cmdline-instrepo/ to what's on the server? Also, would you be kind enough to test a couple things for me? Forcibly expire the metadata cache: fedup --network 20 --instrepo $URL --expire-cache and see if fedup works with --instrepo. If that fails, remove *all* the metadata: fedup --network 20 --instrepo $URL --clean-metadata And try again. If it *still* fails: fedup --clean And try once more. I'd love to see the fedup.log after/if you get one of those to work. (NOTE: You might want to back up /var/tmp/system-upgrade/* first to save your downloaded data - or just cmdline-instrepo/ so we can examine the metadata later. It might also be a good idea to move fedup.log to fedup.log.old so I don't have to look through *all* your fedup logs to find the most recent ones.) I haven't gotten to re-testing this yet, but this might be just another occurrence of bug 1005895. This is really a duplicate of bug 1005895. Applying deltarpm patch fixed the problem. *** This bug has been marked as a duplicate of bug 1005895 *** |