Hello,

At 11:05 -0700 on 2012-4-13 Alexander Hansen wrote:
 >
 > On 4/13/12 9:31 AM, Stefan Bruda wrote:
 > >
 > > Now that I am satisfied with how Fink works on my test (virtual)
 > > machine, I am ready to upgrade my main machine and move what I already
 > > have there.  I see at least three ways of doing it:
 > >
 > > 1. Most tempting, I thought of just copying the whole /sw (/opt/sw in
 > >     my case actually) to the new machine.  However, I am aware of some
 > >     packages that perform system-wide changes (in the password
 > >     database, xinitrc, probably launch daemons too) so these will have
 > >     to be reinstalled.  Is there any way to find out which packages
 > >     need reinstallation?
 > >
 > > 2. I can also move all the fink trees and DEBs over and reinstall (not
 > >     rebuild) everything.  This should work, right?  If so just
 > >     appropriate "fink install" commands (with the DEBs in place) should
 > >     work, right?
 > >
 > > 3. Worse comes to worst I can obviously just start from scratch and
 > >     rebuild everything.  For obvious reasons I would rather not do that
 > >     if I can take any of the two paths above...
 > >
 > > Advice (pitfalls, etc.) is appreciated.
 > >
 > > By the way, I would like to express my admiration (and my thanks too!)
 > > for the Fink project as a whole.  I tried macports on my test rig
 > > (during my Firefox versus Xcode 4.3 saga).  True, they have so many
 > > more packages for 10.7; problem is, half of those will not work.  I
 > > had my own pains with Fink (most notably attempting to get a GNOME
 > > desktop together), but minimal porting from the 10.4 tree worked well
 > > and I am now a happy camper.  Thank you once more.
 >
 > 1) shouldn't be too bad.  Using something along the lines of
 > 
 > fink reinstall `fink list -it daemonic xinitrc | cut -f2`
 > fink reinstall `fink --exclude-trees=virtual list -it passwd | grep -v 
 > "\[virtual"  | cut -f2`
 > fink reinstall `fink --exclude-trees=virtual list -it | grep -v 
 > "\[virtual" | cut -f2 | xargs fink dumpinfo -finfofile | cut -d: -f2 | 
 > xargs grep -l "[dD]aemonic" | sort | uniq | xargs grep -h -m 1 Package | 
 > cut -d: -f2`
 > 
 > should search the database for installed packages that require 
 > reinstallation and then perform the install.  In principle maybe you 
 > could do it on one line, but I preferred to break it up to set the order 
 > of installation.

Great, thanks a lot, that makes my life as easy as pie.  I will report
glitches (if any).

Cheers,
Stefan

-- 
If it was so, it might be; and if it were so, it would be; but as it 
isn't, it ain't.  That's logic.  --Lewis Carroll, Through the Looking-Glass

No HTML emails and proprietary attachments please <http://bruda.ca/ascii>

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to