RPM database corrupt or a Yast problem?

Hi,
I am setting up a netbook ASUS EEEPC 1005HA-P with OpenSuSE 11.1
I have solved several issues like installing wire and wireless atheros drivers. And I can connect to wireless networks using WICD (no chance with Network Manager).
The problem now is with QGIS. I am trying to install it from FACTORY repo, but I am getting an error about missing “libstdc++.so.6”.
I checked and I do have it installed. It is provided by libstdc++43, when using gcc43. IT is already installed under /usr/lib/.

**So why Yast2 is asking for an impossible to find nor install library that is already installed?
**
I presume the RPM database may be corrupt since I had to hard turn off the little machine a couple of times. So, I did as root, a
#rpm --rebuilddb
But it did not changed. I re-installed libstdc++43, but no change neither. I am still getting the message, and I do not get the choice for installing regardless of the warnings… I am having same problem with other applications as well.

any idea?
with kind regards
Gian Paolo

Let us see your repo’s

zypper lr -d

Hi thanks for answering so quick

When attempting to install QGIS, I did it from the Build Service / Geo repo (one click), but it tries to install two repos, the second failing. A repo about Factory:/Non-Free/standard that seems to not exist. But this should not be causing to have an error when looking for a library that is common and even already installed.

So about the list of repos, here it is. Before I had them all enabled, but now I try to stay on the stable side.

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

—±----------------------------------±--------------------------------------------±--------±--------±---------±-------±-------------------------------------------------------------------------------------------------------±-------
1 | Application:Geo | Application:Geo | Yes | Yes | 99 | rpm-md | Index of /repositories/Application:/Geo/openSUSE_Factory |
2 | KDE:KDE4:Community | KDE:KDE4:Community | No | Yes | 99 | rpm-md | Index of /repositories/KDE:/KDE4:/Community/openSUSE_11.1_KDE4_Factory_Desktop |
3 | KDE:KDE4:Factory:Desktop | KDE:KDE4:Factory:Desktop | No | Yes | 99 | rpm-md | Index of /repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.1 |
4 | Libdvdcss repository | Libdvdcss repository | Yes | Yes | 99 | rpm-md | http://suse.linuxin.dk/repo/11.1/ |
5 | Packman Repository | Packman Repository | No | Yes | 99 | rpm-md | Index of /pub/packman/suse/11.1 |
6 | devel:libraries:c_c++ | devel:libraries:c_c++ | No | Yes | 99 | rpm-md | Index of /repositories/devel:/libraries:/c_c++/openSUSE_11.1 |
7 | devel:tools:building | devel:tools:building | No | Yes | 99 | rpm-md | Index of /repositories/devel:/tools:/building/openSUSE_11.1 |
8 | home:SuSEee:EeePC-Ext-Projects | home:SuSEee:EeePC-Ext-Projects | Yes | Yes | 99 | rpm-md | Index of /repositories/home:/SuSEee:/EeePC-Ext-Projects/openSUSE_11.1_Update |
9 | multimedia:audio:KMP | multimedia:audio:KMP | Yes | Yes | 99 | rpm-md | Index of /repositories/multimedia:/audio:/KMP/openSUSE_11.1_Update |
10 | openSUSE-11.1-Updates | openSUSE-11.1-Updates | Yes | Yes | 99 | rpm-md | Index of /update/11.1 |
11 | openSUSE-Language-Add-on_11.1-0_1 | openSUSE-Language-Add-on 11.1-0 | No | No | 99 | yast2 | iso:///?iso=openSUSE-11.1-Addon-Lang-i586.iso&url=file:///home/polo/Backup/SuSE%20ISO/ |
12 | openSUSE-NonOSS-Add-on_11.1-0_1 | openSUSE-NonOSS-Add-on 11.1-0 | No | No | 99 | yast2 | iso:///?iso=openSUSE-11.1-Addon-NonOss-BiArch-i586-x86_64.iso&url=file:///home/polo/Backup/SuSE%20ISO/ |
13 | openSUSE:11.1:Update | openSUSE:11.1:Update | Yes | Yes | 99 | rpm-md | Index of /update/11.1 |
14 | openSUSE_11.1-0_1 | openSUSE 11.1-0 | No | No | 99 | yast2 | iso:///?iso=openSUSE-11.1-DVD-i586.iso&url=file:///home/polo/Backup/SuSE%20ISO/ |
15 | repo | openSUSE BuildService - KDE:Backports | Yes | Yes | 99 | rpm-md | Index of /repositories/KDE:/Backports/openSUSE_11.1 |
16 | repo-debug | openSUSE-11.1-Debug | Yes | Yes | 100 | yast2 | Index of /debug/distribution/11.1/repo/oss |
17 | repo-non-oss | openSUSE-11.1-Non-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.1/repo/non-oss |
18 | repo-oss | openSUSE-11.1-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.1/repo/oss |
19 | repo-source | openSUSE-11.1-Source | Yes | Yes | 100 | yast2 | Index of /source/distribution/11.1/repo/oss |
20 | repo_1 | openSUSE BuildService - OpenOffice.org | Yes | Yes | 99 | rpm-md | Index of /repositories/OpenOffice.org:/STABLE/openSUSE_11.1 |
21 | repo_2 | openSUSE BuildService - X11:Compiz | No | Yes | 99 | rpm-md | Index of /repositories/X11:/Compiz/openSUSE_11.1 |
22 | repo_3 | openSUSE BuildService - Drivers for webcams | Yes | Yes | 99 | rpm-md | Index of /repositories/drivers:/webcam/openSUSE_11.1 |
23 | repo_4 | openSUSE BuildService - Mozilla | Yes | Yes | 99 | rpm-md | Index of /repositories/mozilla/openSUSE_11.1 |
24 | repo_5 | VideoLan Repository | No | Yes | 99 | rpm-md | Index of /pub/videolan/vlc/SuSE/11.1/ |
25 | repo_6 | Main Repository (NON-OSS) | Yes | Yes | 99 | yast2 | Index of /distribution/11.1/repo/non-oss |
26 | repo_7 | Main Repository (OSS) | Yes | Yes | 99 | yast2 | Index of /distribution/11.1/repo/oss |
27 | repo_8 | openSUSE BuildService - Database | Yes | Yes | 99 | rpm-md | Index of /repositories/server:/database/openSUSE_11.1 |
28 | repo_9 | openSUSE Education | Yes | Yes | 99 | yast2 | Index of /download/repo/1.0/11.1 |
29 | system:wicd | system:wicd | Yes | Yes | 99 | rpm-md | Index of /repositories/system:/wicd/openSUSE_11.1

