haven’t been able to locate this cause. The problem developed as follows:
-
Used a downloaded .ymp file to add a community package, chose NOT to add the repo permanently from the Customize button… installation of package failed.
-
added the repo manually in Yast Software Repositories and it went thru the process without error, BUT the repo never appeared in the list. (this is where i think the problem lies)
-
Tried to add the package using .ymp package without blocking the new repo addition… package installed successfully. Then deleted the repo using Yast Software Repositories gui.
Now starting Yast Software Management the process starts and downloads the repo.xml files from each enabled repo, then displays a error msg stating “Parsing Error”. Dismiss and it loads the normal interface and seems to work properly from then on.
i’m thinking some cache is corrupted, but rather than experiment, i am wondering if some kind soul might point me in the right direction.
thanks in advance.
Which version of openSUSE?
Also: if you launch the YAST Software Repositories module, does it fail as well as Software Management?
this machine has 11.2 32-bit. Starting Software Repositories module yields the same error msg, specifically:
There were errors while restoring the repository configuration.
Parse error
this occurs after the “reading installed packages” finishes and it’s about to display the next window. Both Software Mgmt and Software Repository modules function correctly thereafter.
As i mentioned previously, the repo i had trouble adding “seems” to have left some corruption.
blkdragon@blkdragon:~> zypper lr -d
| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
—±-------------------------------------------------------------------------------------±-------------------------------------------------------------------------------------±--------±--------±---------±---------±-------------------------------------------------------------------------------------±-------
1 | /home/blkdragon/Documents/RPMS/Mozilla | /home/blkdragon/Documents/RPMS/Mozilla | No | No | 99 | plaindir | dir:///home/blkdragon/Documents/RPMS/Mozilla |
2 | /home/blkdragon/Documents/RPMS/Pidgin | /home/blkdragon/Documents/RPMS/Pidgin | No | No | 99 | plaindir | dir:///home/blkdragon/Documents/RPMS/Pidgin |
3 | Plasmoids44 | Plasmoids44 | No | No | 99 | plaindir | dir:///home/blkdragon/Documents/RPMS/Plasmoids44 |
4 | RPMS | RPMS | No | No | 99 | plaindir | dir:///home/blkdragon/Documents/RPMS/ |
5 | Index of /distribution/11.2/repo/non-oss | Index of /distribution/11.2/repo/non-oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/non-oss |
6 | Index of /distribution/11.2/repo/oss | Index of /distribution/11.2/repo/oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/oss |
7 | Index of /repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.2 | Index of /repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.2 | Yes | Yes | 99 | rpm-md | Index of /repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.2 |
8 | Index of /repositories/mozilla/openSUSE_11.2 | Index of /repositories/mozilla/openSUSE_11.2 | No | No | 99 | rpm-md | Index of /repositories/mozilla/openSUSE_11.2 |
9 | Index of /repositories/mozilla:/legacy/openSUSE_11.2 | Index of /repositories/mozilla:/legacy/openSUSE_11.2 | No | No | 99 | rpm-md | Index of /repositories/mozilla:/legacy/openSUSE_11.2 |
10 | Index of /update/11.2 | Index of /update/11.2 | Yes | Yes | 99 | rpm-md | Index of /update/11.2 |
11 | Index of /suse/11.2 | Index of /suse/11.2 | Yes | Yes | 99 | rpm-md | Index of /suse/11.2 |
Personally I would remove all that and start again.
Add repo’s like this in a su terminal:
zypper ar -f http://packman.unixheads.com/suse/11.2/ packman
zypper ar -f http://download.opensuse.org/update/11.2/ updates
only add what you really need
after a some searching i noticed a file in /etc/zypp/services.d named “service.service”… new date.
opened in text editor, containing info about the repo of the package addition i was suspicious of, to wit:
[service]
name=http://opensuse-community.org/subpixel/openSUSE_11.2/
enabled=1
autorefresh=1
url = Index of /subpixel/openSUSE_11.2
type = ris
you’ll remember seeing this thread about it it > How to turn on better fonts antialiasing for KDE4 - openSUSE Forums
i hadn’t seen any “services” functionality of zypper used anywhere else before, so i have no way of knowing the reasoning behind the addition of this item.
to make a long story short, i removed it and the problem is gone.