Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Synchronization of repository return error 128
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
smokyrun
n00b
n00b


Joined: 26 Dec 2023
Posts: 71
Location: Reunion Island

PostPosted: Sun Jun 22, 2025 11:27 am    Post subject: Synchronization of repository return error 128 Reply with quote

Hi All,

When I run a sychronization of nordvpn repository I get error 128 :

Code:
# emaint sync --repo nordvpn
>>> Syncing repository 'nordvpn' into '/var/db/repos/nordvpn'...
/usr/bin/git fetch origin --depth 1
fatal: couldn't find remote ref refs/heads/master
!!! git fetch error in /var/db/repos/nordvpn
 * Copying old database to /var/cache/eix/previous.eix
 * Running eix-update
Reading Portage settings...
Building database (/var/cache/eix/portage.eix)...
[0] "gentoo" /var/db/repos/gentoo (cache: metadata-md5-or-flat)
     Reading category 173|173 (100) Finished             
[1] "nordvpn" /var/db/repos/nordvpn (cache: parse|ebuild*3.0.24#metadata-md5#metadata-flat#assign)
     Reading category 173|173 (100) Finished     
Applying masks...
Calculating hash tables...
Writing database file /var/cache/eix/portage.eix...
Database contains 19095 packages in 173 categories

Action: sync for repo: nordvpn, returned code = 128


It's possible that I corrupted my nordvpn local database because when I tried to update the nordvpn package to the last release I encountered this error message about checksum of package :

Code:
>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /var/db/repos/nordvpn/net-vpn/nordvpn/nordvpn-3.20.2.ebuild
!!! Reason: Failed on BLAKE2B verification
!!! Got: f36cb8970ea0578969a9d35397c7549c4cbd812253cfb37e5c7883956cef9eaf9e1620dc5d02ba98ebccc8f4c75f8e0ab6e8eeb9baadfd18e219ed6c049bf736
!!! Expected: 8b039edd54aa9c993ccb2dd893445dd964e2c92361ee33bf67cbfce45514e7701e0402fb05af99a48ee9499b816a83ef8c924f692fe218800f05ca8db87dc526


So to fix this problem I ran this command :
Code:
ebuild nordvpn-3.20.2.ebuild digest
that overwrites the checksum of package.

Do you know what is the best way to fix this problem ?

Thank you in advance for your help.

kind regards,

Smokyrun
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 686

PostPosted: Mon Jun 23, 2025 12:33 am    Post subject: Re: Synchronization of repository return error 128 Reply with quote

Hello smokyrun,

smokyrun wrote:
Do you know what is the best way to fix this problem ?

AFAIK, there are two different problems:

- that with return code 128, sooner of all, is because the remote overlay is not available
- that with manifest, sooner of all, is because you edited manually files in /var/db/repos/nordvpn.

Editing files in synchronized versions of overlays is a bad idea. If I am not mistaken, it can break git (I think in case of git breakage the return code would be other, not 128). In this case I would just rm -rf the directory /var/db/repos/nordvpn. But I never used eix. It caches something... I am not sure. Maybe to clear all the caches.

For editing files, the files should be first copied to your (local) overlay.

And about 128, if it persists, I would contact the overlay maintainer (create an issue).
_________________
A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs.
Back to top
View user's profile Send private message
smokyrun
n00b
n00b


Joined: 26 Dec 2023
Posts: 71
Location: Reunion Island

PostPosted: Mon Jun 23, 2025 5:31 pm    Post subject: Reply with quote

Hello halcon,

Thank you so much for your reply, I've already contacted the maintainer of overlay for this problem, he said me a merge was pending between a target branch and the main branch of overlay.
I'm going to to remove the /var/db/repos/nordvpn.

Have a nice day.

Kind regards,

smokyrun
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



OSZAR »