Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 2004 11:07:42 -0500
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        "W. D." <WD@US-Webmasters.com>
Cc:        Curtis Vaughan <curtis@npc-usa.com>
Subject:   Re: Port upgrading - my way
Message-ID:  <415597CE.1050004@daleco.biz>
In-Reply-To: <5.1.0.14.2.20040924232725.0f5d0380@209.152.117.178>
References:  <4154AEA4.5090208@makeworld.com> <C25FD1D7-0D97-11D9-9B5C-000393934006@npc-usa.com> <5.1.0.14.2.20040924173912.06169ce0@209.152.117.178> <4154AEA4.5090208@makeworld.com> <5.1.0.14.2.20040924232725.0f5d0380@209.152.117.178>

next in thread | previous in thread | raw e-mail | index | archive | help
W. D. wrote:

>At 23:11 9/24/2004, Donald J. O'Neill wrote:
>  
>
>>W.D. it's your cron job I'm looking, so I'll talk about it. It would 
>>work, probably most of the time. Your example has both portsdb -Uu 
>>and make index in it. Just use one, otherwise you're building INDEX-5 
>>twice. Running pkgdb -fu (by the way, make that -uf instead, I know 
>>it doesn't make any difference but I look at it and laugh too hard 
>>to think about anything else)
>>    
>>
>
>Yeah, I guess we really want to un-eff the database, rather than 
>eff-up the database. ;^)
>
>  
>
>>won't do the trick in the case were 
>>you've deleted something and the now missing dependencies were not 
>>taken care of. 
>>    
>>
>
>How would one know when this has occurred?
>  
>

Portupgrade's utilities will gripe at you, and not
complete their assigned tasks (e.g., you type "portsdb -uU"
and it returns something similar to "stale dependency:
pkgfoo-2.1 -> pkgbar-3.2 run pkgdb manually to fix, or
specify -F to force")

>>You're going to have to do pkgdb -fF and manually 
>>remove the bad dependencies. 
>>    
>>
>
>I am clueless here.  How would one do this if/when
>it would happen.
>  
>

Y.A.C.A. (Yet Another Classic Article):

http://www.onlamp.com/pub/a/bsd/2001/11/29/Big_Scary_Daemons.html

This time by Michael Lucas, and yes, it's older than the last, but the
concepts are there to be found ....

HTH,

KDK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?415597CE.1050004>