Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]emerge --sync fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
nvaert1986
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2019
Posts: 126

PostPosted: Tue Mar 04, 2025 7:43 pm    Post subject: [SOLVED]emerge --sync fails Reply with quote

Hello everyone,

As of today, I'm receiving an error while trying to synchronize the portage. I've already tried 3 times so far and don't want to have problems of getting banned, so I've stopped synchronizing for now, but what could be causing this issue?

Code:

* Verifying /var/db/repos/gentoo/.tmp-unverified-download-quarantine ...!!! Manifest verification failed:
Manifest mismatch for metadata/news/Manifest
  BLAKE2B: expected: 79f2d85d06f6b4771a9f0a5bc795f8bd51fc5fdbf004642805a405e1166056980c9c39918f2dd096fd3bd2be5a50c0662ce54dd7be5a4f00f61ae204ca2923ca, have: 62ece82e70dacd0d0e0a981e848b731f6a772833996623209355d3714b8a6cc264b1d282d88e3e0a5c36e1f32238c6c2bf9b4da590fe0d7680497d9a8e41335f
  SHA512: expected: 5ac458173d1daf09597b5f80fb9b1474a10e5f22d94d6ead448001112d35178496eb225d0f474391dd8520a35413defc26fadd88d538a5a02ce9b29d260e99a7, have: fcd232af92a00763313cfd37bf10968f295a033966c53d7874aa7299674c955cb4744fe8683e3985acde6d3747191d7f724b0e53bf4def4eca1093aa92b141f7
>>> Syncing repository 'steam-overlay' into '/var/db/repos/steam-overlay'...
/usr/bin/git fetch origin --depth 1
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
/usr/bin/git reset --merge refs/remotes/origin/master
=== Sync completed for steam-overlay

Action: sync for repo: gentoo, returned code = 1



Last edited by nvaert1986 on Wed Mar 05, 2025 5:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54967
Location: 56N 3W

PostPosted: Wed Mar 05, 2025 11:27 am    Post subject: Reply with quote

nvaert1986,

The normal cause is --syncs not being atomic. If you sync while the server is updating it can be in an indeterminate state.
It's a feature.

However, a retry usually succeeds as the problem only lasts for the copy time.

Did you always get the same server, that would be unusual unless you fixed it yourself as the advertised rsync servers are rotations, you don't actually use them.
They pass you on to a real rsync server 'in rotation'.

Whatever, if the problem persists, make sure to get another server as servers fail too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2798

PostPosted: Wed Mar 05, 2025 12:21 pm    Post subject: Reply with quote

Try another mirror.

Best Regards,
Georgi
Back to top
View user's profile Send private message
nvaert1986
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2019
Posts: 126

PostPosted: Wed Mar 05, 2025 5:42 pm    Post subject: Reply with quote

logrusx wrote:
Try another mirror.

Best Regards,
Georgi


Thanks, this solved my issue. There seems to be a broken mirror in the list (in South Africa). I don't know why it selects the mirror in South Africa to sync, but I specified both the sync mirrors and my rsync mirrors to The Netherlands and it resolved the issue for me. They were not specified before.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2798

PostPosted: Wed Mar 05, 2025 5:56 pm    Post subject: Reply with quote

nvaert1986 wrote:
logrusx wrote:
Try another mirror.

Best Regards,
Georgi


Thanks, this solved my issue. There seems to be a broken mirror in the list (in South Africa). I don't know why it selects the mirror in South Africa to sync, but I specified both the sync mirrors and my rsync mirrors to The Netherlands and it resolved the issue for me. They were not specified before.


Netherlands rulez! I used to use their mirrors too despite being several thousand kilometers away. Now I have a local one.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum