You are not logged in.
I screwed something up. I can't say what exactly, because the terminal window is long closed (the one which I think is where I caused this whole thing). I think it prompted me about removing invalid and no longer needed keys and I said yes to approximately 10 of them, but they kept on coming and I got a bad feeling so I exited.
Now when I try to install things I get this:
[user380@arch ~]$ sudo pacman -S xfce4
[sudo] password for user380:
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: target not found: xfce4
And when I try enter "pacman -Syy" I get this:
[sudo] password for solas:
:: Synchronizing package databases...
[user380@arch ~]$
It says synchronizing, like it's supposed to. But it doesn't show anything after that. It just waits about three seconds then shows where I'm supposed to enter another command. As you can see above.
I'm so screwed... please help
thank you
Last edited by solas9817 (2015-09-27 18:57:53)
Offline
Have you tried this : https://bbs.archlinux.org/viewtopic.php?id=135310
Offline
Solved, installed archlinux-keyring
So simple... Cant believe I wasted a forum post. I'd delete it, but who knows it could help others
Offline
If you keep using pacman -Syy, you're going to keep having problems. Partial updates are not supported.
Offline
As far as I know, pacman -Syy is the same thing as pacman -Sy except it will force refresh even if it is up to date.
I'm not trying to imply that I know more than you, just maybe you were thinking of something else. Correct me if I'm wrong.
Offline
Yes, it's pretty much the same, so it's just as bad.
Offline
As far as I know, pacman -Syy is the same thing as pacman -Sy except it will force refresh even if it is up to date.
I'm not trying to imply that I know more than you, just maybe you were thinking of something else. Correct me if I'm wrong.
Yes, but what the other posters meant was that if you just do a "pacman -Sy" and then "pacman -S somepackage" you are doing just partial updates of your system (the package you specified). But you really should run an update of all packages ("pacman -Syu") regularly.
Offline
Ah, okay. Yes, I do run "pacman -Syu" regularly. Thank you for the warning Scimmia, and thank you for the clarification Raynman and phw.
My problem was that "pacman -Syu" wasn't working, so I had to install archlinux-keyring specifically. Once that fixed the problem, then I was able to run "pacman -Syu".
Offline