From owner-freebsd-pkg@FreeBSD.ORG Mon Oct 20 13:53:02 2014 Return-Path: Delivered-To: pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4ED67AC7 for ; Mon, 20 Oct 2014 13:53:02 +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 36AF5968 for ; Mon, 20 Oct 2014 13:53:02 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9KDr2ho036859 for ; Mon, 20 Oct 2014 13:53:02 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: Mon, 20 Oct 2014 13:53:02 +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: attachments.created 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: Mon, 20 Oct 2014 13:53:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193016 --- Comment #3 from Kalten --- Created attachment 148502 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D148502&action= =3Dedit rm_old_multiple_pkgs.sh Some dirty hack for now: In the attached script =C2=BBrm_old_multiple_pkgs.sh=C2=AB: Read the comments there: Adjust =C2=BBpoudriere_pkgdir=C2=AB and run it. As it is now, it will only list the to be deleted files to stdout but not actually delete them. You would have to uncomment the call =C2=BBdeleteOldMultiplePkgVersions=C2=AB in =C2=BBmain()=C2=AB to automatic= ally delete them. I suggest you build the packages (e.g. using poudriere), than call this scr= ipt (having changed it to deleting mode), (may be build missing packages again = as the script might have deleted some it should not have) and thereafter build= the meta files by calling =C2=BBpkg repo ${poudriere_pkgdir}/All=C2=AB. I hope, it will be of use to some people. Kalten --=20 You are receiving this mail because: You are the assignee for the bug.=