Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2016 08:23:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 211749] ports-mgmt/pkg: pkg install -r <disabled-repo> does not work, contrary to pkg-install(8)
Message-ID:  <bug-211749-32340-DNUCugcy1n@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211749-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211749-32340@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

Vladimir Krstulja <vlad-fbsd@acheronmedia.com> has reassigned Bugzilla
Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to
pkg@FreeBSD.org:
Bug 211749: ports-mgmt/pkg: pkg install -r <disabled-repo> does not work,
contrary to pkg-install(8)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211749



--- Description ---
When installing packages from a disabled repo with pkg install -r, the manpage
suggests it should not respect the "active" status of the repo ('irrespective
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 
>   enabled: no
> 
> # pkg install -r FreeBSD openjdk
> No repositories are enabled.

Enabling the repo allows installation from it with -r.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211749-32340-DNUCugcy1n>