# Tryton Gentoo all Digest verification failed

**URL:** <https://discuss.tryton.org/t/tryton-gentoo-all-digest-verification-failed/6133>\
**Category:** Developer\
**Created:** [May 8, 2023, 4:32pm UTC](https://discuss.tryton.org/t/tryton-gentoo-all-digest-verification-failed/6133 "2023-05-08T16:32:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![eleazar](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/eleazar/32/488_2.png) [@eleazar](https://discuss.tryton.org/u/eleazar)\
**Post date:** [May 8, 2023, 4:32pm UTC](https://discuss.tryton.org/t/tryton-gentoo-all-digest-verification-failed/6133/1 "2023-05-08T16:32:48Z")

</div>

Good everyone,

A few days ago the notice of version 6.8 came out in the Gentoo system and when doing an “emerge --sync” the Tryton tree is updated, but when trying to update the system all the Tryton packages throw me  
“Digest verification failed” and in some cases the ebuild does not exist and there is only the metadata.xml

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [May 8, 2023, 4:49pm UTC](https://discuss.tryton.org/t/tryton-gentoo-all-digest-verification-failed/6133/2 "2023-05-08T16:49:11Z")

</div>

For me the manifest are correct.

---

<div class="post-metadata">

**Author:** ![eleazar](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/eleazar/32/488_2.png) [@eleazar](https://discuss.tryton.org/u/eleazar)\
**Post date:** [May 8, 2023, 9:18pm UTC](https://discuss.tryton.org/t/tryton-gentoo-all-digest-verification-failed/6133/3 "2023-05-08T21:18:14Z")

</div>

I did a complete delete of the tryton tree in portage and still after doing the “emerge --sync tryton” it keeps complaining about “Digest verification failed”, it is not downloading from the fully updated repository

I have tried on 3 different computers and the same thing happens on all of them.

"sudo emerge --sync  
receiving incremental file list

Number of files: 144.048 (reg: 117.334, dir: 26.714)  
Number of created files: 0  
Number of deleted files: 0  
Number of regular files transferred: 0  
Total file size: 188,37M bytes  
Total transferred file size: 0 bytes  
Literal data: 0 bytes  
Matched data: 0 bytes  
File list size: 3,16M  
File list generation time: 0,001 seconds  
File list transfer time: 0,000 seconds  
Total bytes sent: 30,74K  
Total bytes received: 3,75M  
sent 30,74K bytes received 3,75M bytes 32,42K bytes/sec  
total size is 188,37M speedup is 49,87  
=== Sync completed for gentoo

> > > Syncing repository ‘tryton’ into ‘/var/db/repos/tryton’…  
> > > /usr/bin/git clone --depth 1 [GitHub - gentoo-mirror/tryton: Tryton](https://github.com/gentoo-mirror/tryton.git) .  
> > > Cloning into ‘.’…  
> > > remote: Enumerating objects: 2070, done.  
> > > remote: Counting objects: 100% (2070/2070), done.  
> > > remote: Compressing objects: 100% (1284/1284), done.  
> > > remote: Total 2070 (delta 1467), reused 955 (delta 777), pack-reused 0  
> > > Receiving objects: 100% (2070/2070), 581.98 KiB | 214.00 KiB/s, done.  
> > > Resolving deltas: 100% (1467/1467), done.  
> > > === Sync completed for tryton

Action: sync for repo: gentoo, returned code = 0  
Action: sync for repo: tryton, returned code = 0

emerge -uDvN @world

> > > > Verifying ebuild manifests

!!! Digest verification failed:  
!!! /var/db/repos/tryton/app-tryton/currency/currency-6.8.0.ebuild  
!!! Reason: Filesize does not match recorded size  
!!! Got: 1047  
!!! Expected: 1024

!!! Digest verification failed:  
!!! /var/db/repos/tryton/app-tryton/country/country-6.8.0.ebuild  
!!! Reason: Filesize does not match recorded size  
!!! Got: 1034  
!!! Expected: 1011  
…  
…  
"

Happens to all ebuilds within the tryton tree in portage

---

<div class="post-metadata">

**Author:** ![eleazar](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/eleazar/32/488_2.png) [@eleazar](https://discuss.tryton.org/u/eleazar)\
**Post date:** [May 9, 2023, 6:20pm UTC](https://discuss.tryton.org/t/tryton-gentoo-all-digest-verification-failed/6133/4 "2023-05-09T18:20:07Z")

</div>

It is an error when generating the tree on the server, it can be resolved by applying as root a regeneration of digest and manifest with the following line:

`find /var/db/repos/tryton/ -iname '*.ebuild' -exec ebuild {} digest manifest \;`

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [May 13, 2023, 11:54am UTC](https://discuss.tryton.org/t/tryton-gentoo-all-digest-verification-failed/6133/5 "2023-05-13T11:54:45Z")

</div>

Indeed the manifest of some packages of series 6.8 were not correct. It should be fixed with [app-tryton: update manifest for 6.8 series (825d9f674e0a) · Commits · Tryton / Gentoo Overlay · GitLab](https://foss.heptapod.net/tryton/gentoo-overlay/-/commit/825d9f674e0aaa63bb81689ea94aa3c288fb7b93)

---

<div class="post-metadata">

**Author:** ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)\
**Post date:** [June 12, 2023, 11:55am UTC](https://discuss.tryton.org/t/tryton-gentoo-all-digest-verification-failed/6133/6 "2023-06-12T11:55:14Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
