You are not logged in.

#1 2010-02-01 19:40:21

skwo
Member
Registered: 2008-11-13
Posts: 133

bash died after upgrade to 4.1.002-1 [solved]

Hi, I got a list of pending upgrade, but since nvidia and xorg making troubles to me I update single packages, packages that seems that cannot harm the system. Today I tried bash, Ive been using bash-4.0.035-1-i686 and upgraded to bash-4.1.002-1, after the upgrade I got an error message:

Proceed with installation? [Y/n] 
:: Retrieving packages from core...
 bash-4.1.002-1-i686     1107.7K  318.9K/s 00:00:03 [#####################] 100%
checking package integrity...
(1/1) checking for file conflicts                   [#####################] 100%
(1/1) upgrading bash                                [#####################] 100%
sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
error: command failed to execute correctly
sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
error: command failed to execute correctly

Downgrading fails as well:

yaourt -U /var/cache/pacman/pkg/bash-4.0.035-1-i686.pkg.tar.gz
/bin/bash: symbol lookup error: /bin/bash: undefined symbol: rl_filename_rewrite_hook

Needless to say that opening new terminal fails as well.

Any ideas?

Thanks!

[EDIT]
Seems like 4.0.035 is corrupted:

sudo pacman -U /var/cache/pacman/pkg/bash-4.0.035-1-i686.pkg.tar.gz 
loading package data...
error: error while reading package /var/cache/pacman/pkg/bash-4.0.035-1-i686.pkg.tar.gz: Damaged tar archive
error: '/var/cache/pacman/pkg/bash-4.0.035-1-i686.pkg.tar.gz': libarchive error

Luckily downgrade to 4.0.033-1 works.

Last edited by skwo (2010-02-01 19:45:36)


ArchLinux x86_64 on Dell Latitude E5410

Offline

#2 2010-02-01 19:42:28

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: bash died after upgrade to 4.1.002-1 [solved]

happens when you do partial updates. its broken because readline wasn't updated.

next time always use pacman -Syu


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-02-01 19:44:49

skwo
Member
Registered: 2008-11-13
Posts: 133

Re: bash died after upgrade to 4.1.002-1 [solved]

Wow thanks for a fast answer wonder!
Well pacman -Syu brakes other things so Ill stay with my current setup for now smile


ArchLinux x86_64 on Dell Latitude E5410

Offline

#4 2010-02-01 19:47:38

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: bash died after upgrade to 4.1.002-1 [solved]

skwo wrote:

Wow thanks for a fast answer wonder!
Well pacman -Syu brakes other things so Ill stay with my current setup for now smile

heh -Syu doesn't break anything. not doing it can break everything like you did big_smile


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2010-02-01 19:51:02

skwo
Member
Registered: 2008-11-13
Posts: 133

Re: bash died after upgrade to 4.1.002-1 [solved]

wonder wrote:
skwo wrote:

Wow thanks for a fast answer wonder!
Well pacman -Syu brakes other things so Ill stay with my current setup for now smile

heh -Syu doesn't break anything. not doing it can break everything like you did big_smile

Lol true lol
anyway -Suy breaks my xorg


ArchLinux x86_64 on Dell Latitude E5410

Offline

Board footer

Powered by FluxBB