Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134057 - portage-latest.md5sum looks for the wrong snapshot
Summary: portage-latest.md5sum looks for the wrong snapshot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Zac Medico
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-22 13:44 UTC by nm (RETIRED)
Modified: 2006-05-22 22:18 UTC (History)
1 user (show)

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


Attachments
make `md5sum -c portage-latest.tar.bz2.md5sum` work as expected (bug_134057.patch,563 bytes, patch)
2006-05-22 22:16 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nm (RETIRED) gentoo-dev 2006-05-22 13:44:16 UTC
While preparing to add an snapshot integrity check section to the handbook, I downloaded the files "portage-latest.tar.bz2" and "portage-latest.tar.bz2.md5sum" from OSUOSL. However, the md5sum didn't work:

$ md5sum -c portage-latest.tar.bz2.md5sum
md5sum: portage-20060521.tar.bz2: No such file or directory
portage-20060521.tar.bz2: FAILED open or read
md5sum: WARNING: 1 of 1 listed file could not be read

Looks like it's trying to find the snapshot from yesterday (5-21) instead of whatever today's is/will be (5-22).
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2006-05-22 17:52:50 UTC
When -latest was created, 0521 *was* the current.

 portage-20060521.tar.bz2                           22-May-2006 01:58   27M  
 portage-latest.tar.bz2                             22-May-2006 01:58   27M  
Comment 2 Zac Medico gentoo-dev 2006-05-22 17:57:14 UTC
(In reply to comment #0)
> $ md5sum -c portage-latest.tar.bz2.md5sum
> md5sum: portage-20060521.tar.bz2: No such file or directory

You should first `mv portage-latest.tar.bz2 portage-20060521.tar.bz2` if you want that command to work correctly.  The 20060522 snapshot hasn't been made yet.
Comment 3 Zac Medico gentoo-dev 2006-05-22 17:58:35 UTC
closing because everthing is normal...
Comment 4 Zac Medico gentoo-dev 2006-05-22 21:05:09 UTC
I'm going to make special portage-latest.tar.bz2.md5sum files on the server side in order to make it easy on users.
Comment 5 Zac Medico gentoo-dev 2006-05-22 22:16:30 UTC
Created attachment 87300 [details, diff]
make `md5sum -c portage-latest.tar.bz2.md5sum` work as expected

I've applied this patch, so `md5sum -c portage-latest.tar.bz2.md5sum` will work from now on.
Comment 6 Zac Medico gentoo-dev 2006-05-22 22:18:48 UTC
It's fixed.