Subject: dealing with dependencies
To: None <>
From: Brian <>
List: netbsd-users
Date: 10/18/2004 22:15:22
I'm trying to get postgreSQL compiled;  I've had some dependencies crop 
up and I'm wondering what the results would be of updating problematic 

At this time, making postgreSQL stops with:

(during install of pth-2.0.0nb2)
===> pth-2.0.0 is already installed - perhaps an older version?
*** If so, you may use either of:
***  - "pkg_delete pth-2.0.0" and "/usr/bin/make reinstall" to upgrade 
***  - "/usr/bin/make update" to rebuild the package and all of its 
***  - "/usr/bin/make replace" to replace only the package without 
***    dependencies, risking various problems.
*** Error code 1

Deleting the pth-2.0.0 pkg gives:
pkg_delete: package `pth-2.0.0' is required by other packages:

I assume that updating pth will break old items, or maybe they'd be OK 
(depending on the item).  With only google or empirical testing to 
determine the result.  Or are the libraries linked and incorporated at 
build time and thus all the executables are standalone at that point?  
I had some libraries mentioned that nothing else on the system used; so 
I went and updated those as requested.

What will pkgsrc DO with the items that depend on the pth2.0.0 when/if 
I build the 2.0.0nb2 one?  Can I trust it to not wreak havoc (by 
deleting or rebuilding lots of stuff)?  I assume that I could just make 
a backup copy of /usr/pkg/include and similar directories to keep 
original items safe in case of issues.

As long as it isn't touching SSL/SSHd items I don't really care; the 
rest of the items mentioned are onm the system mostly for fun or 
convenience.  Although I am streaming some MP3 files for use in a 
biology lab, so while I don't wish to take down icecast for very long, 
they are mostly done with that lab so it could come down for a bit.

Thanks for info on this process.  From what I've read, my inclination 
is to expect potential havoc :) and it would be wise to plan some time 
spend rebuilding other apps.  I hope that's wrong, though.  But it's 
hard to see what's going to HAPPEN- this is one reason I haven't done 
anything about moving to 1.6.2 yet.  The upgrade directions tell you 
what to do, but not what happens.  And I need to get around to setting 
up rsync to back up my system yet.



... we parted each feeling
superior to the other and is not that
feeling after all one of the great
desiderata of social intercourse
_The Life and Times of Archy and Mehitabel_