From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 6 21:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C143D34E for ; Wed, 6 Feb 2013 21:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A5666AAA for ; Wed, 6 Feb 2013 21:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r16LK0Bg016493 for ; Wed, 6 Feb 2013 21:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r16LK04J016492; Wed, 6 Feb 2013 21:20:00 GMT (envelope-from gnats) Resent-Date: Wed, 6 Feb 2013 21:20:00 GMT Resent-Message-Id: <201302062120.r16LK04J016492@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Adam McDougall Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BC2832F5 for ; Wed, 6 Feb 2013 21:15:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id AD42BA83 for ; Wed, 6 Feb 2013 21:15:37 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r16LFagK004383 for ; Wed, 6 Feb 2013 21:15:36 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r16LFaYc004382; Wed, 6 Feb 2013 21:15:36 GMT (envelope-from nobody) Message-Id: <201302062115.r16LFaYc004382@red.freebsd.org> Date: Wed, 6 Feb 2013 21:15:36 GMT From: Adam McDougall To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/175899: pkg install -fR does not add new dependencies X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2013 21:20:00 -0000 >Number: 175899 >Category: ports >Synopsis: pkg install -fR does not add new dependencies >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 06 21:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Adam McDougall >Release: 9.1 >Organization: >Environment: FreeBSD client 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #4: Sun Aug 5 18:42:03 EDT 2012 root@server:/usr/obj/usr/src/sys/AMD64-9 amd64 >Description: I often need to run pkg install -fR (something) to properly deal with library issues according to UPDATING. What I noticed a few times recently is pkg install -fR will Reinstall or Upgrade packages but it doesn't seem to Install newly required deps, thus it fails part way through with something like: Reinstalling xorg-server-1.7.7_6,1 done Reinstalling libsoup-gnome-2.34.3_2 done Reinstalling gnome-mount-0.8_10 done Reinstalling gvfs-1.6.6_3missing dependency tdb-1.2.11,1root@trident:/root # If I run pkg install tdb, it gets around the problem and then I can re-run pkg install -fR to finish where it left off. But I have to do it for exiv2 as well. Also the missing newlines make the error harder to see. If I run pkg upgrade -n before I do the pkg install -fR, it shows me the newly required dep packages among the Upgrading ones: .. Upgrading talloc: 2.0.7 -> 2.0.8 Installing tdb: 1.2.11,1 Installing exiv2: 0.23,1 Installing xconsole: 1.0.5 .. Is this intentional, or something that should be fixed, or needs more information/discussion? Should I file a PRI could probably get around it by doing pkg upgrade first, but then the system will be doing more work. I can reproduce this issue. Thanks. >How-To-Repeat: Follow UPDATING instructions to force reinstall all deps of some packages like libffi, icu, boost-libs. The pkg install -fR might miss some newly needed deps like tdb, exiv2. >Fix: "pkg install -fR" should automatically pull in new deps like "pkg upgrade" does, or it should abort with a helpful error message before upgrading a portion of packages then exiting. >Release-Note: >Audit-Trail: >Unformatted: