You are not logged in.

#1 2020-07-27 18:02:35

ericramirez
Member
Registered: 2015-09-29
Posts: 35

Archlinux not updating since march

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

#2 2020-07-27 18:05:15

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,701

Re: Archlinux not updating since march

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

#3 2020-07-28 04:56:12

pk.gmp
Member
Registered: 2020-06-15
Posts: 44

Re: Archlinux not updating since march

@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

#4 2020-07-28 04:58:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Archlinux not updating since march

pk.gmp wrote:

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


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2020-07-28 16:31:00

pk.gmp
Member
Registered: 2020-06-15
Posts: 44

Re: Archlinux not updating since march

@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

#6 2020-07-28 16:34:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Archlinux not updating since march

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

#7 2020-07-28 17:07:47

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Archlinux not updating since march

pk.gmp wrote:

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

pk.gmp wrote:

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

#8 2020-07-28 17:12:03

Phrosgone
Member
From: Zurich
Registered: 2016-06-15
Posts: 16

Re: Archlinux not updating since march

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

#9 2020-07-28 17:12:39

pk.gmp
Member
Registered: 2020-06-15
Posts: 44

Re: Archlinux not updating since march

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

#10 2020-07-28 17:13:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Archlinux not updating since march

Phrosgone wrote:

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

#11 2020-07-28 17:18:28

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Archlinux not updating since march

pk.gmp wrote:

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

#12 2020-07-28 17:20:56

Phrosgone
Member
From: Zurich
Registered: 2016-06-15
Posts: 16

Re: Archlinux not updating since march

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

#13 2020-07-28 17:25:12

loqs
Member
Registered: 2014-03-06
Posts: 19,048

Re: Archlinux not updating since march

Phrosgone wrote:

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

#14 2020-07-29 02:05:42

ericramirez
Member
Registered: 2015-09-29
Posts: 35

Re: Archlinux not updating since march

I forgot to mention I've already changed mirror

ewaller wrote:

Last edited by ericramirez (2020-07-29 02:05:57)

Offline

#15 2020-07-29 02:09:14

loqs
Member
Registered: 2014-03-06
Posts: 19,048

Re: Archlinux not updating since march

If the issue is not resolved what is the output of

# pacman -Syu --debug

Offline

Board footer

Powered by FluxBB