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:   [Bug 211749] ports-mgmt/pkg: pkg install -r <disabled-repo> does not work, contrary to pkg-install(8)
Message-ID:  <bug-211749-32340@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: vlad-fbsd@acheronmedia.com
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@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.

help

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