pkgsrc-Users archive

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

Re: pkg_rolling-replace stops at git. Now what?

If upgrading from pkgsrc for DragonFly from long ago, do first

# cd /usr/pkgsrc/textproc/xmlcatmgr
# bmake clean-depends && bmake clean && bmake replace clean

It may or may not be necessary to replace textproc/docbook-xml,
textproc/docbook-xsl, textproc/libxml2, and textproc/libxslt.

The general principle is to take the problematic package, either
textproc/xmlto or devel/scmgit-docs, and do a:
# bmake clean-depends
Then (re)build the dependencies using some topological sort on dependencies.

Using the above procedure I have rebuilt the xml-related dependencies
for scmgit-docs on both current master source and pkgsrc DragonFly
i386 and x86_64 without incident.

Also I don't think it's a good idea to force remove a package unless
one knows one can rebuild the removed package successfully.  I have
found this works for say perl when removing the already installed
package appears to remove some blockage in building from scratch.  But
if a package is removed without being able to be rebuilt, there will
be hanging dependencies.

My sledgehammer is to do a recursive delete on packages that depend on
the package in question:
# pkg_delete -r ...

But first I do a sanity check without actually removing

# pkg_delete -n -r ...

Home | Main Index | Thread Index | Old Index