LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   serious problem.PLZ HELP IMMEDIATELY !!!!!! (https://www.linuxquestions.org/questions/slackware-installation-40/serious-problem-plz-help-immediately-762995/)

Ssk8harddiefast 10-19-2009 12:45 PM

serious problem.PLZ HELP IMMEDIATELY !!!!!!
 
Hi.I am new to slackware.Today i tried my first installation.everything was fine since i make slackpkg upgrade-all.I had this message bash: /usr/sbin/slackpkg: /bin/sh: bad interpreter: No such file or directory.Nothing is running.No bash,no apps.Absolutelly nothing!!!!!!!Please help as soon as you cAn because if laptop close i must to do for 3 time installation!!!!!!!!!the 2 others installations was for this reason!!!!!!!!!!

smeezekitty 10-19-2009 12:53 PM

boot a live cd
mount your main partition
chroot to the mount point
then type cp /bin/bash /bin/sh

pixellany 10-19-2009 02:34 PM

Quote:

serious problem.PLZ HELP IMMEDIATELY !!!!!
Do you somehow think that there is a group of people on duty to respond "immediately"? We are all volunteers who check at random times---sometimes only for a few minutes.

Please know that some people will not even open a post with a title like this.

onebuck 10-19-2009 07:23 PM

Hi,

Sorry Boss, I'm a little late getting back too work. I'll try to be of aid whenever there's someone that actually provides a solid informational query for their thread/post. :hattip:

I do suggest that the OP looks at the next two links in hope of enlightenment;

vonbiber 10-20-2009 10:06 AM

Quote:

Originally Posted by Ssk8harddiefast (Post 3725127)
bash: /usr/sbin/slackpkg: /bin/sh: bad interpreter: No such file or directory

on slackware you should have the bash binary in
Code:

/bin/bash
check that it's present (you should get an output like the 2nd line)
Code:

ls -l /bin/bash
-rwxr-xr-x 1 root root 678832 2007-05-11 00:19 /bin/bash*

and 2 symbolic links that point to it
Code:

/bin/sh -> /bin/bash
Code:

/usr/bin/bash -> /bin/bash
if /bin/sh or /usr/bin/bash don't point to /bin/bash
you'll need to recreate the symbolic links
Code:

cd /bin
ln -sf bash sh

Code:

cd /usr/bin
ln -sf /bin/bash bash


Ssk8harddiefast 10-20-2009 09:43 PM

sorry for the immediately!i was trying 7-8 hours and i was completely freak out!!!!!!!!!!!!!:(:(:(ok.i will install slackware again now and i will tell you the results!!!!!!!please can someone to explane to me how to install packages here????on gentoo i simple emerge something!!!!here i read for mirrors etc.he reminds me solaris.i can not understant how works slackware package managment.:confused:

spooge 10-20-2009 10:18 PM

installpkg

removepkg

what packages are you trying to install?

pixellany 10-20-2009 10:41 PM

The Slackware manual is pretty good at explaining the package management---including various 3rd party options. The big thing is no dependency-checking by default. That always has stopped me with really getting into Slackware--but I might yet have a epiphany one of these days.

If you think Gentoo is easy, then learning Slackware is going to be pretty quick.

Ssk8harddiefast 10-20-2009 11:07 PM

in fact i am a gentoo user.gentoo is my primary os and installed in my desktop pc.i want slackware for my laptop.is very beautifull!!!!!(not the laptop : D).i want to install conky,gparted and a lot of other packages!!!!!But i am completely new to slackware!!!!!

onebuck 10-21-2009 08:53 AM

Hi,

The subject of package use has been covered many times on the Slackware Forum so a search will get you all sorts of information.

You could look at the 'Slackware Builds, Packages & Scripts' section of 'Slackware-Links'. More than just SlackwareŽ links!

Ssk8harddiefast 10-22-2009 07:32 AM

i made another try and i find that he crash when i am doing bash & kernel update!!!!!why??when he crased i tried to fix the links but seems to be good!!!!:confused:

wdupre1 11-24-2009 02:27 PM

Bad Interpreter
 
This problem occurs when you use slackpkg to update your 64-bit Slackware 13.0 from a 32-bit Slackware 13.0 repository. Unfortunately it is all too easy to accidentally select the wrong mirror in the /etc/slackpkg/mirrors file (it happened to me :-( )

The simplest solution is to re-install the system. Then ensure you select a 64-bit repository in the /etc/slackpkg/mirrors file so that you don't overwrite your critical binaries with their 32-bit counterparts.


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