From owner-freebsd-bugs@FreeBSD.ORG Fri Jul 25 01:53:45 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E8E667C for ; Fri, 25 Jul 2014 01:53:45 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 65E58218F for ; Fri, 25 Jul 2014 01:53:45 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6P1rjA1052197 for ; Fri, 25 Jul 2014 01:53:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 192069] pkgng has removed package install dates for everything that was installed before today Date: Fri, 25 Jul 2014 01:53:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gyrd-se@thanelange.no X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2014 01:53:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192069 Gyrd Thane Lange changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gyrd-se@thanelange.no --- Comment #3 from Gyrd Thane Lange --- I have just experienced the same. Using portupgrade to upgrade pkg from 1.2 to 1.3 nulled all the timestamps in the package database. Jul 25 00:54:33 onyx pkg: pkg-1.2.7_2 deinstalled Jul 25 00:54:35 onyx pkg-static: pkg-1.3.0 installed root@onyx:/usr/ports # pkg query "%t %o" | grep -v ^0 1406242475 ports-mgmt/pkg root@onyx:/usr/ports # pkg query "%t %o" | wc -l 791 root@onyx:/usr/ports # pkg info | grep portupgrade portupgrade-devel-20131212,3 11.0-CURRENT #2 r269075M: Thu Jul 24 22:35:47 CEST 2014 amd64 It appears the date resets happens the moment ports-mgmt/pkg itself is upgraded. Subsequent installs of any port seemingly records the correct time. A brute force fix is therefore to reinstall *all* the packages on the system, but since I happen to have a backup copy of the local.sqlite package db I can use SQL to restore the timestamps. Nothing else seems to be missing. -- You are receiving this mail because: You are the assignee for the bug.