You are not logged in.
Hi, I was having problems with my netbook...All of a sudden, pacman doesn't work anymore...I can't install or update...It's unusable..
Here's what I get when I do something with pacman:
pacman: error while loading shared libraries: libarchive.so.2: cannot open shared object file: No such file or directory
From what I've read on similar posts, it was said to use .static so I've tried it but unfortunately it did not work as well:
#pacman.static -S libarchive
bash: pacman.static
Any ideas? Thanks in advance
Last edited by kaola_linux (2009-02-08 02:08:00)
Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"
Offline
It looks like you have a slightly older version of either libarchive or pacman installed on your system. The current so is at 2.6.1. Anyway, download a copy of libarchive from some mirror and force install it. By force install I mean to manually decompress the package, and install it into the directories that it's supposed to go in. Immediately afterwards reinstall libarchive through pacman with the -f switch, then run pacman -Suy.
Offline
I have the latest package on my cache...How do I install it? It still gives me error when I do
#pacman -Uf /path/to/libarchive
Ok, so I haven't get what you've said...:) I went to the directory of my cache and looked for libarchive, afterwards I extracted it...Now i have a folder created "usr" with the ff. folders:
bin
include
lib
share
What will I do with them?:/
Last edited by kaola_linux (2009-02-08 02:00:15)
Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"
Offline
Copy the package to somewhere that you have write permissions. Unpack the archive. You can use:
bsdtar -x -f <package_name>
Copy the usr folder of the extracted archive over /usr in the file system as root:
mv usr /usr
Reinstall libarchive with pacman, using the -f switch if necessary. The run pacman -Suy.
Offline
Wow!:D That was fairly simple...thanks alot skottish...:)
Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"
Offline
You're welcome. Just make sure that you reinstall libarchive then update your system after. This is a very important step.
Offline