Bug 516479 - Upgrade to 0.6 broke yum due to new, not-working spacewalk.repo
Summary: Upgrade to 0.6 broke yum due to new, not-working spacewalk.repo
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 0.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jesus M. Rodriguez
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space07
TreeView+ depends on / blocked
 
Reported: 2009-08-10 06:43 UTC by Sandro Mathys
Modified: 2012-03-06 09:02 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-01-27 14:48:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Sandro Mathys 2009-08-10 06:43:29 UTC
Description of problem:
I upgraded from 0.5 to 0.6 yesterday. Afterwards, my spacewalk.repo was replaced by a new one (and renamed to *.rpmsave). The problem is, that the new spacewalk.repo does point to a URL that does not exist. Also, I don't see why the new RPMs would overwrite my repo file.

Version-Release number of selected component (if applicable):
spacewalk-repo-0.6-1.el5

How reproducible:
N/A

Steps to Reproduce:
1. Upgrade Spacewalk 0.5 to 0.6 (probably also occurs with first-time installation)
2. yum clean all && yum repolist -> fail
3. diff /etc/yum.repos.d/spacewalk.repo.rpmsave /etc/yum.repos.d/spacewalk.repo
  
Actual results:
yum is broken, repo file is misconfigured

Expected results:
yum still works and so does the repo

Additional info:

Comment 1 Jan Pazdziora (Red Hat) 2009-08-10 07:31:01 UTC
Reassigning to Devan as he might know what is going on.

Comment 2 Devan Goodwin 2009-08-10 12:14:42 UTC
Could you post the contents of the diff command in step 3. Thanks.

Comment 3 Sandro Mathys 2009-08-10 12:35:09 UTC
I'm sorry, I can't. I did a mv spacewalk.repo.rpmsave spacewalk.repo even before I posted this bug...only recognized I should have kept the non-working copy while writing the report.

Also, I can't reproduce it with a simple 'yum reinstall spacewalk-repo', which is strange...not sure where the wrong repo file came from, hopefully it's not a case of PEBKAC :/

Comment 4 Sandro Mathys 2009-08-10 14:24:04 UTC
btw, what I reported seems very similar to this:

https://www.redhat.com/archives/spacewalk-announce-list/2009-August/msg00001.html

The repo url was something like:
http://spacewalk.redhat.com/yum/0.6/rhel/5/<arch>/5Server/os/

instead of:
http://spacewalk.redhat.com/yum/0.6/RHEL/5/<arch>/os/

I'm sure about the rhel/RHEL issue, not sure where exactly the 5Server was located within the url, but I think it was additionally to the stand-alone 5.

Comment 5 Devan Goodwin 2009-08-10 14:55:50 UTC
Jesus is already cracking on this, assigning to him.

Comment 6 Jesus M. Rodriguez 2009-08-10 15:08:36 UTC
fixing fedora and rhel urls. Not sure why this release is different :(

rhel fixed in a45b088c8c881b84e7c9b3620d4681f2134c9e44
fedora fixed in 223425aa7174d80abd8f1a86a6ff0b95ea4070b2


Note You need to log in before you can comment on or make changes to this bug.