Summary: | emerge --sync claims missing files | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Juan <juan> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juan
2006-04-01 08:59:47 UTC
Please provide the output of `emerge --info -v | grep SYNC` as well as the output of `emerge --debug --sync` FYI, issue still persists with my upgrade to portage-2.1_pre7-r4 black dracco # emerge --info -v | grep SYNC PORTAGE_RSYNC_EXTRA_OPTS="/etc/portage/rsync_exclude" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_RSYNC_RETRIES="3" SYNC="rsync://rsync.gentoo.org/gentoo-portage" black dracco # emerge --debug --sync myaction sync myopts ['--debug', '--alphabetical'] Using PORTAGE_RSYNC_OPTS instead of hardcoded defaults >>> Starting rsync with rsync://64.127.121.98/gentoo-portage... >>> Checking server timestamp ... /usr/bin/rsync /etc/portage/rsync_exclude --recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages' --progress --checksum building file list ... rsync: link_stat "/home/dracco/rsync://64.127.121.98/gentoo-portage/metadata/timestamp.chk" failed: No such file or directory (2) 1 file to consider Number of files: 1 Number of files transferred: 0 Total file size: 124 bytes Total transferred file size: 0 bytes Literal data: 0 bytes Matched data: 0 bytes File list size: 48 File list generation time: 0.001 seconds File list transfer time: 0.000 seconds Total bytes sent: 64 Total bytes received: 20 sent 64 bytes received 20 bytes 168.00 bytes/sec total size is 124 speedup is 1.48 rsync error: some files could not be transferred (code 23) at main.c(892) [sender] >>> Retrying... >>> Starting retry 1 of 3 with rsync://134.68.220.73/gentoo-portage >>> Checking server timestamp ... /usr/bin/rsync /etc/portage/rsync_exclude --recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages' --progress --checksum building file list ... rsync: link_stat "/home/dracco/rsync://134.68.220.73/gentoo-portage/metadata/timestamp.chk" failed: No such file or directory (2) 1 file to consider Number of files: 1 Number of files transferred: 0 Total file size: 124 bytes Total transferred file size: 0 bytes Literal data: 0 bytes Matched data: 0 bytes File list size: 48 File list generation time: 0.001 seconds File list transfer time: 0.000 seconds Total bytes sent: 64 Total bytes received: 20 sent 64 bytes received 20 bytes 168.00 bytes/sec total size is 124 speedup is 1.48 rsync error: some files could not be transferred (code 23) at main.c(892) [sender] >>> Retrying... emerge-websync functioned and forced me to downgrade to 2.1_pre7-r3. I then run emerge --debug --sync again and receive the same messages ending with ... !!! Rsync has not successfully finished. It is recommended that you keep !!! trying or that you use the 'emerge-webrsync' option if you are unable !!! to use rsync due to firewall or other restrictions. This should be a !!! temporary problem unless complications exist with your network !!! (and possibly your system's filesystem) configuration. Ok, the problem is your PORTAGE_RSYNC_EXTRA_OPTS setting, that should probably be PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_exclude". I'll see to improve the docs regarding the syntax for the new variables. Zac, what do you think about adding some conversion code in the ebuild (so people see the changes with etc-update)? If I recollect correctly, the upgrade did notify me of some variable name changes, which I modified. PORTAGE_RSYNC_EXTRA_OPTS was one of them but I honestly can't remember if --exclude-from= was part of the variable.... Either way, thanks. (In reply to comment #4) > Zac, what do you think about adding some conversion code in the ebuild (so > people see the changes with etc-update)? Offhand, the conversion seems like it would be more robust if implemented in python. Also, the ebuild could get really bloated with conversions like that. |