[Bug 211749] ports-mgmt/pkg: pkg install -r <disabled-repo> does not work, contrary to pkg-install(8)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Aug 11 08:23:00 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211749
Bug ID: 211749
Summary: ports-mgmt/pkg: pkg install -r <disabled-repo> does
not work, contrary to pkg-install(8)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: pkg at FreeBSD.org
Reporter: vlad-fbsd at acheronmedia.com
Assignee: pkg at FreeBSD.org
Flags: maintainer-feedback?(pkg at FreeBSD.org)
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pkg
mailing list