Thank you very much for your comprehensive and detailed instructions, I will try that.

----- Ursprüngliche Nachricht -----
Von: "Alexander Hansen"
Erhalten: 15.09.2009 18:02
An: fink-beginners@lists.sourceforge.net
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

irish...@aon.at wrote:
> Hello,
>
> I am very new to Fink and I have a question concerning compiled packages
> and *.deb files.
> As it takes a very long time to compile the programs from source code
> (from the unstable tree), I wonder if it is possible to backup the
> compiled packages, just in case I have to reinstall
> MacOS and Fink somewhen later? If this is possible, which files should I
> backup then? And how could I re-install the compiled packages (on the
> same computer)?
>
> Thank you very much for the information.
>
>

Backing up and restoring isn't terribly hard, and you normally don't
need to do anything special.

The easiest way is to back up all of your Fink tree (/sw the default
install), and then just reinstall that. As long as you're not changing
the OS version, almost everything ought to work automatically--apart
from packages that got built against libraries that aren't provided with
the operating system and aren't in Fink. There are a couple of special
cases, though:

1) The daemonic and passwd packages perform actions outside of the Fink
tree. If you have those installed, you'd need just to use

fink reinstall daemonic passwd

(or if you only have one, just reinstall that one).

2) Some packages will install a symbolic link in /Applications/Fink.
You can create that yourself (usually the real app is in
/sw/Applications, assuming a default Fink setup) or you can "fink
reinstall" those packages.


For a way that uses less disk space, you can back up all of the .deb
archives of your locally-built packages, along with the Packages.gz
files, from within /sw/fink/10.4/ . That's a little more effort because
they're not all in the same directory; /sw/fink/debs is just a bunch of
symbolic links. If you restore these to their original location after
reinstalling Fink, then you should be able to install the corresponding
packages from these archives.

I think there may be a way to set things up to use the backup media
directly, but I'm not sure how to do that.

What I've normally done when I needed to reinstall the OS was just to do
an archive and install, which leaves the Fink tree intact, rather than a
clean install; or copy all of /sw when I needed to do a clean OS install.

- --
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqvuq8ACgkQB8UpO3rKjQ/2dwCfd5A0w+B3IQgMH9Npyt2Yo66x
HS4AnjcYbjDfQIuSvkDzPU1t7hahHaoT
=IJvm
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to