pkgsrc-Users archive

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

Re: rolling-replace hit a snag on boost



On Thursday, April 25, 2013 10:39:26 Greg Troxel wrote:
> My usual plea:  when running pkg_rolling-replace fails, remove all
> workdirs and then do the 'make replace' operation that was trouble.  If
> that fails, you have found a make replace issue, not a rolling-replace
> issue, and please address it as such.
> 
>   pkg_add: Can't open +CONTENTS of depending package boost-1.51.0
>   pkg_add: 1 package addition failed
> 
> That looks like you have a corrupt dependency database, where  an
> installed package records a dependency that is not installed.
> See "pkg_admin rebuild-tree", or you can just edit
> /var/db/pkg/boost-headers*/+REQUIRED_BY to remove packages that don't
> exist.

I removed /usr/obj/pkgsrc and ran pkg_admin rebuild-tree and tried again. This 
time I got this:

# pkg_admin rebuild-tree
Done.
# bmake replace
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Replacing for boost-docs-1.53.0
WARNING: experimental target - DATA LOSS MAY OCCUR.
Creating binary package: boost-docs-1.52.0
Creating package /usr/obj/pkgsrc/devel/boost-docs/work/boost-docs-1.52.0
===> Updating using binary package of boost-docs-1.53.0
/usr/pkg/sbin/pkg_add -K /var/db/pkg -U -D /usr/pkgsrc/packages/All/boost-
docs-1.53.0.tgz
pkg_add: Dependency of boost-1.52.0 fulfilled by boost-docs-1.52.0, but not by 
boost-docs-1.53.0

Why is it creating the package 1.52.0 instead of 1.53.0?

Pierre
-- 
loi mintu se ckaji danlu cu jmaji



Home | Main Index | Thread Index | Old Index