Messed up by accidentally adding current repo

Hi everyone,

I just started using Opensuse and I am really keen on mastering Linux. As it is more a testing environment for me, I started using Tumbleweed as I wouldnt mind bleeding edge software.

So I have been running Opensuse since last week now, and I am very happy with it so far. Yet, I already managed to mess it up.

I did some 1 Click install with Opensuse Leap, therefore repositories were added to my sources.list (or something equivalent whatever ZYpper uses). And now after updating Zypper is broking.
The error is:

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

I have already done a little bit of homework by searching the forum and therefore I might as well directly state some of the requested output in similar topics.
THis is the output of:

cat /etc/zypp/repos.d/*



http-download.opensuse.org-1de8786e]
name=openSUSE:Leap:42.2:NonFree
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/distribution/leap/42.2/repo/non-oss/
type=yast2
keeppackages=0
[http-download.opensuse.org-f80f9087]
name=openSUSE:Leap:42.2
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/distribution/leap/42.2/repo/oss/
type=yast2
keeppackages=0
[http-download.videolan.org-3df8fd54]
name=SuSE
enabled=1
autorefresh=1
baseurl=http://download.videolan.org/SuSE/Tumbleweed/
type=rpm-md
keeppackages=0
[http-ftp.uni-erlangen.de-03b05aa8]
name=Packman Repository
enabled=1
autorefresh=1
baseurl=http://ftp.uni-erlangen.de/pub/mirrors/packman/suse/openSUSE_Tumbleweed
type=rpm-md
keeppackages=0
[repo-debug]
name=openSUSE-Tumbleweed-Debug
enabled=0
autorefresh=1
baseurl=http://download.opensuse.org/debug/tumbleweed/repo/oss/
path=/
type=NONE
keeppackages=0
[repo-non-oss]
name=openSUSE-Tumbleweed-Non-Oss
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/tumbleweed/repo/non-oss/
path=/
type=yast2
keeppackages=0
[repo-oss]
name=openSUSE-Tumbleweed-Oss
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/tumbleweed/repo/oss/
path=/
type=yast2
keeppackages=0
[repo-source]
name=openSUSE-Tumbleweed-Source
enabled=0
autorefresh=1
baseurl=http://download.opensuse.org/source/tumbleweed/repo/oss/
path=/
type=NONE
keeppackages=0
[repo-update]
name=openSUSE-Tumbleweed-Update
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/update/tumbleweed/
path=/
type=rpm-md
keeppackages=0


Also


zypper ps -s
The following running processes use deleted files:

PID   | PPID | UID  | User       | Command                           | Service         
------+------+------+------------+-----------------------------------+-----------------
1     | 0    | 0    | root       | systemd                           |                 
374   | 1    | 0    | root       | systemd-journald                  | systemd-journald
427   | 1    | 0    | root       | haveged                           | haveged         
978   | 1    | 0    | root       | auditd                            | auditd          
1001  | 1    | 499  | messagebus | dbus-daemon (deleted)             | dbus            
1004  | 1    | 0    | root       | smartd                            | smartd          
1005  | 1    | 485  | avahi      | avahi-daemon                      | avahi-daemon    
1011  | 1    | 0    | root       | irqbalance                        | irqbalance      
1028  | 1    | 0    | root       | mcelog                            | mcelog          
1033  | 1    | 0    | root       | systemd-logind                    | systemd-logind  
1061  | 1    | 0    | root       | cupsd                             | cups            
1120  | 1    | 0    | root       | agetty                            | getty@tty1      
1227  | 1    | 0    | root       | wpa_supplicant                    | wpa_supplicant  
1256  | 1    | 0    | root       | sddm                              | display-manager 
1270  | 1256 | 0    | root       | Xorg                              | display-manager 
1319  | 1    | 0    | root       | master                            | postfix         
1320  | 1319 | 51   | postfix    | pickup                            | postfix         
1321  | 1319 | 51   | postfix    | qmgr                              | postfix         
1337  | 1    | 0    | root       | cron                              | cron            
1350  | 1256 | 0    | root       | sddm-helper                       |                 
1352  | 1    | 1000 | bas        | systemd                           |                 
1353  | 0    | 1000 | bas        | systemd                           |                 
1356  | 1350 | 1000 | bas        | bash                              |                 
1371  | 1    | 1000 | bas        | dbus-launch (deleted)             |                 
1372  | 1    | 1000 | bas        | dbus-daemon (deleted)             |                 
1412  | 1356 | 1000 | bas        | gpg-agent                         |                 
1448  | 1    | 1000 | bas        | start_kdeinit (deleted)           |                 
1449  | 1    | 1000 | bas        | kdeinit5 (deleted)                |                 
1450  | 1449 | 1000 | bas        | klauncher (deleted)               |                 
1453  | 1449 | 1000 | bas        | kdeinit5 (deleted)                |                 
1470  | 1356 | 1000 | bas        | kwrapper5 (deleted)               |                 
1471  | 1449 | 1000 | bas        | ksmserver                         |                 
1472  | 1    | 1000 | bas        | kaccess                           |                 
1477  | 1    | 1000 | bas        | kglobalaccel5 (deleted)           |                 
1489  | 1    | 1000 | bas        | dconf-service                     |                 
1490  | 1471 | 1000 | bas        | kwin_x11                          |                 
1497  | 1471 | 1000 | bas        | baloo_file (deleted)              |                 
1498  | 1471 | 1000 | bas        | kdeconnectd (deleted)             |                 
1499  | 1471 | 1000 | bas        | krunner                           |                 
1500  | 1471 | 1000 | bas        | plasmashell                       |                 
1501  | 1471 | 1000 | bas        | polkit-kde-authentication-agent-1 |                 
1502  | 1471 | 1000 | bas        | xembedsniproxy                    |                 
1506  | 1    | 0    | root       | upowerd                           | upower          
1517  | 1    | 1000 | bas        | pulseaudio                        |                 
1561  | 1449 | 1000 | bas        | org_kde_powerdevil                |                 
1579  | 1    | 1000 | bas        | kactivitymanagerd                 |                 
1589  | 1    | 1000 | bas        | kscreen_backend_launcher          |                 
1600  | 1    | 1000 | bas        | kactivitymanagerd                 |                 
1619  | 1    | 1000 | bas        | amarok                            |                 
1645  | 1    | 1000 | bas        | kdeinit4 (deleted)                |                 
1648  | 1645 | 1000 | bas        | kdeinit4 (deleted)                |                 
1674  | 1    | 1000 | bas        | kdeinit4 (deleted)                |                 
1680  | 1    | 1000 | bas        | obexd                             |                 
1730  | 1449 | 1000 | bas        | kdeinit5 (deleted)                |                 
1825  | 1    | 1000 | bas        | kuiserver5                        |                 
2078  | 1500 | 1000 | bas        | firefox (deleted)                 |                 
2105  | 2078 | 1000 | bas        | kmozillahelper (deleted)          |                 
2107  | 1    | 1000 | bas        | at-spi-bus-launcher               |                 
2115  | 1    | 1000 | bas        | gvfsd                             |                 
2120  | 1    | 1000 | bas        | gvfsd-fuse                        |                 
2200  | 2078 | 1000 | bas        | plugin-container (deleted)        |                 
2233  | 1645 | 1000 | bas        | kdeinit4 (deleted)                |                 
2298  | 1500 | 1000 | bas        | ksysguardd                        |                 
2492  | 1500 | 1000 | bas        | konsole (deleted)                 |                 
2495  | 2492 | 1000 | bas        | bash                              |                 
2522  | 1499 | 1000 | bas        | kcmshell5                         |                 
2567  | 2495 | 0    | root       | su                                |                 
2570  | 2567 | 0    | root       | bash                              |                 
13927 | 1645 | 1000 | bas        | kdeinit4 (deleted)                |                 

You may wish to restart these processes.
See 'man zypper' for information about the meaning of values in the above table.


So I already started with removing all the NON tumbleweed repos, as I assume those broke the system… But I can’t open Yast as that is also broken…

So I am really stuck now. And I’m motivated to fix this instead of reinstalling.

Hope anyone can help me.

Kind regards,

Bas

Better list your list of repos using

zypper lr -d

Somebody else had the same problem not too long ago:
https://forums.opensuse.org/showthread.php/521178-zypper-symbol-lookup-error-usr-lib64-libproxy-so-1-undefined-symbol?highlight=zypper%3A+symbol+lookup+error%3A

As your error messages are exactly the same, it’s likely that the same solution will help you too… :wink:
I.e. download libmodman1 from the Tumbleweed repo and install it manually with rpm.
This should do currently (until libmodman1 gets updated):

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

That should fix your zypper, then run “zypper dup” (after you removed the 42.2 repos) to get back to a consistent Tumbleweed system.

Btw, it’s generally not a good idea to use both the VideoLAN and the Packman repo. I would suggest to remove VideoLAN too, as vlc (the very same version) is available from Packman anyway.