You are not logged in.

#1 2011-07-18 05:27:43

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

New install: pacman-db-upgrade...pacman-Syy ...error

Error is :  shared libraries /usr/lib/libalpm.so.6 Invalid argument.

All pertinent packages are installed...openssl, libarchive, libfetch and pacman.  Libalpm is present in /usr/lib and in fact three versions are present ...libalpm.so...libalpm.so.6 and libalpm.so.6.3...

Cannot download any packages with pacman nor run ..Syy..nor run ...Syu...nor use ...pacman -U.

Perhaps the db is corrupt?

Last edited by lilsirecho (2011-07-18 06:40:32)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2011-07-18 05:56:54

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: New install: pacman-db-upgrade...pacman-Syy ...error

...too many ...s

So you have updated pacman to the latest, run pacman-db-upgrade and it's now broken?

Have you tried removing the db files?

# rm /var/lib/pacman/sync/*.db

Then choose an updated mirror, and run `pacman -Sy`.


This silver ladybug at line 28...

Offline

#3 2011-07-18 06:01:44

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: New install: pacman-db-upgrade...pacman-Syy ...error

Sounds reasonable....will attempt that procedure.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2011-07-18 06:39:07

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: New install: pacman-db-upgrade...pacman-Syy ...error

Find that the db file is a directory in /var/lib/pacman/local.

Cannot use the rm command to remove it.

Reduced my mirrorlist to one mirror.

Install is x86_64 via dual .iso 2010.05 but with FTP install for latest packages.

Problem persists...first time pacman didn't get off the ground!!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2011-07-18 07:15:02

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: New install: pacman-db-upgrade...pacman-Syy ...error

lilsirecho wrote:

Find that the db file is a directory in /var/lib/pacman/local.

Sorry, I don't understand what you mean by that. In case you didn't already know...:
/var/lib/pacman/local/ is for storing the local (i.e., installed) packages' database, and you should not touch anything in there.
/var/lib/pacman/sync/ is where the sync db files go, which can be removed and then pulled from the mirrors. For example:

$ ls /var/lib/pacman/sync/
community.db  core.db  extra.db

If you have installed the latest core/pacman (3.5.3-1), you can just remove these .db files and tell pacman to sync them.
That should work. If not, try if you can just wget the .db files:

arch=$(uname -m)
for repo in core extra community; do
  wget http://mirrors.kernel.org/archlinux/$repo/os/$arch/$repo.db
done

Another thing to try is to reinstall pacman:

# arch=$(uname -m); pacman -U http://mirrors.kernel.org/archlinux/core/os/$arch/pacman-3.5.3-1-$arch.pkg.tar.gz

Last edited by lolilolicon (2011-07-18 07:21:36)


This silver ladybug at line 28...

Offline

Board footer

Powered by FluxBB