tech-pkg archive

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

Re: forcing a package update after an OS update



On Fri, Jan 22, 2016 at 06:19:19PM +0100, Edgar Fuß wrote:
> I upgraded a machine to a new NetBSD version and now pkg_add refuses to 
> update the installed packages because the same version is already installed. 
> It is, but for the former NetBSD version. Most prominently, pkg_install 
> itself is affected, so the solution isn't "just pkg_delete before".
> The packages mostly work, but I would rather install the new versions.
> Any option to pkg_install to force the update?

pkg_add -u should work, perhaps you need an additional -f.
 Thomas


Home | Main Index | Thread Index | Old Index