Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2016 17:01:47 +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-AgK6q8EyTb@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/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211749

--- Comment #2 from Vladimir Krstulja <vlad-fbsd@acheronmedia.com> ---
Looking at the source code, it would appear that the manpage is wrong. For
example, given repo is explicitly checked if enabled:

* update:
  https://github.com/freebsd/pkg/blob/master/src/update.c#L69

* install falls through update:
  https://github.com/freebsd/pkg/blob/master/src/install.c#L197

Can we get some feedback here? If this is the intended behavior, then the
solution is to correct the manpage.

Thanks.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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