You are not logged in.

#1 2025-04-19 13:24:11

Lodvald
Member
Registered: 2025-04-19
Posts: 5

[SOLVED]Pacman seems to not be workig since the past 4 days(?)

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

#2 2025-04-19 14:28:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,600

Re: [SOLVED]Pacman seems to not be workig since the past 4 days(?)

Lodvald wrote:

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

#3 2025-04-19 15:39:47

Lodvald
Member
Registered: 2025-04-19
Posts: 5

Re: [SOLVED]Pacman seems to not be workig since the past 4 days(?)

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

#4 2025-04-19 15:57:11

BS86
Member
Registered: 2022-11-03
Posts: 51

Re: [SOLVED]Pacman seems to not be workig since the past 4 days(?)

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

#5 2025-04-19 16:17:17

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,600

Re: [SOLVED]Pacman seems to not be workig since the past 4 days(?)

So which mirror is at the top of your list?

Offline

#6 2025-04-19 16:24:00

Lodvald
Member
Registered: 2025-04-19
Posts: 5

Re: [SOLVED]Pacman seems to not be workig since the past 4 days(?)

This is my server at the top:
Server = https://archlinux.mailtunnel.eu/$repo/os/$arch

Offline

#7 2025-04-19 16:27:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,600

Re: [SOLVED]Pacman seems to not be workig since the past 4 days(?)

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

#8 2025-04-19 16:35:13

Lodvald
Member
Registered: 2025-04-19
Posts: 5

Re: [SOLVED]Pacman seems to not be workig since the past 4 days(?)

Scimmia wrote:

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

#9 2025-04-20 07:56:21

seth
Member
Registered: 2012-09-03
Posts: 62,950

Re: [SOLVED]Pacman seems to not be workig since the past 4 days(?)

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

#10 2025-04-20 22:05:38

mountaintrek
Member
Registered: 2024-02-01
Posts: 53

Re: [SOLVED]Pacman seems to not be workig since the past 4 days(?)

Scimmia wrote:

...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.

  1. 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.

  2. 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.

  3. Make sure /etc/pacman.conf contains valid repos, "core", "extra", and optional "multilib".
          - View - Official repositories

  4. Use two "-y", pacman -Syy, especially if you changed the mirrorlist.

  5. 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.

  6. Just in case, check the Archlinux news

Last edited by mountaintrek (2025-04-20 22:06:27)

Offline

#11 Yesterday 15:47:57

Lodvald
Member
Registered: 2025-04-19
Posts: 5

Re: [SOLVED]Pacman seems to not be workig since the past 4 days(?)

Thanks to everyone that answered to questions and clarified my doubts, i'm gonna mark this thread as solved now!

Offline

Board footer

Powered by FluxBB