From owner-freebsd-pkg@freebsd.org Thu Aug 11 08:23:00 2016 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D8D6BB5BF6 for ; Thu, 11 Aug 2016 08:23:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7742E1985 for ; Thu, 11 Aug 2016 08:23:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 766E8BB5BF5; Thu, 11 Aug 2016 08:23:00 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76165BB5BF4 for ; Thu, 11 Aug 2016 08:23:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 661301984 for ; Thu, 11 Aug 2016 08:23:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7B8N0XN066975 for ; Thu, 11 Aug 2016 08:23:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 211749] ports-mgmt/pkg: pkg install -r does not work, contrary to pkg-install(8) Date: Thu, 11 Aug 2016 08:23:00 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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.22 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: Thu, 11 Aug 2016 08:23:00 -0000 Vladimir Krstulja has reassigned Bugzilla Automation 's request for maintainer-feedback to pkg@FreeBSD.org: Bug 211749: ports-mgmt/pkg: pkg install -r does not work, contrary to pkg-install(8) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211749 --- Description --- When installing packages from a disabled repo with pkg install -r, the manp= age suggests it should not respect the "active" status of the repo ('irrespecti= ve of the configured "active" status from repo.conf'), meaning it will install from disabled repos, however that is not the case: > # grep enabled /usr/local/etc/pkg/repos/FreeBSD.conf=20 > enabled: no >=20 > # pkg install -r FreeBSD openjdk > No repositories are enabled. Enabling the repo allows installation from it with -r.