From owner-freebsd-pkg@FreeBSD.ORG Fri Oct 17 06:46:18 2014 Return-Path: Delivered-To: freebsd-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 E9AEF800 for ; Fri, 17 Oct 2014 06:46:18 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AA7C3BD9 for ; Fri, 17 Oct 2014 06:46:18 +0000 (UTC) Received: from [82.113.121.126] (helo=unixarea.DDR.dd) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1Xf1If-0001XD-4H for freebsd-pkg@freebsd.org; Fri, 17 Oct 2014 08:46:09 +0200 Received: from unixarea.DDR.dd (localhost [127.0.0.1]) by unixarea.DDR.dd (8.14.9/8.14.3) with ESMTP id s9H6k6GW001873 for ; Fri, 17 Oct 2014 08:46:07 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by unixarea.DDR.dd (8.14.9/8.14.3/Submit) id s9H6k6PM001872 for freebsd-pkg@freebsd.org; Fri, 17 Oct 2014 08:46:06 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: unixarea.DDR.dd: guru set sender to guru@unixarea.de using -f Date: Fri, 17 Oct 2014 08:46:05 +0200 From: Matthias Apitz To: freebsd-pkg@freebsd.org Subject: pkg upgrade && new packages Message-ID: <20141017064605.GA1841@unixarea.DDR.dd> Reply-To: Matthias Apitz MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.121.126 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: Fri, 17 Oct 2014 06:46:19 -0000 Hello, I have compiled the ports I do need with poudriere on one machine and moved the resulting packages (~1400) to a repository /usr/PKGDIR on my other machines to install from there. This way around 800 packages are installed and all is fine. I'm planing now to SVN update the jail for the ports, recompile all 'my' ports and move them to a new repo, lets say /usr/PKGDIR.head; What is the exact procedure to update all the installed packages from the new repo /usr/PKGDIR.head? I have read the man page pkg-upgrade(8) and it seems that it would do more or less what I want. But, it says for example it will not install new packages. What will happen if an installed package has now more/other dependency packages in /usr/PKGDIR.head as the older version has, will those new depencies be installed by pkg-upgrade(8)? Or would it be better to just remove all installed packages (how?) and do pkg-install from scratch? Ofc, in this form one has to backup configuration files in /usr/local/etc... Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign