Issue #1301
closed
Error producing repo metadata
Description
When applying https://github.com/pulp/pulp_rpm/pull/720/files to my pulp install on a centos 6 systen, I am unable to use the produced repo.
I run yum update and get the error TypeError: Parsing primary.xml error: XML declaration allowed only at start of the document.
Sets to repoduce:
Install pulp on rhel/centos 6.
Apply change request above.
Sync any yum repo via pulp
Create yum.repo.d/newfile.repo that points to created repo from pulp.
Run yum update.
Should get the error above.
Files
Can you please attach the corresponding primary.xml file?
- Priority changed from Normal to High
- Severity changed from 2. Medium to 3. High
- Triaged changed from No to Yes
Attaching the primary.xml file
well, not sure what happened but on fresh pulp rhel6 with mentioned fix applied i was not able to reproduce the error anymore.
What version of pulp did you install on rhel6? I'd like to give it a try and see if I still have the issues as this still doesn't help me patch my existing systems.
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
After taking a much closer look at my manual applying of the patch, it looks like it was a case sensitivity issue with the encoding. I was typing UTF-8 instead of utf-8 for the encoding. I want to run this through on a few more test systems and make sure everything works.
- Status changed from ASSIGNED to CLOSED - NOTABUG
After thorough testing everything looks good now, so that was all my issue was. Closing issue.
Also available in: Atom
PDF