On Wed, Dec 03, 2003 at 09:45:34AM +0800, Zarick Lau wrote:
> Hi,
>
> I just notice a funny thing in my machine, I am actually in the nearly
> finish way of a fresh install.
>
> When I type date to check the time (just want to see whether I shall
> sleep or not!) I find that, the system time is 12-03-2017. And a quick
> look in the system reveal the fact that, near half of the system file
> has the wrong date and the other half is correct!
>
> I think it may be my careless mistake made in some time before, anyway,
> how can change the time of the file.
>
> first, is there a cmd/program to change the file's modified time?
>
> second, I think just changing the file's time will break portage db, how
> to resolve it. I have take a look in
> /var/db/pkg/sys-apps/coreutils/CONTENTS
> and see that there are a few columns, is that related to the timestamp
> of installed files which is kept inside portage DB?
>
> Regards,
> Zarick
Don't know about the implications to portage, but how about this
to at least bring these files' timestamps back to now:
touch /tmp/foo ; find / -newer /tmp/foo -exec touch '{}' ';'
Check your clock before you do it.
- richard
--
Richard Kilgore
[EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list