You are not logged in.

#1 2009-11-20 18:43:08

pbrisson
Member
Registered: 2008-06-18
Posts: 6

Get rid of the libreadline issue without crashing everything

Hi Guys,

Last week I've made a simple package installation using pacman, and experimented the dark and unpleasant libreadline.so.5 issue...

Searched in forum, and found this post. Thanks to arkham, I was able to solve this issue using Live CD.

However, I got plenty of boxes running Arch, some of them being VPS, which I can't physically access... So using Live CD to restore them all is not acceptable solution.

In his post, arkham says to always upgrade system using -Syu switches. However, the -u switch ask me for several updates I *don't* want to perform, such as netkit-telnet, portmap, iproute, etc... Which results in unresolvable package conflict:

:: Starting full system upgrade...
:: Replace netkit-telnet with core/inetutils? [Y/n] n
:: Replace iproute with core/iproute2? [Y/n] n
:: Replace atl2 with core/kernel26? [Y/n] n
:: Replace wlan-ng26 with core/kernel26? [Y/n] n
:: Replace rt2500 with core/kernel26? [Y/n] n
:: Replace man with core/man-db? [Y/n] n
:: Replace portmap with core/rpcbind? [Y/n] n
warning: sudo: forcing upgrade to version 1.7.2p1-1
warning: vi: forcing upgrade to version 050325-1

:: pacman has detected a newer version of itself.
:: Do you want to cancel the current operation
:: and install the new pacman version now? [Y/n] n
resolving dependencies...
looking for inter-conflicts...
:: iproute2 conflicts with iproute. Remove iproute? [Y/n] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: iproute2: conflicts with iproute

All of these boxes are live servers running several websites, and I can't afford to crash them for a long period of time (ie: even 30 mins is unacceptable for my clients), so my question is: How can I fix my distros to get pacman up and running again, without upgrading iproute, portmap...

I'm aware my question may lack of details, so tell me if you don't get my point.

Thanks in advance!

Offline

#2 2009-11-20 18:56:39

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

Re: Get rid of the libreadline issue without crashing everything

From man /etc/pacman.conf:

IgnorePkg = package ...
           Instructs pacman to ignore any upgrades for this package when
           performing a --sysupgrade.

Although, there may be problems with the dependencies; to be completely honest, I'm not sure that archlinux is usable in a production server (if you want to keep it up-to-date).

Last edited by arkham (2009-11-20 18:59:25)


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

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

Offline

#3 2009-11-20 19:02:06

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

Re: Get rid of the libreadline issue without crashing everything

upgrading selective packages is not supported. you can break your system by doing that. the only way that is supported is to do pacman -Syu.


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

Offline

#4 2009-11-20 19:04:08

pbrisson
Member
Registered: 2008-06-18
Posts: 6

Re: Get rid of the libreadline issue without crashing everything

Hey arkham...

Yup, it could be the perfect temp solution for this, without having me do the whole system upgrade right now...

As wonder says, I see the system keeps telling me it needs readline however:

error: cannot resolve "readline>=6.0", a dependency of ...

Thanks a lot for your time guys... I'll guess I'll take the time to do a whole system upgrade!

Last edited by pbrisson (2009-11-20 19:05:49)

Offline

Board footer

Powered by FluxBB