Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662828 - sys-apps/portage-2.3.40-r1: Manifest verification throws error when rsync excludes are used
Summary: sys-apps/portage-2.3.40-r1: Manifest verification throws error when rsync exc...
Status: RESOLVED DUPLICATE of bug 657324
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-05 08:54 UTC by Gordon Bos
Modified: 2018-08-07 18:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Bos 2018-08-05 08:54:30 UTC
I run an embedded system where I have no use for several package classes (like games) and processing these packages during sync only use (quite a lot of) time. For this reason I use PORTAGE_RSYNC_EXTRA_OPTS to exclude the unwanted parts of the official tree. Recent versions of Portage are now throwing an error on this and it turns out this is caused by the added manifest verification.

Reproducible: Always

Steps to Reproduce:
1. Add PORTAGE_RSYNC_EXTRA_OPTS entry to make.conf - PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
2. Fill /etc/portage/rsync_excludes with unwanted package classes -
  games-*/*
  dev-games/*
3. Delete these classes - cat /etc/portage/rsync_excludes | while read file; do if [ ! -z $file ]; then rm -r /usr/portage/$file; fi; done
4. Run emerge --sync (or eix-sync)
Actual Results:  
total size is 199.63M  speedup is 55.07
 * Manifest timestamp: 2018-08-05 07:38:42 UTC
 * Valid OpenPGP signature found:
 * - primary key: DCD05B71EAB94199527F44ACDB6B8C1F96D8BF6D
 * - subkey: E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
 * - timestamp: 2018-08-05 07:38:42 UTC
 * Verifying /usr/portage ...!!! Manifest verification failed:
Manifest mismatch for dev-games/Manifest.gz
  __exists__: expected: True, have: False


Expected Results:  
Skip or ignore empty dirs

As a workaround I've now added `sync-rsync-verify-metamanifest = no` to the repo conf to skip the verification process completely. Obviously this does defeat the purpose of adding the verification.
Comment 1 Zac Medico gentoo-dev 2018-08-05 19:07:50 UTC

*** This bug has been marked as a duplicate of bug 657324 ***