You are not logged in.

#1 2009-07-04 16:10:47

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

I broke something (libreadline.so.5)

So, I jut tried to install firefox 3.5 and I got some errors saying some files already existed. I decided to force the installation. After that xterm wasn't working so I rebooted.

I get this error:
/bin/bash:error while loading shared libraries: libreadline.so.5 can't open shared object file: No such file or directory

Needless to say I can't boot (I do have some live cd's).

Any help would be great.

Offline

#2 2009-07-04 16:14:24

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: I broke something (libreadline.so.5)

Use the search function.

In short:
1) Boot an Arch live
2) Mount your arch partition on /mnt
3) Run pacman -r /mnt -Syu


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#3 2009-07-04 18:54:22

Andru
Member
Registered: 2008-09-07
Posts: 23

Re: I broke something (libreadline.so.5)

Dethredic

sudo pacman -S bash

Offline

#4 2009-07-04 20:18:54

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: I broke something (libreadline.so.5)

Andru wrote:

Dethredic

sudo pacman -S bash

He can't access to bash, so how can he launch that command?


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#5 2009-07-04 23:38:32

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: I broke something (libreadline.so.5)

arkham wrote:

Use the search function.

In short:
1) Boot an Arch live
2) Mount your arch partition on /mnt
3) Run pacman -r /mnt -Syu

Quick question arkham, can I install arch on an empty drive mounted on /mnt with "pacman -r /mnt -Syu" from a live CD?


This silver ladybug at line 28...

Offline

#6 2009-07-05 00:29:52

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: I broke something (libreadline.so.5)

lolilolicon wrote:

Quick question arkham, can I install arch on an empty drive mounted on /mnt with "pacman -r /mnt -Syu" from a live CD?

No, you can't: this operation is useful only when for some reasons you can't access to your machine anymore; if you want to install arch on an empty drive, use /arch/setup wink


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#7 2009-07-05 02:18:17

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: I broke something (libreadline.so.5)

I thought so... would be nice if pacman could haldle this all alone tho

Thanks for your quick answer, arkham.


This silver ladybug at line 28...

Offline

#8 2009-07-05 23:19:17

Andru
Member
Registered: 2008-09-07
Posts: 23

Re: I broke something (libreadline.so.5)

arkham

He can't access to bash, so how can he launch that command?

When I got the same error, my gnome-terminal stay work, and command worked.

Offline

#9 2009-07-05 23:29:18

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: I broke something (libreadline.so.5)

Andru wrote:

arkham

He can't access to bash, so how can he launch that command?

When I got the same error, my gnome-terminal stay work, and command worked.

Dethredic wrote:

So, I jut tried to install firefox 3.5 and I got some errors saying some files already existed. I decided to force the installation. After that xterm wasn't working so I rebooted.


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#10 2009-07-06 12:17:57

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: I broke something (libreadline.so.5)

lolilolicon wrote:
arkham wrote:

Use the search function.

In short:
1) Boot an Arch live
2) Mount your arch partition on /mnt
3) Run pacman -r /mnt -Syu

Quick question arkham, can I install arch on an empty drive mounted on /mnt with "pacman -r /mnt -Syu" from a live CD?

pacman -r /mnt -Sy base whatever extra packages you want

After that, you have to edit _all_ the config files yourself, since nothing will be autoconfigured.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#11 2009-07-23 23:13:32

Arch.Ben
Member
Registered: 2009-07-23
Posts: 13

Re: I broke something (libreadline.so.5)

is this something that can be fixed before you get the error?

Offline

#12 2009-07-23 23:16:15

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: I broke something (libreadline.so.5)

Arch.Ben wrote:

is this something that can be fixed before you get the error?

Yes.  "pacman -Syu"  and not e.g "pacman -Sy firefox".   Never update individual packages unless you know what you are doing.

Offline

#13 2009-07-23 23:28:27

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: I broke something (libreadline.so.5)

lolilolicon wrote:

I thought so... would be nice if pacman could haldle this all alone tho

Thanks for your quick answer, arkham.

There's a bit more to performing an installation than just dumping packages onto a disk. You might want to brush up on your knowledge wink.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#14 2009-07-24 00:19:57

Arch.Ben
Member
Registered: 2009-07-23
Posts: 13

Re: I broke something (libreadline.so.5)

Allan wrote:
Arch.Ben wrote:

is this something that can be fixed before you get the error?

Yes.  "pacman -Syu"  and not e.g "pacman -Sy firefox".   Never update individual packages unless you know what you are doing.

Ok i did this and somewere it failed and now i can not get any packages...

Offline

#15 2009-07-24 05:04:23

windtalker
Member
Registered: 2008-03-17
Posts: 220

Re: I broke something (libreadline.so.5)

Arch.Ben wrote:
Allan wrote:
Arch.Ben wrote:

is this something that can be fixed before you get the error?

Yes.  "pacman -Syu"  and not e.g "pacman -Sy firefox".   Never update individual packages unless you know what you are doing.

Ok i did this and somewere it failed and now i can not get any packages...

Didn't you just do a full reinstall?
If so, there may not be an packages that need updating:

bash-4.0# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
kdemod-legacy is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
local database is up to date  < < <

Offline

#16 2009-07-24 07:30:18

Arch.Ben
Member
Registered: 2009-07-23
Posts: 13

Re: I broke something (libreadline.so.5)

Didn't you just do a full reinstall?
If so, there may not be an packages that need updating:

bash-4.0# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
kdemod-legacy is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
local database is up to date  < < <

Then why would i continue to get this error?

Offline

#17 2009-07-24 14:51:27

windtalker
Member
Registered: 2008-03-17
Posts: 220

Re: I broke something (libreadline.so.5)

If you're getting the same error as the original poster, the fix has been mentioned above.
You're information to us is scant so if you're still having problems different than the ones on your other thread, we need to know what the problems are,,,, specifically.

Offline

#18 2009-07-24 16:36:36

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: I broke something (libreadline.so.5)

There's been enough lenience, show you're a worthy Arch user, and use that search function.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB