zypper repositories issue

Hi all,

Every time I try install anything from console using “zypper install” getting these message:

linux-jxv5:/home/andre # zypper install nano
Refreshing service ‘packman-multimedia’.
Unexpected exception.
Parse error: repoindex.xml[1] Document is empty
Please file a bug report about this.
See SDB:Zypper troubleshooting - openSUSE for instructions.

these is output of “zypper lr”:

linux-jxv5:/home/andre # zypper lr

| Alias | Name | Enabled | Refresh

—±------------------------±-----------------------------------±--------±-------
1 | home:Fisiu:kadu | home:Fisiu:kadu | Yes | Yes
2 | libdvdcss repository | libdvdcss repository | Yes | Yes
3 | mozilla | mozilla | Yes | Yes
4 | nVidia Graphics Drivers | nVidia Graphics Drivers | Yes | Yes
5 | openSUSE-11.4-11.4-0 | openSUSE-11.4-11.4-0 | Yes | No
6 | packman | Packman repository (openSUSE_11.4) | Yes | No
7 | repo-debug | openSUSE-11.4-Debug | No | Yes
8 | repo-debug-update | openSUSE-11.4-Update-Debug | No | Yes
9 | repo-non-oss | openSUSE-11.4-Non-Oss | Yes | Yes
10 | repo-oss | openSUSE-11.4-Oss | Yes | Yes
11 | repo-source | openSUSE-11.4-Source | No | Yes

where I dont have packma-multimedia listed even after issuint “zypper ref”

now, output of zypper ls look like these:

linux-jxv5:/home/andre # zypper ls

| Alias | Name | Enabled | Refresh | Type

—±------------------------±-----------------------------------±--------±--------±------
1 | service | packman-multimedia | Yes | Yes | ris
2 | home:Fisiu:kadu | home:Fisiu:kadu | Yes | Yes | rpm-md
3 | libdvdcss repository | libdvdcss repository | Yes | Yes | rpm-md
4 | mozilla | mozilla | Yes | Yes | rpm-md
5 | nVidia Graphics Drivers | nVidia Graphics Drivers | Yes | Yes | rpm-md
6 | openSUSE-11.4-11.4-0 | openSUSE-11.4-11.4-0 | Yes | No | yast2
7 | packman | Packman repository (openSUSE_11.4) | Yes | No | rpm-md
8 | repo-debug | openSUSE-11.4-Debug | No | Yes | NONE
9 | repo-debug-update | openSUSE-11.4-Update-Debug | No | Yes | NONE
10 | repo-non-oss | openSUSE-11.4-Non-Oss | Yes | Yes | yast2
11 | repo-oss | openSUSE-11.4-Oss | Yes | Yes | yast2
12 | repo-source | openSUSE-11.4-Source | No | Yes | NONE

when I try “zypper rr packman-multimedia” getting these message:

linux-jxv5:/home/andre # zypper rr packman-multimedia
Repository ‘packman-multimedia’ not found by alias, number or URI.

issue with it are :

  1. cant install anything from console with error :

Refreshing service ‘packman-multimedia’.
Unexpected exception.
Parse error: repoindex.xml[1] Document is empty
Please file a bug report about this.
See SDB:Zypper troubleshooting - openSUSE for instructions.

  1. any time I go to yast -> software management, getting the same message error

How can I delete these error? Need to mention that in Yast-> software repo there is no packman listed …

Perhaps you just need to remove it and try again? Here are the correct URL’s, just don’t include the quotes “”.

"http://packman.inode.at/suse/openSUSE_11.4/Essentials/"

"http://packman.inode.at/suse/openSUSE_11.4/Multimedia/"

I normally do this from YaST (Enter Root User Password) / Software / Software Repositories & Remove old ‘packman-multimedia’ URL and Add in the two new ones shown above.

Thank You,

BTW loand, you do a good job in trying to separate your text from the code you show, but there is a better method (that will also avoid the smiley in your code):Posting in Code Tags - A Guide

the thing is that the error causing repo is not listed in Yast->software repositories

however I deleted the other packman repo, issued zypper ref and still getting the same error message.
wondering why zypper ls command shows :

