[solved] I deleted /var/lib/pacman/sync content and I get a lot of warnings

Hi,
after suffering an error of type GPGME and updating the mirror lists (and still having trouble), I deleted the contents of the folder /var/lib/pacman/sync (following post).

Now, when I’m trying to update pacman -Syu, I get a lot of warnings. All of them like:

warning: alsa-plugins: local (1:1.2.12-4) is newer than extra (1:1.2.7.1-1) warning: alsa-topology-conf: local (1.2.5.1-4) is newer than extra (1.2.5.1-1) warning: alsa-ucm-conf: local (1.2.13-2) is newer than extra (1.2.7.2-1)

The complete output (until CTRL+C)
There are a lot of warnings, more than 600 hundred packets.

Are they normal or is there any problem?

I don’t really understand these warnings. Are they saying that the local packages are newer than the ones on the extra repo?

Thank you.
I have a btrfs snapshot of the root filesystem if I would need to go back.

Yes, it’s a mirror issue.

Then I should ignore them and go on with the update, shouldn’t I?

You might want to rerate your mirrors. But yes.

Have you tried ?

sudo pacman -Syyu

I was having dependency problems, but with -d was solved. I updated the mirror lists again, and it seems that it worked.

Thank you very much!

I don’t think this solve the issue by dealing with its root cause. You have just skipped it.

-d, --nodeps
Skips dependency version checks. Package names are still checked. Normally, pacman will always check a package’s dependency fields to ensure that all dependencies are installed and there are no package conflicts in the system. Specify this option twice to skip all dependency checks.

It was suggested to update your mirrors. After that you could update with pacman -Syu.

If there are still problems, post the output.

Yes, thinking about it. I did update the repos, but maybe not in the right way (I did follow the wiki, but errors could happen).

Then the explanation about the warnings and dependency problems could be I was using an obsolete repo, but on-line, and because of that there were those warnings that my local packages were newer than the ones of the repo. Isn’t it right?

Thank you.

welcome onto purple side :enos:

what wiki?
In welcome app you have simple options to update mirrors for Arch repo and EndeavourOS rep use these in case.
Using -d option is not in any way needed or recommended.
If pacman says your installed packages are newer compared to what is finds on the repo it says only the remote repo is outdated nothing wrong locally with your packages. ou only need to get a synced updated miorror to update from and the warnings will go away.

1 Like

Yes. If you had updated your mirrorlist, you wouldn’t be seeing those warnings. And most probably that dependency issue either.

1 Like