Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Error in repoindex.xml

  1. #1
    Join Date
    Nov 2010
    Location
    NSW, Australia
    Posts
    87

    Default Error in repoindex.xml

    When I load my repositories up I get this error.

    Code:
    Errors occurred while restoring the repository configuration.
    Error refreshing service devel:Parrot (http://opensuse/repositories/devel:/languages:/parrot): Parse error: repoindex.xml[1] EntityRef: expecting ';' History: - repoindex.xml[1] EntityRef: expecting ';' - repoindex.xml[1] EntityRef: expecting ';' - repoindex.xml[1] EntityRef: expecting ';' - repoindex.xml[1] EntityRef: expecting ';' - repoindex.xml[1] EntityRef: expecting ';' - repoindex.xml[1] EntityRef: expecting ';' - repoindex.xml[1] EntityRef: expecting ';' - repoindex.xml[1] EntityRef: expecting ';'
    So I am trying to find repoindex.xml so i can edit out the offending entry. I cannot locate it though. I would remove the repository using yast however the repository management does not show the repo to remove and neither does sudo zypper repos but I guess they reflect each other so is to be expected.

    Also cannot remove via zypper

    Code:
    [sayth ~]$  sudo zypper rr devel:/languages:/parrot
    root's password:
    Repository 'devel:/languages:/parrot' not found by alias, number or URI.
    Code:
    [sayth ~]$  sudo zypper rr http://opensuse/repositories/devel:/languages:/parrot
    Repository 'http://opensuse/repositories/devel:/languages:/parrot' not found by alias, number or URI.
    How can I remove this?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,288

    Default Re: Error in repoindex.xml

    Please show your repo list as it is:
    Code:
    zypper lr -d
    Henk van Velden

  3. #3

    Default Re: Error in repoindex.xml

    Quote Originally Posted by flebber View Post
    How can I remove this?
    Use YaST->Software Repositories, or specify the repo number to "zypper rr" (you can get this by running "zypper lr").

    You can also just delete the corresponding file in /etc/zypp/repos.d/.

  4. #4

    Default Re: Error in repoindex.xml

    PS, your error message says:
    Quote Originally Posted by flebber View Post
    Code:
    Error refreshing service devel:Parrot (http://opensuse/repositories/devel:/languages:/parrot):
    So it might actually be configured in /etc/zypp/services.d/.

  5. #5
    Join Date
    Nov 2010
    Location
    NSW, Australia
    Posts
    87

    Default Re: Error in repoindex.xml

    Code:
    [sayth ~]$  zypper lr -d
    #  | Alias                          | Name                                         | Enabled | Refresh | Priority | Type   | URI                                                                             | Service
    ---+--------------------------------+----------------------------------------------+---------+---------+----------+--------+---------------------------------------------------------------------------------+--------
     1 | KDE:Extra                      | KDE:Extra                                    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.1/             |        
     2 | KDE_SC                         | KDE SC                                       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Current/openSUSE_13.1/           |        
     3 | KDE_SC_Extra                   | KDE SC Extra                                 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/KDE_Current_openSUSE_13.1/ |        
     4 | Kernel:stable                  | Kernel:stable                                | Yes     | No      |   99     | rpm-md | http://download.opensuse.org/repositories/Kernel:/stable/standard               |        
     5 | download.opensuse.org-Stable   | openSUSE BuildService - LibreOffice          | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_13.1/    |        
     6 | download.opensuse.org-database | openSUSE BuildService - Database             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/database/openSUSE_13.1/       |        
     7 | download.opensuse.org-mozilla  | openSUSE BuildService - Mozilla              | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_13.1/                |        
     8 | download.opensuse.org-non-oss  | Main Repository (NON-OSS)                    | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/non-oss/                    |        
     9 | download.opensuse.org-oss      | Main Repository (OSS)                        | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/oss/                        |        
    10 | download.opensuse.org-perl     | openSUSE BuildService - devel:languages:perl | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_13.1/ |        
    11 | download.opensuse.org-php      | openSUSE BuildService - PHP                  | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/php/openSUSE_13.1/            |        
    12 | ftp.gwdg.de-suse               | Packman Repository                           | Yes     | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.1/                        |        
    13 | google-chrome                  | google-chrome                                | Yes     | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                             |        
    14 | home:Lazy_Kent                 | home:Lazy_Kent                               | No      | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/Lazy_Kent/openSUSE_13.1/        |        
    15 | home:deltafox                  | home:deltafox                                | No      | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/deltafox/openSUSE_13.1/         |        
    16 | home:elchevive                 | home:elchevive                               | No      | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/elchevive/openSUSE_13.1/        |        
    17 | home:lemmy04                   | home:lemmy04                                 | No      | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/lemmy04/openSUSE_13.1/          |        
    18 | home:robert_munteanu           | home:robert_munteanu                         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/robert_munteanu/openSUSE_13.1/  |        
    19 | openSUSE:13.1                  | openSUSE:13.1                                | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/13.1/standard/              |        
    20 | opensuse-guide.org-repo        | libdvdcss repository                         | Yes     | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/13.1/                                            |        
    21 | repo-debug                     | openSUSE-13.1-Debug                          | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/13.1/repo/oss/                  |        
    22 | repo-debug-update              | openSUSE-13.1-Update-Debug                   | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.1/                                 |        
    23 | repo-debug-update-non-oss      | openSUSE-13.1-Update-Debug-Non-Oss           | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.1-non-oss/                         |        
    24 | repo-non-oss                   | openSUSE-13.1-Non-Oss                        | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/non-oss/                    |        
    25 | repo-oss                       | openSUSE-13.1-Oss                            | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/oss/                        |        
    26 | repo-source                    | openSUSE-13.1-Source                         | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/13.1/repo/oss/                 |        
    27 | repo-update                    | openSUSE-13.1-Update                         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1/                                       |        
    28 | repo-update-non-oss            | openSUSE-13.1-Update-Non-Oss                 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1-non-oss/
    It just doesn't appear anywhere that I can tell.

    Code:
    [sayth repos.d]$  ls -a
    .                                    download.opensuse.org-Stable.repo  KDE:Extra.repo                  repo-debug-update.repo
    ..                                   ftp.gwdg.de-suse.repo              KDE_SC_Extra.repo               repo-non-oss.repo
    download.opensuse.org-database.repo  google-chrome.repo                 KDE_SC.repo                     repo-oss.repo
    download.opensuse.org-mozilla.repo   home:deltafox.repo                 Kernel:stable.repo              repo-source.repo
    download.opensuse.org-non-oss.repo   home:elchevive.repo                openSUSE:13.1.repo              repo-update-non-oss.repo
    download.opensuse.org-oss.repo       home:Lazy_Kent.repo                opensuse-guide.org-repo.repo    repo-update.repo
    download.opensuse.org-perl.repo      home:lemmy04.repo                  repo-debug.repo
    download.opensuse.org-php.repo       home:robert_munteanu.repo          repo-debug-update-non-oss.repo
    [sayth repos.d]$

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,130
    Blog Entries
    15

    Default Re: Error in repoindex.xml

    Hi
    If your on openSUSE 13.1, there is no repository created for it.....

    https://build.opensuse.org/project/s...nguages:parrot

    Contact the maintainers and ask them to add/enable building.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7

    Default Re: Error in repoindex.xml

    Quote Originally Posted by flebber View Post
    It just doesn't appear anywhere that I can tell.
    And how about /etc/zypp/services.d/?
    Or run "zypper ls -d".

    And maybe try:
    Code:
    grep -R parrot /etc/zypp/

  8. #8
    Join Date
    Nov 2010
    Location
    NSW, Australia
    Posts
    87

    Default Re: Error in repoindex.xml

    Quote Originally Posted by wolfi323 View Post
    And how about /etc/zypp/services.d/?
    Or run "zypper ls -d".

    And maybe try:
    Code:
    grep -R parrot /etc/zypp/
    Ok found it
    Code:
    [sayth Scripts]$  zypper ls -d
    #  | Alias                          | Name                                         | Enabled | Refresh | Priority | Type   | URI                                                                            
    ---+--------------------------------+----------------------------------------------+---------+---------+----------+--------+--------------------------------------------------------------------------------
    1  | service                        | devel:Parrot                                 | Yes     | Yes     |          | NONE   | http://opensuse/repositories/devel:/languages:/parrot
    Can't remove it
    Code:
    [sayth Scripts]$  sudo zypper rr opensuse/repositories/devel:/languages:/parrot
    Repository 'opensuse/repositories/devel:/languages:/parrot' not found by alias, number or URI.
    
    [sayth Scripts]$  sudo zypper rr http://opensuse/repositories/devel:/languages:/parrot
    Repository 'http://opensuse/repositories/devel:/languages:/parrot' not found by alias, number or URI.
    [sayth Scripts]$  sudo zypper rr service
    Repository 'service' not found by alias, number or URI.
    Code:
    [sayth Scripts]$  sudo zypper rr devel:Parrot
    Repository 'devel:Parrot' not found by alias, number or URI.

  9. #9

    Default Re: Error in repoindex.xml

    Quote Originally Posted by flebber View Post
    Ok found it
    Code:
    [sayth Scripts]$  zypper ls -d
    #  | Alias                          | Name                                         | Enabled | Refresh | Priority | Type   | URI                                                                            
    ---+--------------------------------+----------------------------------------------+---------+---------+----------+--------+--------------------------------------------------------------------------------
    1  | service                        | devel:Parrot                                 | Yes     | Yes     |          | NONE   | http://opensuse/repositories/devel:/languages:/parrot
    Can't remove it
    Well, as it is a service, you have to use the "removeservice" option of course ("rs").

    So this should do:
    Code:
    zypper rs 1

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,130
    Blog Entries
    15

    Default Re: Error in repoindex.xml

    Hi
    Use the number or name
    Code:
    zypper rr 1
    
    or
    
    zypper rr service
    Watch out though, because the proceeding number eg 2 will become 1, so check with zypper lr.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •