Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage, rsync and exclude list
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
rogge
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2006
Posts: 132
Location: Erfurt

PostPosted: Fri Oct 12, 2018 7:50 pm    Post subject: portage, rsync and exclude list Reply with quote

Hi together,

I have a curious problem, but a hunch of the error. emerge --sync or emaint sync -a
working fine except the last lines. But when I try emerge -vpauDN portage isn't showing
me any update - since weeks.


Code:

sent 152.34K bytes  received 17.23M bytes  69.66K bytes/sec
total size is 203.15M  speedup is 11.69
 * Manifest timestamp: 2018-10-12 16:08:42 UTC
 * Valid OpenPGP signature found:
 * - primary key: DCD05B71EAB94199527F44ACDB6B8C1F96D8BF6D
 * - subkey: E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
 * - timestamp: 2018-10-12 16:08:42 UTC
 * Verifying /usr/portage/.tmp-unverified-download-quarantine ...!!! Manifest verification failed:
Manifest mismatch for app-laptop/Manifest.gz
  __exists__: expected: True, have: False
q: Updating ebuild cache in /usr/portage ...
q: Finished 35864 entries in 1.476411 seconds

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


Portage has the rsync-verify-flag set::

Code:

sys-apps/portage
     Available versions:   2.3.8 2.3.40-r1 2.3.49 **9999 {build doc epydoc gentoo-dev +ipc +native-extensions +rsync-verify selinux xattr PYTHON_TARGETS="pypy python2_7 python3_4 python3_5 python3_6 python3_7"}
     Installed Versions: 2.3.49(14:09:26 17.09.2018)(ipc native-extensions rsync-verify xattr -build -doc -epydoc -gentoo-dev -selinux PYTHON_TARGETS="python2_7 python3_6 -pypy -python3_4 -python3_5 -python3_7")


My /usr/share/portage/config/repos.conf:

Code:

[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
auto-sync = yes
sync-rsync-verify-jobs = 1
sync-rsync-verify-metamanifest = yes
sync-rsync-verify-max-age = 24
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-overall-timeout = 1200
sync-openpgp-key-refresh-retry-delay-exp-base = 2
sync-openpgp-key-refresh-retry-delay-max = 60
sync-openpgp-key-refresh-retry-delay-mult = 4

# for daily squashfs snapshots
#sync-type = squashdelta
#sync-uri = mirror://gentoo/../snapshots/squashfs


According to https://forums.gentoo.org/viewtopic-t-1076430-start-25.html I removed the line
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" from make.conf
This works for me, but it's just a workaround. So my question is: Is it possible to use the portage security
features AND the exclude list? There is nothing about it in the handbook: https://wiki.gentoo.org/wiki/Handbook:Parts/Portage/CustomTree


Best, rogge

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6097
Location: Dallas area

PostPosted: Fri Oct 12, 2018 8:12 pm    Post subject: Reply with quote

Code:
cat /etc/portage/repos.conf/gentoo.conf
[DEFAULT]
main-repo = gentoo
sync-allow-hardlinks = no


Add the sync-allow-hardlinks line to your repos.conf, it'll keep the .tmp* directory from appearing when you have manifest errors.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
rogge
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2006
Posts: 132
Location: Erfurt

PostPosted: Fri Oct 26, 2018 10:41 am    Post subject: Reply with quote

Sorry for my late reply, but I tried a lot with your hint. First I did an update without
the exlude list, next with exclude list. But it still stucks and with packages from the
list only:

Quote:

sent 76.93K bytes received 17.01M bytes 197.48K bytes/sec
total size is 203.43M speedup is 11.91
* Manifest timestamp: 2018-10-17 17:38:49 UTC
* Valid OpenPGP signature found:
* - primary key: DCD05B71EAB94199527F44ACDB6B8C1F96D8BF6D
* - subkey: E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
* - timestamp: 2018-10-17 17:38:49 UTC
* Verifying /usr/portage ...!!! Manifest verification failed:
Manifest mismatch for media-tv/Manifest.gz
__size__: expected: 3930, have: 3932
q: Updating ebuild cache in /usr/portage ...
q: Finished 35905 entries in 0.966706 seconds


Do you have any further ideas?


Thanks, rogge
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