Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195199 - emerge-webrsync fails to resume or redownload broken snapshot
Summary: emerge-webrsync fails to resume or redownload broken snapshot
Status: RESOLVED OBSOLETE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-09 10:34 UTC by Daniele C.
Modified: 2015-06-10 16:40 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 Daniele C. 2007-10-09 10:34:58 UTC
I launched emerge-webrsync:
$ sudo emerge-webrsync

The download started, but no progress bar was shown, so I interrupted the program execution.

Next I could not more resume emerge-webrsync execution because I got the messages:
$ sudo emerge-webrsync
Fetching most recent snapshot
Attempting to fetch file dated: 20071008
portage-20071008.tar.bz2: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match
$ 

The above errors does not always happen, but most times does (sorry cannot be more precise).

With the above (apparenty unrecoverable) faulty situation, I did:
$ ls -ahl /var/tmp/emerge-webrsync
124K -rw-r--r-- 1 root root 121K  9 ott 12:15 portage-20071008.tar.bz2
300K -rw-r--r-- 1 root root 297K  9 ott 12:12 portage-20071008.tar.bz2.1
4,0K -rw-r--r-- 1 root root   59  9 ott 11:45 portage-20071008.tar.bz2.md5sum

After deleting the temporary files:
$ sudo rm -f /var/tmp/emerge-webrsync/*

Everything went OK and I could run again emerge-webrsync

I think that if emerge-webrsync finds the snapshot file locally it should attempt to resume like emerge does - or at least allow automatic redownload.
Comment 1 Alex Xu (Hello71) 2015-06-10 16:40:01 UTC
emerge-webrsync now creates a randomly-named temp directory in ${PORTAGE_TMPDIR} and tries to clean it up before exiting.