You are not logged in.
Pages: 1
When I try to update and sinchronise package databases it says they are all up to date.
sudo pacman -Suy
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
sublime-text is up to date
:: Starting full system upgrade...
there is nothing to do
Offline
Pick a different mirror.
https://wiki.archlinux.org/index.php/Mirrors
Last edited by ewaller (2020-07-27 18:07:16)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
@ericamirez, please run following command sudo pacman -Syy
This should force your package dbs to be in sync.
After this you may proceed to sudo pacman -Su
Short Cut to above process: sudo pacman -Syyu
Wish you good luck!
Offline
@ericamirez, please run following command sudo pacman -Syy
This should force your package dbs to be in sync.After this you may proceed to sudo pacman -Su
Short Cut to above process: sudo pacman -Syyu
Wish you good luck!
This is terrible advice.
Offline
@jasonwryan,
Kindly pardon my ignorance. May you please elaborate? I have been doing this since years. (pacman -Syyu). What is terrible in this? Please be specific.
Here is extract from manpages
man pacman
SYNC OPTIONS (APPLY TO -S)
-y, --refresh
Download a fresh copy of the master package database from the server(s) etc etc. Passing two -y flags will force a refresh of all package databases even if they appear to be up-to-date.
I don't see what is terrible. Kindly provide technical reason why getting fresh copy of package database like this would be terrible and why earlier advise could be terribe advise.
Last edited by pk.gmp (2020-07-28 16:36:32)
Offline
Doing that against an out of date mirror does nothing, and the second y is nearly always useless and wasteful. If the yy was what would fix the issue, it would have resolved itself long before now. The separate -Syy and -Su are also just asking for trouble.
Last edited by Scimmia (2020-07-28 16:36:36)
Offline
@ericamirez, please run following command sudo pacman -Syy
This should force your package dbs to be in sync.After this you may proceed to sudo pacman -Su
Short Cut to above process: sudo pacman -Syyu
Wish you good luck!
There are so many horrifying problems with your suggestion...
- There is no good reason to run these separately.
- The -yy option doesn't do what you think it does, it is only useful to downgrade to older repos (e.g. https://wiki.archlinux.org/index.php/Arch_Linux_Archive or similar), or recover from broken syncs that return captive portal HTML or other junk.
- If you do use -yy, for older repos, you MUST use -uu as well.
- Using -yy will never ever under any circumstances no matter what accomplish anything useful, if the mirror is simply old. The OP was already instructed to switch mirrors to a mirror that is not old.
I don't see what is terrible. Kindly provide technical reason why getting fresh copy of package database like this would be terrible and why earlier advise could be terribe advise.
Because the entire community of knowledgeable Arch users says so.
Because https://gist.github.com/Brottweiler/952 … 8b5a1a5294
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Does it make sense to use pacman -Syyu after the mirror change, in case the db's are not in sync for whatever reason? Other then that, I am with you.
Offline
Thank you people for enlightening me.
I think the wiki related to mirrors needs to be updated then. It too mentions pacman -Syy under similar circumstances. May be I read it wrong.
Offline
Does it make sense to use pacman -Syyu after the mirror change, in case the db's are not in sync for whatever reason? Other then that, I am with you.
Why would you change to an older mirror, unless you're using the Archive like Eli mentioned?
Offline
Thank you people for enlightening me.
I think the wiki related to mirrors needs to be updated then. It too mentions pacman -Syy under similar circumstances. May be I read it wrong.
Do you mean https://wiki.archlinux.org/index.php/Mi … kage_lists
I believe I've successfully pruned mention of -Syy from everywhere else on the wiki. And that one location has a big red warning.
But -Syyu is still useful if your old mirror was returning junk with too-recent timestamps. To be fair in that case you can almost certainly use -Syyuu.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Don't know how his mirror list looks like. But if he just uncomment the next one in the list, you don't know in what state the mirror is.
Offline
Don't know how his mirror list looks like. But if he just uncomment the next one in the list, you don't know in what state the mirror is.
The databases are obtained from the first mirror that responds. Adding more mirrors would not have any effect on the databases.
Offline
I forgot to mention I've already changed mirror
Pick a different mirror.
Last edited by ericramirez (2020-07-29 02:05:57)
Offline
If the issue is not resolved what is the output of
# pacman -Syu --debugOffline
Pages: 1