| Summary: | [2.4.4RC1][Package Management][Getting Error Message "Failed to synchronize cache for repo 'repository'"] | ||
|---|---|---|---|
| Product: | [Runtime] Package Management Issues | Reporter: | pankaj yadav <pankaj-y> |
| Component: | package-management-issues | Assignee: | Ross Burton <ross.burton> |
| Status: | RESOLVED NOTABUG | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | CC: | meta.mr.watcher, meta.watcher, richard.purdie |
| Version: | 2.4.5 | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
pankaj yadav
2018-11-22 07:12:45 UTC
Did you run bitbake package-index? I have run bitbake package-index in step 8 as mentioned below : Step 6: bitbake minicom on host. Step 7: bitbake core-image-minimal Step 8: bitbake package-index Step 9: Restart the SimpleHTTPServer Step 10: fetch the repository and generate the update on target system. $ dnf makecache $ dnf update $ dnf install minicom You need to run "bitbake package-index" before running the makecache command on target so this error isn't surprising. Also, isn't this test automated? I'm not sure why we'd need to manually test this? This should be automated with the selftest runtime_test.test_testimage_dnf. Latest master run: 2018-11-22 00:24:35,992 - oe-selftest - INFO - RESULTS - runtime_test.TestImage.test_testimage_dnf - Testcase 1883: PASSED (539.97s) Running "bitbake package-index" before running the "dnf makecache" command on target, resolves this error. Hence closing this ticket. |