zypper: symbol lookup error: /usr/lib64/libproxy.so.1: undefined symbol:

Hi Folks,

After upgrade my Opensuse Tumbleweed, an error occurred in zypper:

zypper: symbol lookup error: /usr/lib64/libproxy.so.1: undefined symbol: _ZN9libmodman14module_manager8load_dirENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb

Any ideas?

Thanks…

Apparently you have some incompatible packages installed.

What repos are you using?

cat /etc/zypp/repos.d/*

What exact versions of libmodman1 and libproxy1 do you have installed?

rpm -qi libmodman1 libproxy1

Hi,

Just a note on the printing of the repos, there is an option to print or export the repos using zypper.

zypper repos -e -

Should print the output to standard output a.k.a. stdout, note the trailing - is the key to that or if you like to save it to a file then replace the trailing - (dash) with a file name. see man zypper for more or better yet

PAGER='less +/--export' man zypper

That being said GNU(1) tail can do the same, well almost :slight_smile:

tail -n +1 /etc/zypp/repos.d/*

I’m using these repos

ls -l /etc/zypp/repos.d/
total 24
-rw-r–r-- 1 root root 146 Oct 28 17:34 google-chrome.repo
-rw-r–r-- 1 root root 143 Nov 21 23:15 openSUSE Current non-OSS.repo
-rw-r–r-- 1 root root 135 Nov 21 23:15 openSUSE Current OSS.repo
-rw-r–r-- 1 root root 125 Nov 21 23:15 openSUSE Current updates.repo
-rw-r–r-- 1 root root 135 Nov 21 23:06 packman.repo
-rw-r–r-- 1 root root 130 Oct 28 18:09 Tumbleweed.repo

I have installed this versions for libmodman1 and libproxy1:
rpm -qi libmodman1 libproxy1

Name : libmodman1
Version : 2.0.1
Release : 18.3
Architecture: x86_64
Install Date: Sat 19 Nov 2016 01:27:22 PM BRST
Group : System/Libraries
Size : 31344
License : LGPL-2.1+
Signature : RSA/SHA256, Fri 07 Oct 2016 04:03:33 PM BRT, Key ID b88b2fd43dbdc284
Source RPM : libmodman-2.0.1-18.3.src.rpm
Build Date : Fri 07 Oct 2016 04:03:15 PM BRT
Build Host : cloud121
Relocations : (not relocatable)
Packager : http://bugs.opensuse.org
Vendor : openSUSE
Summary : A Module Management Library
Description :
The Module Loading library offers the choice to use prelinked libraries
from your application out of a pool.
Distribution: openSUSE Leap 42.2
Name : libproxy1
Version : 0.4.13
Release : 6.1
Architecture: x86_64
Install Date: Fri 28 Oct 2016 06:41:31 PM BRST
Group : System/Libraries
Size : 153582
License : GPL-2.0+ and LGPL-2.1+
Signature : RSA/SHA256, Mon 10 Oct 2016 01:38:22 PM BRT, Key ID b88b2fd43dbdc284
Source RPM : libproxy-0.4.13-6.1.src.rpm
Build Date : Mon 10 Oct 2016 01:38:12 PM BRT
Build Host : lamb16
Relocations : (not relocatable)
Packager : http://bugs.opensuse.org
Vendor : openSUSE
URL : http://code.google.com/p/libproxy/
Summary : Libproxy provides consistent proxy configuration to applications
Description :
libproxy offers the following features: * extremely small core
footprint (< 35K)

  • no external dependencies within libproxy core (libproxy modules
    may have dependencies)
  • only 3 functions in the stable external API
  • dynamic adjustment to changing network topology
  • a standard way of dealing with proxy settings across all scenarios
    Distribution: openSUSE Tumbleweed

Can i fix this?

thanks!

Won’t help much in this case though, as zypper is broken… :wink:

You seem to live in the past.
Tumbleweed is its own full distribution since 2 years, not just an addon repo for “openSUSE Current” any more.
Remove these repos (they broke your system) and run “zypper dup” to fully switch to Tumbleweed again.

But let’s fix zypper first.

There you have it:

I have installed this versions for libmodman1 and libproxy1:
rpm -qi libmodman1 libproxy1

Name : libmodman1
Version : 2.0.1
Release : 18.3
Architecture: x86_64
Install Date: Sat 19 Nov 2016 01:27:22 PM BRST
Group : System/Libraries
Size : 31344
License : LGPL-2.1+
Signature : RSA/SHA256, Fri 07 Oct 2016 04:03:33 PM BRT, Key ID b88b2fd43dbdc284
Source RPM : libmodman-2.0.1-18.3.src.rpm
Build Date : Fri 07 Oct 2016 04:03:15 PM BRT
Build Host : cloud121
Relocations : (not relocatable)
Packager : http://bugs.opensuse.org
Vendor : openSUSE
Summary : A Module Management Library
Description :
The Module Loading library offers the choice to use prelinked libraries
from your application out of a pool.
Distribution: openSUSE Leap 42.2

This libmodman1 is for openSUSE Leap 42.2 (i.e. openSUSE Current), not Tumbleweed.
Install the one from the Tumbleweed repo, and zypper will hopefully work again.

sudo rpm -i --force http://download.opensuse.org/tumbleweed/repo/oss/suse/x86_64/libmodman1-2.0.1-17.7.x86_64.rpm

As a test post the output of “zypper lr -d” then, and I’ll tell you exactly what else to do to fix your system.

If the rpm command gives errors, or zypper still doesn’t work, post them.

And also see the Tumbleweed Portal (in particulare the Installation instructions), to bring your knowledge about Tumbleweed up-to-date… :wink:
https://en.opensuse.org/Portal:Tumbleweed

Am Tue, 22 Nov 2016 22:26:01 GMT
schrieb n1lux <n1lux@no-mx.forums.microfocus.com>:

> -rw-r–r-- 1 root root 146 Oct 28 17:34 google-chrome.repo
> -rw-r–r-- 1 root root 143 Nov 21 23:15 openSUSE Current non-OSS.repo
> -rw-r–r-- 1 root root 135 Nov 21 23:15 openSUSE Current OSS.repo
> -rw-r–r-- 1 root root 125 Nov 21 23:15 openSUSE Current updates.repo
> -rw-r–r-- 1 root root 135 Nov 21 23:06 packman.repo
> -rw-r–r-- 1 root root 130 Oct 28 18:09 Tumbleweed.repo

Current and Tumbleweed together?

“no further questions …”

You should fix this horrible mess by choosing EITHER Tumbleweed OR Current
(42.2 atm) for all repos exclusively and not mashing both together.

AK


Never attribute to malice that which can be adequately explained by stupidity.
(R.J. Hanlon)

Yes, resolved!!!

I downloaded a earlier version of libmodman1 for Tumbleweed and then installed with rpm -Uvh --oldpackage

Downgrade

Name : libmodman1
Version : 2.0.1
Release : 18.3

to

Name : libmodman1
Version : 2.0.1
Release : 17.7

and it worked.

Thank you Guys…

Ok, fine.

But you should still remove the 3 “openSUSE Current” repos (or your system will break again when you update it).

You should also add the Tumbleweed update repo, and maybe the Tumbleweed non-oss repo if you need it.
See openSUSE:Migrate Leap to Tumbleweed - openSUSE Wiki

Afterwards, run “zypper dup” to switch all packages that you still may have from 42.2 to the Tumbleweed versions.

Feel free to ask if you have further questions.

I downloaded a earlier version of libmodman1 for Tumbleweed and then installed with rpm -Uvh --oldpackage

It’s not really an “earlier” version, it’s the latest one.
But the rebuild count is higher in 42.2 and that’s probably why you got the 42.2 version installed.

Thank you so much **wolfi323 !!!
**

Am Tue, 22 Nov 2016 22:48:55 GMT
schrieb AK <Akoellh@no-mx.forums.microfocus.com>:

> Am Tue, 22 Nov 2016 22:26:01 GMT
> schrieb n1lux <n1lux@no-mx.forums.microfocus.com>:
>
> > -rw-r–r-- 1 root root 146 Oct 28 17:34 google-chrome.repo
> > -rw-r–r-- 1 root root 143 Nov 21 23:15 openSUSE Current non-OSS.repo
> > -rw-r–r-- 1 root root 135 Nov 21 23:15 openSUSE Current OSS.repo
> > -rw-r–r-- 1 root root 125 Nov 21 23:15 openSUSE Current updates.repo
> > -rw-r–r-- 1 root root 135 Nov 21 23:06 packman.repo
> > -rw-r–r-- 1 root root 130 Oct 28 18:09 Tumbleweed.repo
>
> Current and Tumbleweed together?
>
> “no further questions …”
>
> You should fix this horrible mess by choosing EITHER Tumbleweed OR Current
> (42.2 atm) for all repos exclusively and not mashing both together.
>
>
> AK
>

Damn, sent off the mail too early by accident.

After that (and have a look at the content of the packman repo also, again
EITHER 42.2 OR Tumbleweed) you should fix zypper first:

Take the output of

rpm -qa “zypp” “libproxy” “modman

and manually (yes, manually) download the respective rpm packages from the
respective repos (either Leap 42.2 or Tumbleweed, depending on what you choose)
and install them manually via

rpm -Uvh --force the_respective_rpm_files.rpm

Don’t ignore any warnings/errors, if there are, you will have to
download missing dependencies manually until you can get zypper up and running
again.

If you get zypper running again and after having sanitized your repos, you
can run

zypper dist-upgrade

to hopefully also sanitize your system.

AK


Never attribute to malice that which can be adequately explained by stupidity.
(R.J. Hanlon)

Am Tue, 22 Nov 2016 22:56:01 GMT
schrieb wolfi323 <wolfi323@no-mx.forums.microfocus.com>:

> Code:
> --------------------
> sudo rpm -i --force
> http://download.opensuse.org/tumbleweed/repo/oss/suse/x86_64/libmodman1-2.0.1-17.7.x86_64.rpm
> --------------------

Shouldn’t that be “-U --force” instead of “-i --force”?

A -i would at least risk duplicate entries in the rpm database, -U is
the better choice IMHO.

AK

Never attribute to malice that which can be adequately explained by stupidity.
(R.J. Hanlon)

Now, my current repo list is:

zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.

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

–±--------------±--------------±--------±----------±--------±---------±-------±-------------------------------------------------------------------------±-------
1 | Tumbleweed | Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/ |
2 | google-chrome | google-chrome | Yes | (r ) Yes | Yes | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
3 | packman | packman | Yes | ( p) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ |
4 | repo-debug | repo-debug | Yes | ( p) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/debug |
5 | repo-non-oss | repo-non-oss | Yes | ( p) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss |
6 | repo-oss | repo-oss | Yes | ( p) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/oss |
7 | repo-update | repo-update | Yes | ( p) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/ |

Am Tue, 22 Nov 2016 23:26:08 GMT
schrieb n1lux <n1lux@no-mx.forums.microfocus.com>:

> Now, my current repo list is:
>
> zypper lr -d
> Repository priorities are without effect. All enabled repositories share
> the same priority.
>
>
> # | Alias | Name | Enabled | GPG Check | Refresh |
> Priority | Type | URI
> | Service
> --±--------------±--------------±--------±----------±--------±---------±-------±-------------------------------------------------------------------------±-------
> 1 | Tumbleweed | Tumbleweed | Yes | (r ) Yes | Yes | 99
> | rpm-md | http://tinyurl.com/276rww5 |
> 2 | google-chrome | google-chrome | Yes | (r ) Yes | Yes | 99
> | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64
> |
> 3 | packman | packman | Yes | ( p) Yes | Yes | 99
> | rpm-md |
> http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/
> |
> 4 | repo-debug | repo-debug | Yes | ( p) Yes | Yes | 99
> | yast2 | http://download.opensuse.org/tumbleweed/repo/debug
> |
> 5 | repo-non-oss | repo-non-oss | Yes | ( p) Yes | Yes | 99
> | yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss
> |
> 6 | repo-oss | repo-oss | Yes | ( p) Yes | Yes | 99
> | yast2 | http://download.opensuse.org/tumbleweed/repo/oss
> |
> 7 | repo-update | repo-update | Yes | ( p) Yes | Yes | 99
> | rpm-md | http://download.opensuse.org/update/tumbleweed/
> |
>
>

Well, that looks consistent now.

Now you should be able to run

zypper dist-upgrade

in order to get rid of any non-Tumbleweed packages still installed.

AK


Never attribute to malice that which can be adequately explained by stupidity.
(R.J. Hanlon)

Am Tue, 22 Nov 2016 23:29:27 GMT
schrieb AK <Akoellh@no-mx.forums.microfocus.com>:

> Am Tue, 22 Nov 2016 23:26:08 GMT
> schrieb n1lux <n1lux@no-mx.forums.microfocus.com>:
>
> > Now, my current repo list is:
> >
> > zypper lr -d
> > Repository priorities are without effect. All enabled repositories share
> > the same priority.
> >
> >
> > # | Alias | Name | Enabled | GPG Check | Refresh |
> > Priority | Type | URI
> > | Service
> > --±--------------±--------------±--------±----------±--------±---------±-------±-------------------------------------------------------------------------±-------
> > 1 | Tumbleweed | Tumbleweed | Yes | (r ) Yes | Yes | 99
> > | rpm-md | http://tinyurl.com/276rww5 |
> > 2 | google-chrome | google-chrome | Yes | (r ) Yes | Yes | 99
> > | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64
> > |
> > 3 | packman | packman | Yes | ( p) Yes | Yes | 99
> > | rpm-md |
> > http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/
> > |
> > 4 | repo-debug | repo-debug | Yes | ( p) Yes | Yes | 99
> > | yast2 | http://download.opensuse.org/tumbleweed/repo/debug
> > |
> > 5 | repo-non-oss | repo-non-oss | Yes | ( p) Yes | Yes | 99
> > | yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss
> > |
> > 6 | repo-oss | repo-oss | Yes | ( p) Yes | Yes | 99
> > | yast2 | http://download.opensuse.org/tumbleweed/repo/oss
> > |
> > 7 | repo-update | repo-update | Yes | ( p) Yes | Yes | 99
> > | rpm-md | http://download.opensuse.org/update/tumbleweed/
> > |
> >

>

Addendum:

Repo #1 and #6 are practically the same, you can remove one of
them and you can disable #4 (debug).

AK


Never attribute to malice that which can be adequately explained by stupidity.
(R.J. Hanlon)

Thank you so much Akoellh](https://forums.opensuse.org/member.php/23845-Akoellh)

now, my repo list is:

zypper lr -u
Repository priorities are without effect. All enabled repositories share the same priority.

| Alias | Name | Enabled | GPG Check | Refresh | URI

–±--------------±--------------±--------±----------±--------±------------------------------------------------------------------------
1 | Tumbleweed | Tumbleweed | Yes | (r ) Yes | Yes | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/
2 | google-chrome | google-chrome | Yes | (r ) Yes | Yes | http://dl.google.com/linux/chrome/rpm/stable/x86_64
3 | packman | packman | Yes | (r ) Yes | Yes | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/
4 | repo-update | repo-update | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/tumbleweed/

]’ s

Yes, you are right.
I was a bit tired already when I wrote this. :\

But luckily he used -Uvh anyway… :wink:

Well, I would have rather kept #6, that’s the “official” URL.
Though it doesn’t matter really, this one just redirects to the other one on the server-side.

Thank you so much!
I had to disable > remove Leap 42.3 repository. No idea how that was installed. Your instructions were just what was needed.