View Single Post
  #8   (View Single Post)  
Old 25th February 2015
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,132
Default

Sorry, but I cannot do anything about this

Please note, that you also cannot be sure that the dates are the file creation date. The date could be the time that they were uploaded or copied to the ftp server.

To handle this kind of situation I first do a test install in a Virtual Machine, or on another non-critical machine. I set the PKG_CACHE variable, so the packages are also saved.

Only if that install is successful, then I dare to install that new snapshot on my desktop.

Even using this method I have to use an installation method that does not use a "live" public ftp mirror, because there is not any guarantee that the contents of a ftp mirror has not changed or will change half-way during the second install

Maybe I should write a guide for new snapshot users, detailing the 'gotcha's' and precautions that you can take to prevent or work-around this type of situation.

One method is to keep an archive of older snapshots so I can use an older one:

Code:
ls -l /home/www/snapshots      
total 80
drwxr-xr-x  2 root  wheel  512 Feb 25 14:41 amd64
drwxr-xr-x  2 root  wheel  512 Feb  3 01:29 amd64.2015-02-01T20:52Z
drwxr-xr-x  2 root  wheel  512 Feb  2 22:01 amd64.2015-02-02T22:01Z
drwxr-xr-x  2 root  wheel  512 Feb  3 10:04 amd64.2015-02-03T10:04Z
drwxr-xr-x  2 root  wheel  512 Feb  8 02:40 amd64.2015-02-04T02:26Z
drwxr-xr-x  2 root  wheel  512 Feb 13 02:09 amd64.2015-02-07T17:32Z
drwxr-xr-x  2 root  wheel  512 Feb 16 01:46 amd64.2015-02-11T00:44Z
drwxr-xr-x  2 root  wheel  512 Feb 19 02:14 amd64.2015-02-13T20:30Z
drwxr-xr-x  2 root  wheel  512 Feb 22 00:13 amd64.2015-02-17T20:54Z
drwxr-xr-x  2 root  wheel  512 Feb 20 15:00 amd64.2015-02-20T15:00Z
drwxr-xr-x  2 root  wheel  512 Feb 22 11:30 amd64.2015-02-22T11:30Z
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump

Last edited by J65nko; 25th February 2015 at 03:48 PM. Reason: Added "archive" remark
Reply With Quote