You are not logged in.
Pages: 1
Topic closed
I just upgraded my system about an hour ago and now whenever I run any pacman-related command I get this:
$ pacman
error: failed to initialize alpm library
(database is incorrect version: /var/lib/pacman/)
error: try running pacman-db-upgrade
How can I get a correct database version?
Last edited by essence-of-foo (2014-12-20 09:13:18)
Offline
Silly me...
I thought
error: try running pacman-db-upgrade
Was something that was tried by pacman automatically but it was actually a hint of what to do next. So running
pacman-db-upgrade
solved the problem.
Offline
Thanks!
Worked for me too... just another silly arch-user...
Offline
Had to use:
pacman-db-upgrade
fs/super.c : "Self-destruct in 5 seconds. Have a nice day...\n",
Offline
Had to use:
pacman-db-upgrade
So ... you did the same thing as OP and Kobussie? No need to post a 'me too' then.
Offline
Rexilion wrote:Had to use:
pacman-db-upgrade
So ... you did the same thing as OP and Kobussie? No need to post a 'me too' then.
Whoops misread the commands, I was in a hurry.
Pacman suggested pacman-db-update (which it could not find).
fs/super.c : "Self-destruct in 5 seconds. Have a nice day...\n",
Offline
There is a typo in one of the translations... Dutch maybe?
Offline
The Dutch translation did indeed have a typo. It was fixed 12 days ago though, so the fix should have made it into the current pacman release.
Offline
Nope... pacman-4.2.0 was created on 2014-12-19. It will be pulled for the 4.2.1 release.
Offline
My mistake. Then the error is indeed in pacman-4.2.0. It will be fixed in the next release then.
Offline
shameless plug:
The Dutch translation is very lacking at the moment, some new people joined in recent weeks - here's to hoping things will improve shortly.
Anybody looking to put some time into this and review translations or add to the translations for pacman-scripts (22% at this moment), please do drop me a message through transifex. (https://www.transifex.com/accounts/profile/swilkens/)
Last edited by stefanwilkens (2015-01-02 16:40:19)
Arch i686 on Phenom X4 | GTX760
Offline
The "pacman-db-upgrade" operation took about 10 minutes here. This was particularly surprising, given that I've got a SSD.
I was getting worried that it was stuck in an infinite loop somewhere. I think you should add an extra line to the output text:
==> Pre-4.2 database format detected - upgrading...
==> Please be aware - this will take a f**king eternity.
Offline
The "pacman-db-upgrade" operation took about 10 minutes here. This was particularly surprising, given that I've got a SSD.
I was getting worried that it was stuck in an infinite loop somewhere. I think you should add an extra line to the output text:
==> Pre-4.2 database format detected - upgrading...
==> Please be aware - this will take a f**king eternity.
Really? For me, it only took 30 seconds or so to upgrade the database format when I did an upgrade on a buddy's machine. And that's a slow dual-core with a rotating disk.
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
Okay, it looks like my recommendation should be reworded slightly:
==> Pre-4.2 database format detected - upgrading...
==> Please be aware - this may take a f**king eternity.
Offline
FWIW, mine finished almost immediately. Maybe 10 seconds. Maybe you just have a huge amount of packages installed?
Matt
"It is very difficult to educate the educated."
Offline
The output of "pacman -Qs | wc -l" is "3528", which means I've got 1764 packages installed. It's also worth noting that I make use of the pacman-cage package to (normally) speed things up.
Offline
The output of "pacman -Qs | wc -l" is "3528", which means I've got 1764 packages installed.
Q: How to quickly count how many sheep do you have?
A: Count their legs and divide by 4.
pacman -Q | wc -l
Offline
Oh, well done; you truly are brilliant. Would you like a medal or a trophy?
Offline
shameless plug:
The Dutch translation is very lacking at the moment, some new people joined in recent weeks - here's to hoping things will improve shortly.
Anybody looking to put some time into this and review translations or add to the translations for pacman-scripts (22% at this moment), please do drop me a message through transifex. (https://www.transifex.com/accounts/profile/swilkens/)
Check your transifex inbox!
fs/super.c : "Self-destruct in 5 seconds. Have a nice day...\n",
Offline
I use yaourt and get this upon upgrade:
package-query: error while loading shared libraries: libalpm.so.8: cannot open shared object file: No such file or directory
Last edited by shoelesshunter (2015-01-06 04:47:20)
Offline
Search the boards: there have been plenty of threads about package-query and yaourt.
This is done. Closing.
Offline
Pages: 1
Topic closed