solved: Re: rpm trashed my system with linux so's

2010-02-12 Thread Steve Franks
On Thu, Feb 11, 2010 at 9:29 PM, Chuck Swiger cswi...@mac.com wrote:
 On Feb 11, 2010, at 8:05 PM, Steve Franks wrote:
 Main thing is that portupgrade -f gamin is *not* putting fresh bsd
 copies overtop the bad linux ones I stupidly installed, and anything
 with gtk is now useless (shared object 'libselinux.so.1 not found,
 required by libgio-2.0.so.0), which is pretty much everything.

 Short of reinstalling everything from CD, do I have options?

 Sure.  First, however, please note that it is (presumably past) time to 
 obtain a working backup mechanism for any system that you care about.

 Consider the output of find /usr/local/lib -mtime -2 (or some other # of 
 days).  You can use pkg_which to identify the port which should have provided 
 a native FreeBSD library; use pkg_delete -f _portname_ or similar measures to 
 more forcefully remove these Linux .so's.

 Regards,
 --
 -Chuck



Ok, got lucky: linux sticks everything in /lib, which is in the
default path before /usr/local/lib, hence the madness, and hence why
portupgrade won't fix it (it rebuilds most bsd .so's in
/usr/local/lib).

Just rm every .so file that gets complained about missing dependancies
from /lib, and you're back in the land of the living!

That was fun

Anyone know where the right place for rpm to put real unix libs for
use with compat?  compat/lib?

Anyway, thanks, all

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


rpm trashed my system with linux so's

2010-02-11 Thread Steve Franks
Yeah, I admit it, was really stupid of me to try.  All those linux
ports go willy-nilly running rpm's thru your system, so when
linux-flash-plugin-f10 crashed after install, I just *had* to hunt
down it's dependancies and try installing them.

Main thing is that portupgrade -f gamin is *not* putting fresh bsd
copies overtop the bad linux ones I stupidly installed, and anything
with gtk is now useless (shared object 'libselinux.so.1 not found,
required by libgio-2.0.so.0), which is pretty much everything.

Short of reinstalling everything from CD, do I have options?

Bugger.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rpm trashed my system with linux so's

2010-02-11 Thread Chuck Swiger
On Feb 11, 2010, at 8:05 PM, Steve Franks wrote:
 Main thing is that portupgrade -f gamin is *not* putting fresh bsd
 copies overtop the bad linux ones I stupidly installed, and anything
 with gtk is now useless (shared object 'libselinux.so.1 not found,
 required by libgio-2.0.so.0), which is pretty much everything.
 
 Short of reinstalling everything from CD, do I have options?

Sure.  First, however, please note that it is (presumably past) time to obtain 
a working backup mechanism for any system that you care about.

Consider the output of find /usr/local/lib -mtime -2 (or some other # of 
days).  You can use pkg_which to identify the port which should have provided a 
native FreeBSD library; use pkg_delete -f _portname_ or similar measures to 
more forcefully remove these Linux .so's.

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org