NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: package upgrade strategy



> I hope someone can give an answer to this question from a newbie: how can
> I handle situations when an already installed package (say A) needs to be
> upgraded due to a newly installed package (say B) as it's being a
> dependency for it but another already installed package (say C) still
> needs the older version of package A? Upgrading package C may be thought
> of as help but it disappeared from the 7.1 package repo and as far as I
> could see it was last present in 7.0_2017Q1.

% cd /pkgsrc/foo/pkg-A
% sudo make clean && sudo make replace

If the above breaks pkg-C:

% cd /pkgsrc/foo/pkg-C
% sudo make clean && sudo make clean-depends && sudo make update

HTH,
jgw


Home | Main Index | Thread Index | Old Index