linux-jxv5:/home/andre # zypper ls
#  | Alias                   | Name                       | Enabled | Refresh | Type  
---+-------------------------+----------------------------+---------+---------+-------
1  | service                 | packman-multimedia         | Yes     | Yes     | ris   
2  | home:Fisiu:kadu         | home:Fisiu:kadu            | Yes     | Yes     | rpm-md
3  | libdvdcss repository    | libdvdcss repository       | Yes     | Yes     | rpm-md
4  | mozilla                 | mozilla                    | Yes     | Yes     | rpm-md
5  | nVidia Graphics Drivers | nVidia Graphics Drivers    | Yes     | Yes     | rpm-md
6  | openSUSE-11.4-11.4-0    | openSUSE-11.4-11.4-0       | Yes     | No      | yast2 
7  | repo-debug              | openSUSE-11.4-Debug        | No      | Yes     | NONE  
8  | repo-debug-update       | openSUSE-11.4-Update-Debug | No      | Yes     | NONE  
9  | repo-non-oss            | openSUSE-11.4-Non-Oss      | Yes     | Yes     | yast2 
10 | repo-oss                | openSUSE-11.4-Oss          | Yes     | Yes     | yast2 
11 | repo-source             | openSUSE-11.4-Source       | No      | Yes     | NONE 

when zypper lr only :

linux-jxv5:/home/andre # zypper lr
#  | Alias                   | Name                       | Enabled | Refresh
---+-------------------------+----------------------------+---------+--------
 1 | home:Fisiu:kadu         | home:Fisiu:kadu            | Yes     | Yes    
 2 | libdvdcss repository    | libdvdcss repository       | Yes     | Yes    
 3 | mozilla                 | mozilla                    | Yes     | Yes    
 4 | nVidia Graphics Drivers | nVidia Graphics Drivers    | Yes     | Yes    
 5 | openSUSE-11.4-11.4-0    | openSUSE-11.4-11.4-0       | Yes     | No     
 6 | repo-debug              | openSUSE-11.4-Debug        | No      | Yes    
 7 | repo-debug-update       | openSUSE-11.4-Update-Debug | No      | Yes    
 8 | repo-non-oss            | openSUSE-11.4-Non-Oss      | Yes     | Yes    
 9 | repo-oss                | openSUSE-11.4-Oss          | Yes     | Yes    
10 | repo-source             | openSUSE-11.4-Source       | No      | Yes    

same output shows the YAST->SOFTWARE REPO…

so I tried delete repo #1 with **zypper rr 1 ** and getting these :

zypper rr 1
PackageKit is blocking zypper. This happens if you have an updater applet or other software management application using PackageKit running.                                  
Tell PackageKit to quit? [yes/no] (no): y
PackageKit is still running (probably busy).                                           
Try again? [yes/no] (no): y
PackageKit is still running (probably busy).                                           
Try again? [yes/no] (no): y
PackageKit is still running (probably busy).                                           
Try again? [yes/no] (no): y           
PackageKit is still running (probably busy).

BTW loand, you do a good job in trying to separate your text from the code you show, but there is a better method (that will also avoid the smiley in your code):Posting in Code Tags - A Guide 
Henk van Velden

yes sorry for that, I’ve seen these message so many times on the forum and still doing the other way :slight_smile:

Never mind. The CODE feature is rather hidden.

It looks to me that you have the Packagekit applet active. Switch it off. That may help.
Better not use it at all.

So the following item is special using **zypper ls **to display:

1  | service                 | packman-multimedia         | Yes     | Yes     | ris   

I found the following description:

Services

   Services are one level above repositories and serve to manage reposito-
   ries or to do some special tasks. Libzypp currently supports  only  one
   type of services, the Repository Index Service (RIS).
    Repository  Index  Service  (RIS) is a special type of repository which
   contains a list of other  repositories.  This  list  can  be  generated
   dynamically  by  the  server  according  to some URI parameters or user
   name, or can be static. Once such service is added to your system, zyp-
   per  takes care of adding, modifying, or removing these repositories on
   your system to reflect the current list.  See section  Service  Manage-
   ment  and [Repositories are not registered after running suse_register](http://www.novell.com/support/php/search.do?cmd=displayKC&docType=kc&externalId=7003779) for
   more details.

I even found a suggestion that there is a bug with this addition and you needed to run the following terminal command as root:

zypper refresh --services

Having this feature added is not normal and something you did somewhere along the way. The name you gave it does not relate to what it is doing.

Thank You,

thanks for helpfull answer, its sorted now

thanks for helpfull answer, its sorted now

Thank is good news loand. I was happy to help.

Thank You,