From owner-freebsd-ports@FreeBSD.ORG Sat Jan 1 15:32:00 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCB62106566B for ; Sat, 1 Jan 2011 15:31:59 +0000 (UTC) (envelope-from luchesar.iliev@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 659D88FC12 for ; Sat, 1 Jan 2011 15:31:59 +0000 (UTC) Received: by fxm16 with SMTP id 16so12206440fxm.13 for ; Sat, 01 Jan 2011 07:31:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id :disposition-notification-to:date:from:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=SrA30KWNDsel78iKJPLyWPq7K/cvZoWM3K4OHHdBzYI=; b=F3kcKobEi5JVsjWFKkDl+4MP8G61ueQXIQ2DgYjTnxF7UEVbnbp2mINwHpvJUNXJqf Gz7+3UnRQUYje5hqPnI1vrwzxIfFJg74wp81Gb++/MThCUyQk1wbZRIKtAFhitYzlDbj cz2ji/OV8boALUH3b3SnEfCSfUH7w8A3Mm1J0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:disposition-notification-to:date:from:organization :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=YnB8GiQmuuEo+tGLORY1ACpApOpxXGBdllSFbnu4X7mMBLqQb10uQjGlQsMjDf3qMz 27zaeoD7kdg7MOe+I1y85MfYbWzmMHx04w7GKjRKmOFL+Zqv72y11GsZQe13NfPtkpSl 9Dg2LUm3vRUAZr2obIXlc4fDh8Ay1DiVhxfW8= Received: by 10.223.107.66 with SMTP id a2mr1984924fap.92.1293894131989; Sat, 01 Jan 2011 07:02:11 -0800 (PST) Received: from [79.124.93.41] ([79.124.93.41]) by mx.google.com with ESMTPS id y3sm4290061fai.38.2011.01.01.07.02.10 (version=SSLv3 cipher=RC4-MD5); Sat, 01 Jan 2011 07:02:10 -0800 (PST) Message-ID: <4D1F41F1.9030500@gmail.com> Date: Sat, 01 Jan 2011 17:02:09 +0200 From: "Luchesar V. ILIEV" Organization: Ideaconsult Ltd. User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101229 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: David Southwell References: <201101011209.17387.david@vizion2000.net> <19743.11296.856741.802484@jerusalem.litteratus.org> <201101011442.14507.david@vizion2000.net> In-Reply-To: <201101011442.14507.david@vizion2000.net> X-Enigmail-Version: 1.1.2 OpenPGP: id=9A1FEEFF; url=https://cert.acad.bg/pgp-keys/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade -f advice please X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2011 15:32:00 -0000 On 01/01/11 16:42, David Southwell wrote: >> David Southwell writes: >>> A bit puzzled >>> >>> I have a problem with apache22 loading and decided before doing >>> anything else that I would upgrade apache22 recursively to >>> rebuild all ports upon which it depened and which depend upon >>> apache. >>> >>> The (to me) logical command was: >>> >>> dns1# portupgrade -frR apache22 >>> >>> Which generated the following: >>> [Exclude up-to-date packages done] >>> >>> Man portupgrade shows: >>> -f >>> >>> --force Force the upgrade of a package even if it is >>> to be >>> >>> a downgrade or just a reinstall of the same >>> ver- sion, or the port is held by user >>> using the HOLD_PKGS variable in >>> pkgtools.conf. >>> >>> I do not want to exclude packages that appear to be >>> up-to-date. Where is this limitation on force set? >> >> Assuming the reoirt if generated output is verbatim, I beleive >> this is behaving as you desire. Usually the "Excluding up-to-date >> packages" line includes what I believe is one dot per package so >> excluded. >> I would argue a better notification would be something like: >> >> 'R' and 'f' options specifed - skipping up-to-date dependency checks. >> >> >> Robert Huff > No I am wanting to force an upgrade to all packages irrespective as to whether > they are up to date. > > What is happening is that no packages are being upgraded! > > The only response I am getting is for portupgrade to skip the upgrade of all > packages on the grounds they are "up to date". > > man portupgrade says -f forces the upgrade of the packages EVEN IF it is a > reinstall of the same version. I want all the nominated ports and all the > ports affected by -rR to be forced to upgrade. I just checked the command on my system (I often use -f, but not that often together with both -r and -R), and it works as expected. Could you please tell what is your FreeBSD version, is the ports tree up-to-date and what's your portupgrade version? Cheers, Luchesar P.S. The "Exclude up-to-date packages" is still done, yet portupgrade continues regardless of its results when -f is specified.