You are not logged in.
In the past few days i've tried running multiple times a day pacman -Syu as usual to update my system but it always seems that there is nothing new to update:
:: Synchronizing package databases...
core is up to date
extra is up to date
:: Starting full system upgrade...
there is nothing to do
I tried to check the health of my database with pacman -D -k but everythig seems fine:
[~] > sudo pacman -D -k
No database errors have been found!
I thought it could be one of my mirrors but they are all healthy, constatly checked, is there something i'm missing?
Last edited by Lodvald (Yesterday 15:48:55)
Offline
I thought it could be one of my mirrors but they are all healthy, constatly checked, is there something i'm missing?
How are you checking? Only the first mirror in the list matters.
Offline
I checked them all one by one from here https://archlinux.org/mirrors/status/
Wouldn't pacman switch to the next mirror anyway if the first one is down and kept doing so cascading to the next entry?
Genuine question cause i don't rember what the wiki said regarding that.
Offline
if the first mirror does not even respond, pacman uses the next one.
If the first mirror responds, but is outdated, pacman does nothing as it can't see the outdated status.
Offline
So which mirror is at the top of your list?
Offline
This is my server at the top:
Server = https://archlinux.mailtunnel.eu/$repo/os/$arch
Offline
OK, that mirror does appear to be successfully syncing. The other big possibility is that you have bad timestamps on your local databases, use -Syyu this one time to force it to redownload them, that would fix the timestamp issue.
Offline
use -Syyu this one time to force it to redownload them, that would fix the timestamp issue.
That seems to have fixed it and the system is now updating a buttload of backloged stuff, thank you very much for your help, is there page on the wiki or a resource i could consult to learn more about this? even after years of use there is always new stuff i've never had to touch lol!
Offline
https://man.archlinux.org/man/core/pacman/pacman.8.en
The second "y" simply forces the sync even though the local database seems up to date and Scimmia's (likely correct) theory was that you had some future timestamp on them (maybe playing around with the system clock around the update)
sudo find / -newermt today
will (take quite a while and) get you time-traveling files.
Offline
...is there page on the wiki or a resource i could consult to learn more about this? ...
Take a look at the wiki page, Mirrors. Each wiki page has a "Related Articles" section, which in this case there is a link to "Pacman". Follow "Related Articles" links as needed.
There are also man pages, use man command or use online https://man.archlinux.org/search?lang=e … =&q=pacman.
Below are some steps that might be helpful in the future.
Look for console message that might indicate a problem. Run your pacman command using the option --debug to get additional info that might help identify the root cause of the problem.
Make sure your mirrors are up to date and responding.
- View - Pacman Mirrorlist Generator
- There is a thread, Bash script to update mirrorlist. Uses curl and rankmirrors, that you might find helpful.
Make sure /etc/pacman.conf contains valid repos, "core", "extra", and optional "multilib".
- View - Official repositories
Use two "-y", pacman -Syy, especially if you changed the mirrorlist.
Run checkupdates. This will create a sync database in /tmp. This program is in the package pacman-contrib. If successful, this could indicate the issue resides in your local sync database. See #4.
Just in case, check the Archlinux news
Last edited by mountaintrek (2025-04-20 22:06:27)
Offline
Thanks to everyone that answered to questions and clarified my doubts, i'm gonna mark this thread as solved now!
Offline