Bug 141289
Summary: | up2date returns 404 for kernel source | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bobby Tharrington <btharrington> | ||||
Component: | up2date | Assignee: | Adrian Likins <alikins> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fanny Augustin <fmoquete> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3 | CC: | olegmakarenko | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-06-27 16:17:14 UTC | Type: | --- | ||||
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
Bobby Tharrington
2004-11-30 04:08:05 UTC
Note that the http 404 error can be explained by the ".../i386/SRPMS/..." in the pathname. It should be ".../SRPMS/..." without the "/i386"; that is, --get-source must remove the trailing $ARCH before adding "/SRPMS". So, a manual workaround is to use 'wget' or 'curl' on a copy-and-edit pathname. It is also not possible to use --get-source for any other package. If you enable the retrieveSource=1 in /etc/sysconfig/rhn/up2date then up2date stops on every package as it is unable to download source files. So retrieveSource doesn't work in FC3. wget and curl may be used as a workaround for ad hoc source packages downloads but not on a regular basis. seems to be duplicate of 141459 Created attachment 110402 [details]
Hack to make up2date --get-source work in fc3
Actually you can't get SRPMS for any updated package. There is no SRPMS
directory in .../updates/3/i386/ where up2date tries to find the source
package:
url = "%s/SRPMS/%s" % (channel[url], filename)
Fedora Core 2 and 1 do have SRPMS directory so this line works fine.
Looks like a problem with repository. Is it that difficult to add a link to
.../updates/3/SRPMS?
As a workaround I have hacked up2date to accept one more optional parameter for
SRPMS relative path.
See the patch for details.
this is a duplicate of assigned bug #141901, only this bug report has a HACK to patch the problem (see comment #4 from Oleg). |