16.04 - LD_LIBRARY_PATH contains the traditional /lib directory, but not the multiarch directory /lib/x86_64-linux-gnu - Ask Ubuntu


i unfortunately tried install teamviewer in ubuntu 16.04 failed. tried remove of packages required dependency, using command:

sudo dpkg --remove --force-remove-reinstreq liblzma5:i386 libc6-dbg:amd64 libpam-systemd:amd64 libgcrypt20:i386  libc6-i386 libpcre3:i386 libasound2:i386 libgpg-error0:i386 libselinux1:i386 libc6-dev:amd64 libgcc1:i386 

but got stuck here.

sayantan@sayantan-labpc:~$ sudo apt-get -f install [sudo] password sayantan:  reading package lists... done building dependency tree        reading state information... done correcting dependencies... done following additional packages installed:   libc6 libpam-systemd libsystemd0 systemd suggested packages:   glibc-doc systemd-ui systemd-container following packages upgraded:   libc6 libpam-systemd libsystemd0 systemd 4 upgraded, 0 newly installed, 0 remove , 127 not upgraded. 3 not installed or removed. need 0 b/6,690 kb of archives. after operation, 54.3 kb of additional disk space used. want continue? [y/n] y preconfiguring packages ... (reading database ... 321169 files , directories installed.) preparing unpack .../libc6_2.23-0ubuntu4_amd64.deb ...  ld_library_path contains traditional /lib directory, not multiarch directory /lib/x86_64-linux-gnu. not safe upgrade c library in situation; please remove /lib/directory ld_library_path , try again.  dpkg: error processing archive /var/cache/apt/archives/libc6_2.23-0ubuntu4_amd64.deb (--unpack):  subprocess new pre-installation script returned error exit status 1 processing triggers libc-bin (2.23-0ubuntu3) ... errors encountered while processing:  /var/cache/apt/archives/libc6_2.23-0ubuntu4_amd64.deb e: sub-process /usr/bin/dpkg returned error code (1) sayantan@sayantan-labpc:~$  

i checked current ld_config_path, still doesn't help:

sayantan@sayantan-labpc:~$ echo $ld_library_path /lib/x86_64-linux-gnu/ sayantan@sayantan-labpc:~$ 

i tried force overwrite package, still resulted in same result.

sayantan@sayantan-labpc:~$ sudo dpkg -i --force-overwrite /var/cache/apt/archives/libc6_2.23-0ubuntu4_amd64.deb (reading database ... 321169 files , directories installed.) preparing unpack .../libc6_2.23-0ubuntu4_amd64.deb ...  ld_library_path contains traditional /lib directory, not multiarch directory /lib/x86_64-linux-gnu. not safe upgrade c library in situation; please remove /lib/directory ld_library_path , try again.  dpkg: error processing archive /var/cache/apt/archives/libc6_2.23-0ubuntu4_amd64.deb (--install):  subprocess new pre-installation script returned error exit status 1 processing triggers libc-bin (2.23-0ubuntu3) ... errors encountered while processing:  /var/cache/apt/archives/libc6_2.23-0ubuntu4_amd64.deb sayantan@sayantan-labpc:~$  

please resolve problem.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User