# Errors restoring repository configuration

**URL:** <https://forums.suse.com/t/errors-restoring-repository-configuration/22725>\
**Category:** SLED Install-Boot\
**Created:** [June 8, 2012, 2:14am UTC](https://forums.suse.com/t/errors-restoring-repository-configuration/22725 "2012-06-08T02:14:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casem](https://avatars.discourse-cdn.com/v4/letter/c/e47774/32.png) [@casem](https://forums.suse.com/u/casem)\
**Post date:** [June 8, 2012, 2:14am UTC](https://forums.suse.com/t/errors-restoring-repository-configuration/22725/1 "2012-06-08T02:14:49Z")

</div>

Hello there. When I open YaST and launch the “Software Repositories” tool, I get the following message:

[QUOTE]  
There were errors while restoring the repository configuration.  
Parse error: repoindex.xml[15] Opening and ending tag mismatch: link line 12 and head[/QUOTE]

Not sure if this is helpful, but when I run the following command:

> [@](#):
>
> zypper lr -d

I get this output:

[QUOTE]

# | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

–±--------------------------------------±--------------------------------------±--------±--------±---------±---------±---------------------------------------------------------------------------------±-------  
1 | HP-Education Updates | HP-Education Updates | Yes | Yes | 99 | rpm-md | [http://download.opensuse.org/repositories/isv://hp://education/SLE\_11](http://download.opensuse.org/repositories/isv://hp://education/SLE_11) |  
2 | Mozilla | Mozilla | Yes | Yes | 99 | rpm-md | [http://download.opensuse.org/repositories/mozilla/openSUSE\_11.1/](http://download.opensuse.org/repositories/mozilla/openSUSE_11.1/) |  
3 | PK\_TMP\_DIR | PK\_TMP\_DIR | Yes | Yes | 99 | plaindir | dir:///var/tmp/TmpDir.tYSCMX |  
4 | SLED-11-SP2-DVD1 | SLED-11-SP2-DVD1 | Yes | Yes | 99 | yast2 | iso:///?iso=SLED-11-SP2-DVD-x86\_64-GM-DVD1.iso&url=file:///home/casem/yastrepos/ |  
5 | SLED-11-SP2-DVD2 | SLED-11-SP2-DVD2 | Yes | Yes | 99 | yast2 | iso:///?iso=SLED-11-SP2-DVD-x86\_64-GM-DVD2.iso&url=file:///home/casem/yastrepos/ |  
6 | SUSE-Linux-Enterprise-Desktop-11 11-0 | SUSE-Linux-Enterprise-Desktop-11 11-0 | No | No | 99 | yast2 | hd:///sled11.00?device=/dev/sda1&filesystem=auto |  
7 | nVidia-Driver-SLE11-SP1 | nVidia-Driver-SLE11-SP1 | Yes | Yes | 99 | rpm-md | [http://download.nvidia.com/novell/sle11sp1](http://download.nvidia.com/novell/sle11sp1) [/QUOTE]

How can I fix this error?

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [June 8, 2012, 2:32am UTC](https://forums.suse.com/t/errors-restoring-repository-configuration/22725/2 "2012-06-08T02:32:36Z")

</div>

> [@casem](#):
>
> Hello there. When I open YaST and launch the “Software Repositories”  
> tool, I get the following message:  
> [color=blue]
> 
> > There were errors while restoring the repository configuration.  
> > Parse error: repoindex.xml[15] Opening and ending tag mismatch: link  
> > line 12 and head[/color]
> 
> Not sure if this is helpful, but when I run the following command:[color=blue]
> 
> > zypper lr -d[/color]
> 
> I get this output:[color=blue]
> 
> > # | Alias |
> > 
> > Name | Enabled | Refresh | Priority | Type | URI  
> > | Service  
> > –±--------------------------------------±--------------------------------------±--------±--------±---------±---------±---------------------------------------------------------------------------------±-------  
> > 1 | HP-Education Updates | HP-Education  
> > Updates | Yes | Yes | 99 | rpm-md |  
> > [http://download.opensuse.org/repositories/isv://hp://education/SLE\_11](http://download.opensuse.org/repositories/isv://hp://education/SLE_11)  
> > |  
> > 2 | Mozilla |  
> > Mozilla | Yes | Yes | 99 | rpm-md |  
> > [http://download.opensuse.org/repositories/mozilla/openSUSE\_11.1/](http://download.opensuse.org/repositories/mozilla/openSUSE_11.1/)  
> > |  
> > 3 | PK\_TMP\_DIR |  
> > PK\_TMP\_DIR | Yes | Yes | 99 | plaindir |  
> > dir:///var/tmp/TmpDir.tYSCMX  
> > |  
> > 4 | SLED-11-SP2-DVD1 |  
> > SLED-11-SP2-DVD1 | Yes | Yes | 99 | yast2 |  
> > iso:///?iso=SLED-11-SP2-DVD-x86\_64-GM-DVD1.iso&url=file:///home/casem/yastrepos/  
> > |  
> > 5 | SLED-11-SP2-DVD2 |  
> > SLED-11-SP2-DVD2 | Yes | Yes | 99 | yast2 |  
> > iso:///?iso=SLED-11-SP2-DVD-x86\_64-GM-DVD2.iso&url=file:///home/casem/yastrepos/  
> > |  
> > 6 | SUSE-Linux-Enterprise-Desktop-11 11-0 |  
> > SUSE-Linux-Enterprise-Desktop-11 11-0 | No | No | 99 |  
> > yast2 |  
> > hd:///sled11.00?device=/dev/sda1&filesystem=auto |  
> > 7 | nVidia-Driver-SLE11-SP1 |  
> > nVidia-Driver-SLE11-SP1 | Yes | Yes | 99 | rpm-md |  
> > [http://download.nvidia.com/novell/sle11sp1](http://download.nvidia.com/novell/sle11sp1)[/color]
> 
> How can I fix this error?

Hi  
Delete the tmp repository and remove the system from the Novell  
Customer Center and re-register it.

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 12.1 (x86\_64) Kernel 3.1.10-1.9-desktop  
up 5:12, 4 users, load average: 0.02, 0.14, 0.47  
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

---

<div class="post-metadata">

**Author:** ![casem](https://avatars.discourse-cdn.com/v4/letter/c/e47774/32.png) [@casem](https://forums.suse.com/u/casem)\
**Post date:** [June 8, 2012, 11:22pm UTC](https://forums.suse.com/t/errors-restoring-repository-configuration/22725/3 "2012-06-08T23:22:37Z")

</div>

Thanks for your help!

I ran into some issues while trying to re-register, but I came across this article which was also helpful: [http://www.novell.com/support/kb/doc.php?id=3303599](http://www.novell.com/support/kb/doc.php?id=3303599)
