LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-05-2015, 12:31 AM   #1
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: arch linux, slackware, ubuntu studio
Posts: 141

Rep: Reputation: 16
Bash not working...


(First off.. I'm going to apologize from the get-go. It's been awhile since I've had to do anything 'serious' with my linux setup. So, I'm rusty and I think I might of screwed something up bad here. LOL)

I'm running arch linux & have crossed posted this on their forums. -Just looking for any help I can get.

It started when I was updating my system (pacman -Syu) and it wasn't cooperating. gegl was giving me strange errors & I saw that it also wanted to update gimp. -I figured there must be some sort of conflict. It uploaded all the files... but, wouldn't install everything because of the error. Just to get a few things installed & narrow down the somewhat long list.. I type 'pacman -S' and began installing several things that way. (i.e. pacman -S bash chromium , etc... etc..) things began to install... but I kept getting this weird error. -Something baout /bin/bash not found nwcurses or something like that. -Then... I couldn't get back into xterminal or anything. It seems like anything that calls bash is giving me grief. I made a bad move and tried restarting my computer. Arch boots up.. I get a couple of processes that fail and then it hangs before it can start up the graphics & I can get into LXDE. I threw in my knoppix disk and that's what I'm using right now. I'm wondering if I reinstalled bash if that'd fix the problem. -Thing is... I'm not even sure how I can run 'pacman -S bash' in my current predicament,

And, Thank you for your time.
 
Old 10-05-2015, 12:45 AM   #2
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,353
Blog Entries: 3

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Bash not working...

I think it would help if you could grab the error messages / logs.
Did you tried to boot in rescue mode?
 
Old 10-05-2015, 01:10 AM   #3
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: arch linux, slackware, ubuntu studio
Posts: 141

Original Poster
Rep: Reputation: 16
Thanks for the reply. syslinux doesn't have a 'rescue mod' per se. Just my current kernel & my 'fall back.' neither work. (It might be helpful to get to a spot where I can try & type commands in.. but, not sure how to do that.) -trying to find where systemd dumps it's logs...
 
Old 10-05-2015, 01:31 AM   #4
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,353
Blog Entries: 3

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Bash not working...

Journal files are located under /var/log/journal.
 
Old 10-05-2015, 01:52 AM   #5
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: arch linux, slackware, ubuntu studio
Posts: 141

Original Poster
Rep: Reputation: 16
/var/log/journal does contain files... but.. when I open them in leafpad or anything... I get nothing of worth. um...?
 
Old 10-05-2015, 02:00 AM   #6
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,353
Blog Entries: 3

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Bash not working...

Use journalctl --file or --dir from your "rescue" system.

Last edited by Tonus; 10-05-2015 at 02:03 AM.
 
Old 10-05-2015, 02:16 AM   #7
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: arch linux, slackware, ubuntu studio
Posts: 141

Original Poster
Rep: Reputation: 16
My knoppix disk is old enough that it doesn't have systemd (so... no journalctl --file) the guys over on the arch forums think ncurses is messed up. they tried to get me to chroot from knoppix & when I try to start bash I get the error I was getting before....

/bin/bash: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory

So.. trying to figure that one out now.

Any ideas? LOL
 
Old 10-05-2015, 04:07 AM   #8
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,353
Blog Entries: 3

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Bash not working...

I'll try to simlink the newest lib you have to the one needed.

A bit ugly but usually works.
 
Old 10-05-2015, 06:02 AM   #9
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: arch linux, slackware, ubuntu studio
Posts: 141

Original Poster
Rep: Reputation: 16
um... I'm not quite sure how to do that. LOL.
 
Old 10-05-2015, 06:44 AM   #10
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Blog Entries: 4

Rep: Reputation: 80
Maybe pick an easier distro e.g Mageia.

cheers.
 
Old 10-05-2015, 06:51 AM   #11
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,353
Blog Entries: 3

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by spamhippy View Post
um... I'm not quite sure how to do that. LOL.
ln - s /path/to/existing/lib /path/to/missing/lib

Might have to do this as root to be able to...
 
Old 10-05-2015, 06:53 AM   #12
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,353
Blog Entries: 3

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by nigelc View Post
Maybe pick an easier distro e.g Mageia.

cheers.
Not the best way to learn I guess :-D

And would have recommended Slackware, as it avoids systemd (argh I said it!).
 
Old 10-05-2015, 07:29 AM   #13
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: arch linux, slackware, ubuntu studio
Posts: 141

Original Poster
Rep: Reputation: 16
@ niglc

I've actually been on arch for a few years now.,. Before that ubuntu studio & before that- slackware. (I started on version 10 of slackware.) It's just that I've had a million things going on this past year or so... Arch has been behaving very well for me for quite some time now & I just haven't had to do anything real technical for awhile now. i.e. -I'm rather rusty guys & trying to figure this out. My apologies. I know how to symlink.. just what to whom was my question.

Here's where I'm at...

I found this-- https://bbs.archlinux.org/viewtopic.php?id=202577

Long story short, They want me to download a live disk for arch & do pacman off of their to update things because a new version of ncurses came out & bash & the new version of ncurses don't want to upgrade/ play together nicely. I tried to do that... but my old version of knoppix live disk doesn't want to let me take the disk out & burn the arch disk.

I tried a nasty hack I found with a symlink

sudo ln -s /usr/lib/libncursesw.so{,.5}

& that didn't do the trick. It'd be nice if I could get systemd to just let me log into the command line... but, I can't figure that one out because systemd is weird. (& it's late. & I'm stupid.)

I liked slackware -but, I just got burnt out messing with things all the time. (I'm lazy. LOL) I went to ubuntu studio because I draw & play music and thought it'd be an easy way to go. --I just got sick of everything going out of date every 6 months and having to do a complete upgrade on my system. So, I went rolling release. Once you got it all setup iy's pretty cool. -Just check the front page of archlinux.org to make sure there's no upgrade surprises once you got everything setup... I'm just not sure why this one was never mentioned. :/

Anyways,-- thanks for all the help.
 
Old 10-05-2015, 07:41 AM   #14
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,353
Blog Entries: 3

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Bash not working...

If you can download the iso file, you can boot from it with grub2. Just have to remember to update it after the modification is done.
 
Old 10-05-2015, 08:23 AM   #15
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: arch linux, slackware, ubuntu studio
Posts: 141

Original Poster
Rep: Reputation: 16
My bootloader is syslinux. (though.. there might be a way to do that in syslinux.. I'd have to check.) I got a flash drive & I'm going to try that route. (booting the live disk off the drive.) Though,-- I have to get a few hours sleep. Thanks again for all of your help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bash Aliases Not Working schachwizard Linux - Newbie 6 10-12-2010 04:21 PM
Running bash but common bash commands not working michellepace Linux - Newbie 11 07-17-2010 09:19 AM
Bash scripts not working anticuchos Linux - Newbie 5 09-25-2005 09:40 PM
history not working in bash subu_s AIX 2 12-29-2004 12:49 PM
Bash script not working AMMullan Linux - General 2 09-28-2003 07:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration