tech-pkg archive

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

osabi replace rules break make replace/pkg_rr

I ran a pkg_rr and got this (after updating base from 5.0_STABLE to
5.1_RC2, which is hardly an update different from along 5.0_STABLE):

  ===> Updating using binary package of osabi-NetBSD-5.1_RC2
  /usr/pkg/sbin/pkg_add -K /var/db/pkg -U 
  pkg_add: Dependency of libgtop-2.28.0 fulfilled by osabi-NetBSD-5.0_STABLE, 
but not by osabi-NetBSD-5.1_RC2
  pkg_add: 1 package addition failed

This is wrong; the point of make replace and pkg_rr is that you can
bring packges one by one to an unsafe state and then updates are needed.
By having libgtop depend on osabi, and then get marked unsafe_depends,
pkg_rr will rebuild it, and that part is great.

so maybe make replace needs to have a flag to override the exact
dependency test.

Attachment: pgpX5lna8ozHt.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index