Portupgrade Stale dependency: "specify -O to force"

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Jul 25 05:39:18 PDT 2004


On Sat, Jul 24, 2004 at 11:20:10PM -0500, Kevin D. Kinsey, DaleCo, S.P. wrote:
> Rob wrote:

> >When I use commands from the portupgrade port, I get this message:
> >
> >  Stale dependency: kde-3.2.3 --> autoconf-2.57_1 -- manually run
> >  'pkgdb -F' to fix, or specify -O to force.
> >
> >I wanted to use the '-O' option, but that does not seem to exist.
> >I've tried 'pkgdb -O' or 'pkgdb -FO'
> >
> >Is this '-O' suggestion mistake in the portupgrade port?
> >
> >How can I use the force option?

> Hmm, pretty sure that should be a little "o".  At least that's
> what the help screen and the manpage seem to indicate...
> 
> <kadmin at archangel> [/usr/ports] 
> [23:16]                                                                     
> % pkgdb --help
> pkgdb rev.1.69
> 
> usage: pkgdb [-hafFQQquv] [-c pkgname] [-o pkgname] [-s 
> /old_pkgname/new_pkgname/] [file ...]
> 
>    -h, --help                     Show this message

The message is a mite confusing.  It means you should either run:

    # pkgdb -F

to fix up the dependency records within /var/db/pkg before you run
portupgrade(1), or that you should run:

    # portupgrade -O ...

to tell portupgrade to omit the dependency checks as it does its work.
The former is considerably preferable to the latter.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040725/eb0642f3/attachment.bin


More information about the freebsd-questions mailing list