LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 04:05 PM   #16
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: arch linux, slackware, ubuntu studio
Posts: 141

Original Poster
Rep: Reputation: 16

Here's where I'm at...

I got a usb drive & have arch live disk on it.

I boot the live disk... & I type:

mkdir /mnt/xxx
mount /dev/sda1 /mnt/xxx

then...

pacman -r /mnt/xxx -Su

It won't install everything because it claims I don't have enough space. (free space on the drive is about 24 gigs-- I have more than enough space. -I wonder if this has something to do with the size of the flash drive?)

I know this'll make you scream... But, just to see what happens... I grab something non-vital from the list (In this case Gimp.) and just upgrade that. Gimp requires gegl & gegl02 to upgrade. gegl won't install because it says a bunch of the files in /usr/lib/gegl already exist. The thing that troubles me is... it also says files for '/usr/share/locale/es/LC... (& several others) already exists too. Well, I didn't mess with my locale. it's en. I went & checked everyplace I could think of for that & it's still set correctly to en_us. -I'm not sure if that means something or not.

Still getting the same error too...

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

Any ideas? & thanks everyone for your help.
 
Old 10-05-2015, 07:15 PM   #17
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: arch linux, slackware, ubuntu studio
Posts: 141

Original Poster
Rep: Reputation: 16
Alright-- I think I finally figured it out.

When gegl updated something must of gone wrong & I had a bunch of corrupt files everywhere. Used the live disk to fix.

-Thanks everyone!

Figured I'd add this in case someone else has the same issue...

Here's how I fixed it...

download the arch live disk...

booted it up & went

mkdir /mnt/xxx
mount /dev/sdxx /mnt/xxx

then went pacman --root /mnt/xxx -Su

-Hope that helps!

Last edited by spamhippy; 10-05-2015 at 08:35 PM.
 
Old 10-19-2015, 02:19 PM   #18
debguy
Member
 
Registered: Oct 2014
Location: U.S.A.
Distribution: mixed, mostly debian slackare today
Posts: 207

Rep: Reputation: 19
> Something baout /bin/bash not found ncurses or something like that. -Then...

give it what it asked for ncurses. dont do nothign else until it has it trying using pkg utils to get all of the ncurses (+ncurses compat older?) installed that you can. you'll need them.

your bash was built against ncurses and ncurses is broken (which? there are several). not unsual a lib is missing or wrong version. that's why i built a chroot not requirig ncurses (a bit*h to build) and have 3 versions of bash: small, regular, and stand-alone (large)

what is unusual is todays system are build NOT TO BOOT unless all of these wicked depends are pre-resolved. (old slackware could boot w/o ncurses and so many other "so called depends", but did use them after boot)

on YOUR system you may need these in /lib or /usr/lib - depends on distro. not me - i boot into / without ncurses but software after login is made to use it and does.

/usr/lib/libncurses++w.a /usr/lib/libncurses.so.x.x
/usr/lib/libncurses++w.la /usr/lib/libncurses.so.x
/usr/lib/libncurses++w.so /usr/lib/libncurses.so.x.x.x
/usr/lib/libncurses++w.so.x /usr/lib/libncurses_g.a
/usr/lib/libncurses++w.so.x.0.x /usr/lib/libncursesw.a
/usr/lib/libncurses.a /usr/lib/libncursesw.la
/usr/lib/libncurses.la /usr/lib/libncursesw.so
/usr/lib/libncurses.so /usr/lib/libncursesw.so.x
/usr/lib/libncurses.so.x /usr/lib/libncursesw.so.x.x.x

if your interested in building ncurses (and look closely: ncursesw is ncurses with widec support: is a whole separate library from ncurses, and ncurses with c++ is a whole separate ncurses, and there are SEVERAL versions to build but that (debian,redhat) usuall just build 2 and exclude software asking for any of the several others)

http://sourceforge.net/p/x-lfs-2010/ (my own lfs)

(or check LFS too linux from scratch everyone has heard of)

has they ways and means to make a ncurses free chroot, and in file (script) "build" shows how to build ncurses using a plain jane GNU/Linux (unhacked gcc and includes - if yours are all hacked by distro then not all fixes are needed maybe maybe not. you see: they hack it up, then build all software to build only based upon hacked build-toolchain when you dumbly walk in and try to compile nothing work unless you have committed to using their hacks and their packages. at which point your only practical choice is to use their pre-built binaries due to many other issues i haven't mentioned

(if your using a distro there is little you can do about it but to use their packaged bins. just keep in mind what is going on)

Last edited by debguy; 10-19-2015 at 02:27 PM.
 
Old 10-20-2015, 09:03 PM   #19
spamhippy
Member
 
Registered: Jul 2004
Location: wisconsin
Distribution: arch linux, slackware, ubuntu studio
Posts: 141

Original Poster
Rep: Reputation: 16
Um.. Hello,--

Thanks for the reply but as previously stated -problem solved/thread closed.

To fix it I....

download the arch live disk...

booted it up & went

mkdir /mnt/xxx
mount /dev/sdxx /mnt/xxx

then went pacman --root /mnt/xxx -Su
 
  


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 06:53 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