I checked the second repo while attempting to install QGIS from Build Service. And IT does exist not as factory but as:
Index of /distribution/11.1/repo/non-oss

No problem, I added it, but the error about the “nothing providing” the library that is already installed, keeps preventing me from installing this api. :frowning:

I checked the QGIS forum, but I did not find threats about this issue.

Any idea? is the rpm database corrupt? or something else?

You have way too many repos for my liking -

But have you tried manually downloading the .rpm and the install it from terminal

rpm -ihv *package_name --nodeps

Thanks so much for your help.
Many of the APIs I need are in different repos. I try to install them and then disable their repo when doing a general update. (RKward, QGIS, UNetbootin, apis for genetics etc). Here is what I got on the last attempt.

  1. downloaded qgis-1.2.0-4.1.i586.rpm
  2. as root,
rpm -ihv *package_name --nodeps
Warning: HEader DSA signature: NOKEY, key ID 9591c39b
Preparing... 100%  1:qgis... 100%

  1. attempting to run it, failed. It did not even get to the splash intro.
  2. With Yast, verify System, “nothing provides libstdc++.so.6(GIBCXX_3.1.11)…”. Proposed conflict resolution: deinstallation of qgis.

This is the same library that is already installed /usr/lib/ and is provided by libstdc43++. I do not understand why it does not find it.

  1. The library is needed by libgeos0
    I checked and libgeos is not installed!
    Try to install it, and same error appears…“nothing provides libstdc++.so.6” despite it is already installed and is provided by libstdc++43.
  2. Checked in the Build Service and there is also a compat-libstdc++ version. Maybe that is the problem. When attempting to install it from Build Service, Factory/standard, I got “could not be installed”. Same with Factory/snapshot. So manually? I got conflict with file in pack…
  3. other version? changed to libstdc++ instead of versions 33 or 44. Now QGIS and libgeos0 were installed without conflict. But I only get to the splash intro…
    It did not solved my problem but now we know that Yast did not find the conflict between the installed library (in fact did not recognized was there) and the “compatible” library version that was provided by libstcd++. The rmp database was not corrupt and now it it a dep problem based on QGIS that is not solved by GEO repo content.

I am running out of options but for this threat it seems like it is over.

Thanks a lot for the support! I hope to solve now the deps problem.

Running an application from the terminal often provides useful info, did you try that?

Finally I got QGIS!!!

The Geo repo only finds and shows the qgis version 1.1 (pan). The Build Service with one click install, finds also the version 1.2 (daphnis) under the repo Application:Geo/openSUSE_11.1.

But the one click keeps installing the 1.1 version despite the text states for the 1.2 version!.. wrong link?

So I downloaded the 1.2 version (586 since this is for an EEEPC) manually and installed by clicking directly on the rmp file.

Now I have 1.2 splash intro and the api opens completely!!!
Thanks!!! rotfl!

Well done!:wink: