Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to initialize alpm library #75

Closed
WscriChy opened this issue Oct 4, 2014 · 2 comments
Closed

failed to initialize alpm library #75

WscriChy opened this issue Oct 4, 2014 · 2 comments

Comments

@WscriChy
Copy link

WscriChy commented Oct 4, 2014

pacman -Ql
error: failed to initialize alpm library
(database is incorrect version: /var/lib/pacman/)
error: try running pacman-db-upgrade
/E
pacman -Su
error: failed to initialize alpm library
(database is incorrect version: /var/lib/pacman/)
error: try running pacman-db-upgrade
/E
pacman -Suy
error: failed to initialize alpm library
(database is incorrect version: /var/lib/pacman/)
error: try running pacman-db-upgrade

@WscriChy
Copy link
Author

WscriChy commented Oct 4, 2014

I am not a master in pacman but that the command sequence which helped me

pacman-db-upgrade
pacman-key --init
pacman-key --populate msys2

Then I ve got this problem
warning: mingw-w64-x86_64-gdb: local (7.8-1) is newer than mingw64 (7.6.2-1)

Which was solved by
pacman -Syuu
pacman -Syu

If nobody has any problems of the same kind, the issue can be closed.

Thank you for keeping updating the repositories.

@Alexpux
Copy link
Member

Alexpux commented Oct 5, 2014

This issues is already described in some places:
https://sourceforge.net/p/msys2/tickets/87/
https://github.com/Alexpux/MINGW-packages/issues/240

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants