pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Need for FORCE_PKG_REGISTER to avoid snags when updating packages
On Thu, 25 Jul 2019 at 06:56, <mueller6725%twc.com@localhost> wrote:
>
> When installing or updating a package in NetBSD with pkgsrc, or I suppose any OS that might use pkgsrc, the build may be stopped by an earlier version of a dependency.
>
As suggested, 'make replace' is an option, although I think this will
break something at one point.
When this happens to me (and it happens quite frequently, as I like to
mix and match packages from different branches), I let pkgin do the
job of removing stale dependencies:
$ cd /home/oc/pkgsrc/packages/All && pkg_info -X *gz | bzip2 >
pkg_summary.bz2 && sudo pkgin update
[ I have this in repositories.conf:
file:///home/oc/pkgsrc/packages/All]
then:
$ cd - && bmake update
Surely not an elegant solution, but it does the job for me 99% of the times.
--
Ottavio Caruso
Home |
Main Index |
Thread Index |
Old Index