LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Multilib issue: error upgrading glibc. System unusable. Slackware64 current (http://www.linuxquestions.org/questions/slackware-14/multilib-issue-error-upgrading-glibc-system-unusable-slackware64-current-4175462767/)

val3xiv 05-20-2013 06:21 PM

Multilib issue: error upgrading glibc. System unusable. Slackware64 current
 
Hi all.
Slackware64 current installed from scratch. Tried to enable multilib following this http://docs.slackware.com/slackware:multilib
Code:

# SLACKVER=current
# mkdir multilib
# cd multilib
# lftp -c "open http://taper.alienbase.nl/mirrors/people/alien/multilib/ ; mirror ${SLACKVER}"
# cd ${SLACKVER}
# upgradepkg --reinstall --install-new *.t?z

After some succesful upgrade I got this error

Quote:

+==============================================================================
| Upgrading glibc-2.17_multilib-x86_64-3alien package using ./glibc-2.17_multilib-x86_64-3alien.txz
+==============================================================================

Pre-installing package glibc-2.17_multilib-x86_64-3alien...
/sbin/installpkg: line 567: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 38: sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
/sbin/installpkg: line 58: /sbin/ldconfig: cannot execute binary file
then I cannot use my slackware anymore

Code:

# ls
-bash: /bin/ls: No such file or directory

What am I missing?

Thanks in advance

val3xiv

tuxbg 05-21-2013 06:06 AM

Boot from Slack DVD,use wget to download glibc and glibc-solibs.Then mount your root partition.
Then run installpkg --root /mount_point_of_your_root_partition glibc-*
You should upgrade first glibc-solibs then glibc and again glibc-solibs

val3xiv 05-21-2013 07:20 AM

No, the problem was me!
I thought I had installed the Slackware64 but there was a mistake and the installed installed one was the Slackware 32 bit.
Now I've installed the right version and multilib works like a charm.
Sorry for bothered anyone with this stupid neglect.

val3xiv


All times are GMT -5. The time now is 09:57 PM.