You are not logged in.

#1 2008-02-05 13:59:21

idrozd
Member
From: RU Moscow
Registered: 2006-09-27
Posts: 7

File date after "lftp -c mirror" (ftp.archlinux.org-->local dir)

Greetings!
I want to create a local repository, not no way I can properly hold synchronization, for example, ftp.archlinux.org/core/ois/i686 to the local directory.
The reason - bad dates of the files.
Synchronize timezone with ftp.archlinux.org not, not right.
We have:
That is, file repositories abs-1.0-1-i686.pkg.tar.gz, the time of its creation 12.01.2008 17:58 (MSK), or 12.01.2008 20:58 (GMT).
When I try to use "lftp mirror ..." hard drive copied abs-1.0-1-i686.pkg.tar.gz, the time of its creation 12.01.2008 20:58 (MSK) - precisely at 20:58 GMT MSK not! And should 12.01.2008 17:58 (MSK), or 12.01.2008 20:58 (GMT).
Where ambush - not floodplains ...
Help is where to find the problem.
Thank you.

Offline

#2 2008-02-06 04:30:39

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: File date after "lftp -c mirror" (ftp.archlinux.org-->local dir)

You know http://archlinux.org.ru/forum/ ?

Regarding your problem... it's not a problem.

lftp ftp.archlinux.org:/> ls -l /core/os/i686/abs*
-rw-rw-r--    1 99       99           5617 Jan 12 17:58 abs-1.0-1-i686.pkg.tar.gz

That time is the server time, which is GMT.
On your machine, the time will be 20:58, as you already said. I suppose you have TIMEZONE="Europe/Moscow" in /etc/rc.conf?
On my machine, it's 18:58 (Germany/GMT+1).

Also,  don't use ftp.archlinux.org for that. It's a normal mirror just like the others, not the primary, it's usually not very fast, and in fact two machines which might complicate mirroring.


1000

Offline

#3 2008-02-06 08:09:03

idrozd
Member
From: RU Moscow
Registered: 2006-09-27
Posts: 7

Re: File date after "lftp -c mirror" (ftp.archlinux.org-->local dir)

Greetings!
Thanks for your reply and advice - the problem is solved.

The reason - the original mirror, I did windows ftp client (cuteftp), which is downloaded files on the local disk supplied an incorrect date.
I upal that everything is correct. Alas, but no.

Offline

Board footer

Powered by FluxBB