Bug 158660
Summary: | repomd support tracebacks | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bill Nottingham <notting> | ||||
Component: | up2date | Assignee: | Bret McMillan <bretm> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fanny Augustin <fmoquete> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | hdegoede, pb, rvokal, sundaram, timothy.boyer | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-10-30 16:08:24 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 136450 | ||||||
Attachments: |
|
Description
Bill Nottingham
2005-05-24 17:00:42 UTC
Created attachment 114788 [details]
patch to fix this
With -4 I get the following (without any rpmmd repos in sources): [Thu Jun 2 14:33:39 2005] up2date availablePackageList from network [Thu Jun 2 14:33:39 2005] up2date Unable to import repomd support so repomd support will not be available And the following when I add a rpmmd entry to my sources: [Thu Jun 2 15:32:12 2005] up2date File "/usr/sbin/up2date", line 1265, in ? sys.exit(main() or 0) File "/usr/sbin/up2date", line 328, in main sources = sourcesConfig.getSources() File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 263, in getSources scfg = SourcesConfigFile(filename="/etc/sysconfig/rhn/sources") File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 42, in __init__ self.load() File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 83, in load self.parseRpmmd(line) FC4 showstopper??? Non experienced users will need up2date to get up2date updated. What exactly did you add to your sources file? I added: rpmmd fedora-extras-development http://download.fedora.redhat.com/pub/fedora/linux/extras/development/i386/ But then in one line. Try 'repomd', not 'rpmmd'. Yes, that works but that also sucks in all repos from /etc/yum.repo.d Since I still had most of these as yum repos in my sources file I now got them twice. Also the repomd repo uses the name given for it in /etc/yum.repo.d and not the one given in sources. I think this is a great feature actually, but shouldn't just using repomd without anything behind be enough then. Because that currently doesn't work, if that would work then I no longer have to edit 2 files when switching between rawhide and stable ot stuff like that. On a related note the systray applet doesn't seem to like repomd much, atleast it didn't detect any available updates, where as up2date itself did find several updates. Last note, up2date silently failing when run from the systray applet whenever there is an error in sources is "not good" (TM) Yes, you just need: repomd <somethng> <something> without any 'yum ...' repos, and it will just read /etc/yum.repos.d. If the applet doesn't work, please file a bug there. Ok, COOL! Nag 1: and this is documented where? And accessible from the gui where? Nag 2: still exiting with tracebacks in /var/log/up2date instead of giving a dialog box that sources is invalid is bad, esp for a gui tool/version. The format for repomd sould be within the file comments. File a seperate bug report on that. The repository configuration cannot be done through the GUI. You can again file a RFE I have this bug within RHEL WS4 Update 2 too. /var/log/up2date: [Fri Oct 7 00:30:09 2005] up2date updating login info [Fri Oct 7 00:30:10 2005] up2date logging into up2date server [Fri Oct 7 00:31:05 2005] up2date successfully retrieved authentication token from up2date server [Fri Oct 7 00:31:05 2005] up2date availablePackageList from network [Fri Oct 7 00:31:05 2005] up2date Unable to import repomd support so repomd support will not be available [Fri Oct 7 00:32:16 2005] up2date A protocol error occurred: Not Found , attempt #1, [Fri Oct 7 00:34:51 2005] up2date installing packages: ['thunderbird-1.0.7-1.4.1'] [Fri Oct 7 00:34:56 2005] up2date Creating rollback packages... [Fri Oct 7 00:35:45 2005] up2date Removing packages from package profile: ['thunderbird-1.0.6-1.4.1'] [Fri Oct 7 00:36:11 2005] up2date Updating transaction list [Fri Oct 7 00:36:18 2005] up2date Adding packages to package profile: ['thunderbird-1.0.7-1.4.1'] [Fri Oct 7 00:36:44 2005] up2date Updating transaction list [Fri Oct 7 01:37:45 2005] up2date Updating package profile best regards, Ilja I have this here to now after upgrading RHEL3 to U6. Logwatch claims now every day about it: --------------------- up2date Begin ------------------------ **Unmatched Entries** Unable to import repomd support so repomd support will not be available ---------------------- up2date End ------------------------- Not nice! Any hints how to solve this issue? RHEL4, also: **Unmatched Entries** Unable to import repomd support so repomd support will not be available up2date was replaced by pirut and put (package pirut) as of FC5. Only FC5 and FC6 are currently fully supported; FC3 and FC4 are supported for security fixes only. If this bug occurs in FC3 or FC4 and is a security bug, please change the product to Fedora Extras and the version to match. If you can verify that the bug exists in RHEL as well, please change the product and version appropriately. The codebase for pirut and pup is quite different, but if a similar bug exists in pirut and pup in FC5 or FC6, please change the product to pirut and the version appropriately and update the bug report. We apologize that the bug was not fixed before now. The status will be changed to NEEDINFO, and if the bug is not updated with evidence that it is a security bug or a bug that affects RHEL, it will be closed. AFAIK this has no security implications, closing. |