Category: Arch Linux

pacaur/cower not finding libalpm.so

I’ve upgraded Pacman to 4.2 then I can’t upgrade the packages which I have been installed from AUR. The Terminal tell me that:

cower: error while loading shared libraries: libalpm.so.8: cannot open shared object file: No such file or directory

Is the problem is missing libalpm.so.8?
I’m trying to locate it with the command:

$ locate libalpm.so.8
/usr/lib/libalpm.so.8
/usr/lib/libalpm.so.8.0.2

It’s existed, then we need rebuilt cower to help it detect libalpm.so.8. But I can’t install any packages from AUR, the way to done is manual download PKGBUILD then makepkg.

Someones has the error: ERROR: One or more PGP signatures could not be verified!. To solve it, add the missing PGP signatures into your Pacman Keyring:

$ gpg --keyserver pgp.mit.edu --recv-keys F56C0C53
Filed under: Arch Linux, HOW TOTagged with: ,

How to recover deleted files on ext paratition

Yesterday, I’ve just deleted something which I didn’t want to delete! If you use ext3/ext4 you may be able to recover the file with ext3grep or extundelete with information from the file system journal if the content of the file wasn’t already overwritten by new data. Your partition uses ext4 you have to use extundelete, if it’s ext3 you can use also ext3grep
The first step should be to stop all writing processes on the related partition and unmount that partition as soon as possible. Getting the disk unmounted or re-mounted as read only helps a great deal in the recovery effort. Data recovery, especially on EXT file systems, should be attempted from a live CD or other system that isn’t depending on the partition you’re undeleting from.
Continue reading

Filed under: Arch Linux, HOW TOTagged with: ,