public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] portage date
       [not found] <20070309132404.7c9a970b@lx-arnau.pic.es>
@ 2007-03-09 12:37 ` Shawn Haggett
       [not found] ` <20070309154356.GA12260@princeton.edu>
       [not found] ` <lg1reymium69$.dlg@game.dialog.schweiz.digitalprojects.com>
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Haggett @ 2007-03-09 12:37 UTC (permalink / raw
  To: gentoo-user; +Cc: arnau

Arnau Bria wrote:
> Hi,
> 
> I don't sync my portage everyday, I do it when I need a special
> (last) version of package or when I'm preparing a big update...
> 
> But sometimes I look for the date when I did my last sync, cause
> maybe it's enough for what I want, but I don't know how to find it...
> 
> is there any way?
> 
> TIA
> 

Try:

/usr/portage/metadata/timestamp

That's what portage uses to see if the tree on the server is newer then
the local one, and there if there is even a need to sync.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] portage date
       [not found] ` <20070309154356.GA12260@princeton.edu>
@ 2007-03-09 16:31   ` Vikas Kumar
  2007-03-09 16:50     ` Neil Bothwick
  0 siblings, 1 reply; 4+ messages in thread
From: Vikas Kumar @ 2007-03-09 16:31 UTC (permalink / raw
  To: gentoo-user

On 10:43 Fri 09 Mar     , Willie Wong wrote:
> On Fri, Mar 09, 2007 at 01:24:04PM +0100, Penguin Lover Arnau Bria squawked:
> > But sometimes I look for the date when I did my last sync, cause
> > maybe it's enough for what I want, but I don't know how to find it...
> 

$ awk -F: '/Sync completed/ {print strftime("%c", $1)}' /var/log/emerge.log | tail -1

-- 
"Problem solving under linux has never been the circus that it is under
AIX."
(By Pete Ehlke in comp.unix.aix)

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] portage date
  2007-03-09 16:31   ` Vikas Kumar
@ 2007-03-09 16:50     ` Neil Bothwick
  0 siblings, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2007-03-09 16:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 219 bytes --]

And this week's Sledgehammer-to-crack-a-nut prize goes to...

> $ awk -F: '/Sync completed/ {print strftime("%c", $1)}' /var/log/emerge.log | tail -1


-- 
Neil Bothwick

Top Oxymorons Number 13: Computer jock

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user]  Re: portage date
       [not found] ` <lg1reymium69$.dlg@game.dialog.schweiz.digitalprojects.com>
@ 2007-03-11  1:16   ` Arnau Bria
  0 siblings, 0 replies; 4+ messages in thread
From: Arnau Bria @ 2007-03-11  1:16 UTC (permalink / raw
  To: gentoo-user

Thank to all for the replies.

Cheers,
Arnau
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-11  0:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20070309132404.7c9a970b@lx-arnau.pic.es>
2007-03-09 12:37 ` [gentoo-user] portage date Shawn Haggett
     [not found] ` <20070309154356.GA12260@princeton.edu>
2007-03-09 16:31   ` Vikas Kumar
2007-03-09 16:50     ` Neil Bothwick
     [not found] ` <lg1reymium69$.dlg@game.dialog.schweiz.digitalprojects.com>
2007-03-11  1:16   ` [gentoo-user] " Arnau Bria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox