LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-22-2004, 12:15 PM   #1
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
timestamp in the future


Just installed debian sarge with the netinstall on a old pIII(450) and got everything working except I don't know how to fix these errors when I install stuff with apt;
tar: ./md5sums: time stamp 2004-04-03 07:28:05 is 24535403 s in the future
tar: ./control [almost same as above]
tar: .: [almost same as above]
thanks,how can I fix this?
 
Old 06-22-2004, 01:10 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291

Original Poster
Blog Entries: 5

Rep: Reputation: 58
I fixed it once I searched around some more,from root date 06-22-2004 and the time date 14:15:0 that seemed to fix it my hardware clock was in 2003.
 
Old 01-21-2009, 03:26 PM   #3
royal024
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Rep: Reputation: 0
is it possible to modify or ignore the files time stamp? instead of changing the server time?
 
Old 01-21-2009, 04:47 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291

Original Poster
Blog Entries: 5

Rep: Reputation: 58
Wow this is an old post of mine Why don't you want to correct the time?
as root
su
date
lets say you want to change the date to Jan 21 5:35pm 2009
date 012117352009

also if your box has a hard time keeping time you can use ntp-client
http://www.debian.org/doc/manuals/sy...dmin-time.html
HTH
 
Old 03-12-2010, 02:35 PM   #5
dividebyzero
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
tar warns if the files you are extracting have modification time that are in the future (relative to the machine where tar is currently running, of course).

If you don't care about preserving the modification time of the extracted files. You can use the '-m' or '--touch' option of tar. tar will no longer warn because it will set the modification time to the current time touching the extracted files.
 
Old 05-19-2011, 05:45 AM   #6
zaffi
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: Disabled
there is logical reason not to change hwclock

i just tried to copy a tar across the globe, from a windows machine to a unix server, and got this error message.
the clocks are just fine on both ends.
maybe i could create the tar using GMT time, i don't know.
but the solution was to skip date matching, and not to change clocks.

not working -
tar xzvf fname.tar.gz

working (extra "m") -
tar xmzvf fname.tar.gz
 
  


Reply

Tags
stamp, tar, time, warning



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Future of Linux, Future of BSD ? tarballed Linux - General 28 01-01-2012 04:04 PM
Timestamp Help jch02140 Linux - Newbie 7 03-17-2006 02:33 AM
timestamp question jch02140 Linux - Newbie 3 07-19-2005 03:40 AM
updated timestamp jkmartha Linux - Security 1 05-11-2005 11:49 AM
adding timestamp to name niehls Linux - General 2 12-05-2003 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration