however right after completing the zypper upgrade step with the designated command:
zypper in zypper
couldn’t any longer run zypper again.
always gets the following error:
zypper: symbol lookup error: /usr/lib64/libstdc++.so.6: undefined symbol: _ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4
Hang on a second. This may be a stupid question, but I’ll ask any way. You have zypper installed, so why are you trying to INSTALL zypper with zypper? It should be zypper up zypper
no, it’s no stupid question, was wondering the same thing to be honest but decided not to deviate from procedure described:
* First upgrade the package management stack:
zypper in zypper
* Now execute the full distribution updgrade.
zypper dup
(never made it to the last step )
anyway, don’t think it has anything to do with the problem since it eventually did the “upgrade” so i presume if you have the package installed it will update/upgrade it (depending on your repos setting, right?)
Download the zypper rpm from the 11.2 repository and install it using
rpm, download and install all the dependencies it tell you until you can
install zypper without problem, then change the repos again and do:
zypper clean -a
zypper ref
zypper dup
it work great for me many times, there’s no need for zypper up zypper,
but if you want to do zypper up zypper, not zypper in zypper
VampirD
Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
and installed them with no problems with the command:
rpm -Uhv --oldpackage *
however, no luck, right after tried to run zypper again to follow your suggestion with the error:
zypper
zypper: symbol lookup error: /usr/lib64/libstdc++.so.6: undefined symbol: _ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4
i just don’t have enough experience to really understand what is wrong here and try to resolve it.
though that it might be because of the libstdc++ (the zypper in zypper upgraded this as well) so tried to get the one from the 11.2 repo and had to install it with the command:
rpm -Uhv --oldpackage libstdc++44-4.4.1_20090817-2.3.4.x86_64.rpm
Preparing… ########################################### [100%]
file /usr/lib64/libstdc++.so.6 from install of libstdc++44-4.4.1_20090817-2.3.4.x86_64 conflicts with file from package libstdc++45-4.5.0_20100604-1.12.x86_64
my big problem is that i need to find a reliable way to upgrade my production servers, reinstall is not an option for me, too costy.
however installing 3.3 (didn’t find 3.4 as suggested) didn’t make any difference. is seems that i didn’t uninstalled the (aparently problematic?) 4.5 (which was installed during the “zypper in zypper” -btw, i later tried “zypper up zypper” without any difference, those commands had identical results- was installed and seemed to cause all the problems).
so now i am upgrading with the 4.4 version installed and the upgrade proceses suggested that 4.4 will be removed and replaced with the (problematic?) 4.5. i’ll have the results in about and hour from now.
this is very weird in any case and believe i should have never faced that problem (no?). i followed the designated steps from the guide after all. (not to mention that my problem was rather generic and my installation was almost “minimum” -it’s a server installation without X-windows etc-)
i’ve got exactly the same problem; i tried to follow your steps, but got stuck with your post on 19-Jul-2010 15:29…
i also reinstalled these rpms and forced installation of libstdc++44-4.4.1…
but zypper/yast and so on always returns
symbol lookup error: /usr/lib64/libstdc++.so.6: undefined symbol: _ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4
in my case the solution was to remove the newly installed libstdc++45 (from “zypper up zypper”). then zypper would run happilly with no problem. i suggest you find and remove the libstdc++45 that comes with the 11.3 and then go straigt to the upgrade “zypper dup”.
how did you remove libstdc++45-4.5.0_20100604-1.12.x86_64 ?
zypper rm won’t work cause of the errors mentioned above and i’m quite afraid tof using rpm -e --force --nodeps libstdc++45-4.5.0_20100604-1.12.x86_64 on a productive server
i suggest you try it forst without --force and --nodeps and see it’s dependencies, i think it’s only with a yast module that won’t effect you during th upgrade (if i rember right in my case).
then with --nodeps (i think it will remove it and will be able to use zypper again).
just in case another lost soul has to solve this problem:
i deinstalled the lib using “rpm -e --nodeps” and reinstalled the older lib (got it from suse-ftp: /pub/opensuse/distribution/11.2/repo/oss/suse/x86_64) using “rpm -Uvh”