On Sun, Jan 2, 2011 at 1:38 PM, Nilesh Govindarajan <nilesh@itech7.com>wrote:
On 01/02/2011 01:35 PM, Nilesh Govindarajan wrote:
On 01/02/2011 01:20 PM, Madhurya Kakati wrote:
I was wondering if theres anyway to to install a package in such a way that pacman over writes all the files. I tries pacman -Sf xz but it didn't help.
A quick solution to your problem is remove /usr/local/bin/xz and create a symlink to liblzma.so.0 in /usr/lib
cd /usr/lib ln -s liblzma.so liblzma.so.0
*NOTE: This is not the fix, it's a hack.*
Hey wait a minute, does /usr/bin/xz exist? If it is existing, try running /usr/bin/xz with full path. It must work. In that case, no symlinks etc is required, remove /usr/local/bin/xz.
-- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Website: http://www.itech7.com VPS Hosting: http://www.itech7.com/a/vps
yes /usr/bin/xz does exist. the problem is that i once messed up xz and had to force remove it from the system and install it manually via compiling. i didn't set -prefix=usr back then and it got installed to /usr/local/. and i guess thats what causing all this