[opensuse] YaST/zypper repo problem
This problem was caused by stupid user error - meaning I copied the wrong URL when configuring a new repo and munged things really good. I pasted in a URL that was to a normal website instead of the URL to the LibreOffice Factory repo. I didn't notice until after I had applied and YaST tried to update from that repo. I edited it, removed the wrong repo and added right repo. Everything seemed OK... I can install from that reconfigured LibreOffice Factory repo just fine etc, but somewhere in the system, it's hanging on to the wrong repo info and I can't find it to fix it. This is the output from zypper (the error prevents me from installing/removing rpms): --------------- zypper in anyname.rpm Repository named '_tmpRPMcache_' already exists. Please use another alias. Refreshing service 'LibreOffice Factory'. Unexpected exception. Parse error: repoindex.xml[8] Couldn't find end of Start Tag meta History: - repoindex.xml[8] attributes construct error - repoindex.xml[8] Unescaped '<' not allowed in attributes values Please file a bug report about this. See http://en.opensuse.org/Zypper/Troubleshooting for instructions. --------------- The error makes sense since it's trying to parse a normal website for YaST repo info... and it finds regular HTML instead. YaST gives a little more info: --------------- An error occurred during repository initialization. Error refreshing service LibreOffice Factory (http://the.mistyped.url/that/isnt/a/repo/): Parse error: repoindex.xml[8] Couldn't find end of Start Tag meta History: - repoindex.xml[8] attributes construct error - repoindex.xml[8] Unescaped '<' not allowed in attributes values --------------- zypper repos -d shows all my configured repos including the LibreOffice Factory repo that is the source of the problem: --------------- 4 | LibreOffice_Factory | LibreOffice Factory | No | No | 80 | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/Factory/openSUSE_13.1... --------------- If I look into /etc/zypp/repos.d/LibreOffice_Factory.repo, everything is correct, and there's no sign of the misconfigured repo anywhere. I've checked all other dot repo files and they are all fin as far as I can see. There is no double file for LibreOffice.. and no other repo that looks like LibreOffice in my repo list. (I'd susepaste.org it, but... when I do that it returns an error "You are spammer!!!" so... ) So... anyone have any ideas how I can convince zypper/YaST to forget about that wrong URL?... so I can use zypper again... C -- openSUSE 13.1 x86_64, KDE 4.12 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 08/03/2014 10:25, C a écrit :
So... anyone have any ideas how I can convince zypper/YaST to forget about that wrong URL?... so I can use zypper again...
did?you try to remove completely this repo (for a moment) jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, Mar 8, 2014 at 10:42 AM, jdd wrote:
Le 08/03/2014 10:25, C a écrit :
So... anyone have any ideas how I can convince zypper/YaST to forget about that wrong URL?... so I can use zypper again...
did?you try to remove completely this repo (for a moment)
Yes, I've deleted the repo... I've disabled all repos. No change. With all repos disabled, I get the same error at CLI with zypper, and the same error in YaST (plus the notification that no repos are defined so only local installed apps will be shown). With the LibreOffice Factory repo completely deleted (verified removed by checking in /etc/zypp/repos.d, zypper lr, and YaST) I still get the error. (it's currently deleted.. did that again since sending out the first email) I've also deleted the _tmpRPMcache_ repo (don't need it, not sure why it was hanging around). C. -- openSUSE 13.1 x86_64, KDE 4.12 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 08/03/2014 10:51, C a écrit :
Yes, I've deleted the repo... I've disabled all repos. No change.
odd. too hard for me :-( jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-03-08 10:25 (GMT+0100) C composed:
So... anyone have any ideas how I can convince zypper/YaST to forget about that wrong URL?... so I can use zypper again...
# man zypper -> clean Maybe: # zypper clean ... -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, Mar 8, 2014 at 11:10 AM, Felix Miata wrote:
On 2014-03-08 10:25 (GMT+0100) C composed:
So... anyone have any ideas how I can convince zypper/YaST to forget about that wrong URL?... so I can use zypper again...
# man zypper -> clean Maybe: # zypper clean ...
Hmm... hadn't tried that. Did a zypper clean -a but it didn't fix anything (I have re-enabled my repos, LibreOffice Factory has been deleted, and confirmed not in the repo list nor is there a LibreOffice.repo file in /etc/zypp/repos.d) # zypper clean -a All repositories have been cleaned up. #zypper in somefile.rpm Repository named '_tmpRPMcache_' already exists. Please use another alias. Refreshing service 'LibreOffice Factory'. Unexpected exception. Parse error: repoindex.xml[8] Couldn't find end of Start Tag meta History: - repoindex.xml[8] attributes construct error - repoindex.xml[8] Unescaped '<' not allowed in attributes values So I'm still stuck trying to figure out where it's hanging onto this info. I've also rebooted (just in case something was hanging about that could be cleared on a restart). I could file a bug... but.. it was a silly user (aka me) error that caused it, and this user would like to understand why the repo is still hanging about... or at least collect some useful info to add to a bug report. C. -- openSUSE 13.1 x86_64, KDE 4.12 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, Mar 08, 2014 at 11:19:04AM +0100, C wrote:
On Sat, Mar 8, 2014 at 11:10 AM, Felix Miata wrote:
On 2014-03-08 10:25 (GMT+0100) C composed:
So... anyone have any ideas how I can convince zypper/YaST to forget about that wrong URL?... so I can use zypper again...
# man zypper -> clean Maybe: # zypper clean ...
Hmm... hadn't tried that. Did a zypper clean -a but it didn't fix anything (I have re-enabled my repos, LibreOffice Factory has been deleted, and confirmed not in the repo list nor is there a LibreOffice.repo file in /etc/zypp/repos.d)
# zypper clean -a All repositories have been cleaned up. #zypper in somefile.rpm Repository named '_tmpRPMcache_' already exists. Please use another alias. Refreshing service 'LibreOffice Factory'. Unexpected exception. Parse error: repoindex.xml[8] Couldn't find end of Start Tag meta History: - repoindex.xml[8] attributes construct error - repoindex.xml[8] Unescaped '<' not allowed in attributes values
So I'm still stuck trying to figure out where it's hanging onto this info. I've also rebooted (just in case something was hanging about that could be cleared on a restart). I could file a bug... but.. it was a silly user (aka me) error that caused it, and this user would like to understand why the repo is still hanging about... or at least collect some useful info to add to a bug report.
Can you upload your /var/log/zypper.log somewhere please. And/or go and check to see from which URL it downloads repoindex.xml Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
[08.03.2014 11:19] [C]:
On Sat, Mar 8, 2014 at 11:10 AM, Felix Miata wrote:
On 2014-03-08 10:25 (GMT+0100) C composed:
So... anyone have any ideas how I can convince zypper/YaST to forget about that wrong URL?... so I can use zypper again...
# man zypper -> clean Maybe: # zypper clean ...
Hmm... hadn't tried that. Did a zypper clean -a but it didn't fix anything (I have re-enabled my repos, LibreOffice Factory has been deleted, and confirmed not in the repo list nor is there a LibreOffice.repo file in /etc/zypp/repos.d)
# zypper clean -a All repositories have been cleaned up. #zypper in somefile.rpm Repository named '_tmpRPMcache_' already exists. Please use another alias. Refreshing service 'LibreOffice Factory'. Unexpected exception. Parse error: repoindex.xml[8] Couldn't find end of Start Tag meta History: - repoindex.xml[8] attributes construct error - repoindex.xml[8] Unescaped '<' not allowed in attributes values
*service* 'LibreOffice Factory'? Never had that. What is the content of your /etc/zypp/services.d/? Maybe a repo file managed to climb there? What is the output of "zypper services -r"? It should only show numbered lines - if some are unnumbered, you may have a problem... Werner -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, Mar 8, 2014 at 2:26 PM, Werner Flamme wrote:
[08.03.2014 11:19] [C]:
On Sat, Mar 8, 2014 at 11:10 AM, Felix Miata wrote:
On 2014-03-08 10:25 (GMT+0100) C composed:
So... anyone have any ideas how I can convince zypper/YaST to forget about that wrong URL?... so I can use zypper again...
# man zypper -> clean Maybe: # zypper clean ...
Hmm... hadn't tried that. Did a zypper clean -a but it didn't fix anything (I have re-enabled my repos, LibreOffice Factory has been deleted, and confirmed not in the repo list nor is there a LibreOffice.repo file in /etc/zypp/repos.d)
# zypper clean -a All repositories have been cleaned up. #zypper in somefile.rpm Repository named '_tmpRPMcache_' already exists. Please use another alias. Refreshing service 'LibreOffice Factory'. Unexpected exception. Parse error: repoindex.xml[8] Couldn't find end of Start Tag meta History: - repoindex.xml[8] attributes construct error - repoindex.xml[8] Unescaped '<' not allowed in attributes values
*service* 'LibreOffice Factory'? Never had that.
What is the content of your /etc/zypp/services.d/? Maybe a repo file managed to climb there?
What is the output of "zypper services -r"? It should only show numbered lines - if some are unnumbered, you may have a problem...
The output: http://susepaste.org/view/simple/30664937 I did a zypper removeservice 1, and now everything is working properly again (I can use zypper at the CLI and YaST isn't popping up errors). How did I manage to add LibreOffice as a service :-P There's a good reason I do software QA on the side. Ha, I can break software in really creative ways. C. -- openSUSE 13.1 x86_64, KDE 4.12 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
C
-
Felix Miata
-
jdd
-
Marcus Meissner
-
Werner Flamme