From owner-freebsd-pkg@FreeBSD.ORG Sat Oct 18 20:42:24 2014 Return-Path: Delivered-To: pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A7A0A6B6 for ; Sat, 18 Oct 2014 20:42:24 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 86C799D6 for ; Sat, 18 Oct 2014 20:42:24 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9IKgOIj097682 for ; Sat, 18 Oct 2014 20:42:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 193016] pkg upgrade does not use latest version from repo Date: Sat, 18 Oct 2014 20:42:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kalten@gmx.at X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@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: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2014 20:42:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193016 Kalten changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kalten@gmx.at --- Comment #2 from Kalten --- Still not solved. =C2=BBpkg -v=C2=AB tells me =C2=BB1.3.8=C2=AB. I have created packages using ports-mgmt/poudriere. As I have updated the ports tree inside poudriere and recompiled newer ports multiple times, I have ended up with multiple versions of many many package= s: e.g. www/firefox. (Deleting the whole directory and recompiling all takes my poor computer about three days=E2=80=94that is why I do not prefere this wa= y) =C2=BBsqlite3 /var/db/pkg/repo-freeHeimdall.sqlite "select * from pkg_searc= h"| \ grep firefox=C2=AB leads to: ----8<---- 972|firefox-31.0,1|www/firefox 2319|firefox-32.0_2,1|www/firefox 2920|firefox-32.0.3,1|www/firefox 2921|firefox-32.0_2,1|www/firefox 4056|firefox-32.0.3,1|www/firefox 4567|firefox-33.0,1|www/firefox 4568|firefox-32.0.3,1|www/firefox 4663|firefox-33.0,1|www/firefox 4664|firefox-32.0.3,1|www/firefox ---->8---- =C2=BBpkg rquery "%n %v" firefox=C2=AB results in =C2=BBfirefox 32.0.3,1=C2= =AB and =C2=BBpkg version -e firefox=C2=AB in ----8<---- firefox-32.0.3,1 < ---->8---- so pkg seems to notice that firefox has to be updated (right?). But running =C2=BBpkg upgrade=C2=AB results in: ----8<---- Updating freeHeimdall repository catalogue... freeHeimdall repository is up-to-date. All repositories are up-to-date. Checking for upgrades (3 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date. ---->8---- And I have no idea which the three mentioned candidates are especially as =C2=BBpkg version | grep -v " *=3D"|wc -l=C2=AB tells me, that 35 packages= have to be updated, not three. Please do correct this problem! Deleting all packages and installing again= is one solution, but not the best one. (And I suppose that would not solves the problem). Deleting all packages in poudriere each time and copying all generated pack= ages to the server (instead of the new ones) is not very preferable either. I could write a script to search for such cases=E2=80=94but than again ther= e might be cases of packages e.g fubar-1 and fubar-2 that match two different ports and should remain both (yes, one could check for that too). I think the problem ought to be handled by pkg; blaming some server adinistrators copying multiple versions to one directory must not be the solution. Regards, Kalten --=20 You are receiving this mail because: You are the assignee for the bug.=