PDA

View Full Version : fink problems...


synner
01-28-2002, 07:04 AM
History:

At some stage in the past I've installed XFree86 etc, fink, MacGimp and had the whole lot working.

Stupidly I deleted the /sw directory in a fit of panic a few weeks ago when I noticed my HD filling up (thought all stuff was contained within the /sw directory).

Now I've decided to reinstall MacGimp and fink. I reinstalled fink (0.3.0) from my original download and all seemed to be OK until I went to update fink to the latest 0.3.2 version and I get this:

rm -f LATEST-FINK
curl -L -s -S -o LATEST-FINK http://fink.sourceforge.net/LATEST-FINK

A new Fink distribution release is available. I will now download the package
descriptions for Fink 0.3.2a and update the core packages. After that, you
should update the other packages using commands like 'fink update-all'.

gzip -dc packages-0.3.2a.tar.gz | tar -xf -

gzip: packages-0.3.2a.tar.gz: not in gzip format
./inject.pl /sw
Can't exec "./inject.pl": No such file or directory at /sw/lib/perl5/Fink/Services.pm line 180.
### ./inject.pl failed, exit code -1
Failed: injecting the new package definitions from packages-0.3.2a.tar.gz failed

Has anyone got a clue what I should do?

Would it be easiest to start from scratch with fink (if so how should I remove it cleanly as I obviously didn't last time?).

TIA

griffman
01-28-2002, 08:24 AM
I'm going to move this one over to the "UNIX - General" forum, as fink installations are not generally a subject for those brand new to the world of UNIX :-).

-rob.

sao
01-28-2002, 11:36 AM
Before you start from scratch, please run:

"fink selfupdate"

If it works, run next :

"fink update-all"

Also, I almost forgot, from the "fink upgrade matrix" page:

---"If you are upgrading from a Fink release prior to 0.3.1, and you have tetex installed, you should run the command "fink remove tetex" before upgrading. (It may also be necessary to remove the packages which depend on tetex, such as lyx, before tetex can be removed.) Afterwards you can again install tetex and the other packages you removed. "---

Cheers...

synner
01-28-2002, 02:01 PM
Hi there

that error was from running fink selfupdate, and I have neither the lyk or the tetex packages installed (no packages at all at the moment).

Cheers

sao
01-28-2002, 02:15 PM
If you want to start from scratch do the following :

sudo rm -rf /sw

This will remove all files installed by fink.

If you also want to remove Xfree86, run this :

sudo rm -rf /usr/X11R6 /etc/X11 /Applications/XDarwin.app

Cheers...

synner
01-28-2002, 02:27 PM
Hmmm...

sudo rm -rf /sw is what I did last time to remove fink and its files.

I reinstalled it using the same file I used to install it the first time.

Confused? I am.

sao
01-28-2002, 02:56 PM
That's the way to do it according to the FAQ at the fink site.

The advantage to start from scratch is that you can install the latest fink release, that I beleive is 0.3.2a

Sorry, I can't be more helpful to you.

Cheers...

synner
01-28-2002, 03:06 PM
Thanks anyway.

I just need to get a good copy of the latest and start again I think.

Cheers