NetBSD-Users archive

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

Re: Controlling pkg_rolling-replace

Benny Siegert <> writes:

> If you want full control over what pkg_rr does, manually mark the
> packages to rebuild with "pkg_admin set rebuild=YES $pkgname".
> For instance, you can run pkg_chk -n (IIRC) to print the list of

Perhaps "pkg_chk -uq":

> packages to update into a file, do whatever transformations you want
> and then feed the list to "xargs pkg_admin set rebuild=YES".

You can, and critically omit "-u" from pkg_rr so it doesn't run pkg_chk
and put those into MISMATCH_DEPENDS.

However, anything that is marked "unsafe_depends" will be selected for
replacing, and there is no option to omit this behavior.

Home | Main Index | Thread Index | Old Index