Sorry to bother you again - net traffic is preventing me from
getting the help pages off sourceforge:
At 11:08 PM -0800 21/1/03, Ben Hines wrote:
On Wednesday, January 22, 2003, at 04:42 PM, Grant Jacobs wrote:
Can't locate Fink/Services.pm in @INC (@INC contains: /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .) at /sw/lib/fink/postinstall.pl line 30.
BEGIN failed--compilation aborted at /sw/lib/fink/postinstall.pl line 31.
dpkg: error processing fink (--install):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
fink
### dpkg failed, exit code 1
Failed: can't install package fink-0.11.1-1
You probably aren't properly sourcing /sw/bin/init.sh in your .cshrc (or .tcshrc). Step 3: http://fink.sourceforge.net/download/index.php
OK...
Also, if you are updating a 10.1 fink install to 10.2, you should be doing this instead:
http://fink.sourceforge.net/download/10.2-upgrade.php
Thanks for the tips. In practice the download actually gives you
a file named:
apt-shlibs_0.5_win-powerpc.deb
rather than:
apt-shlibs_0.5.4-7_darwin-powerpc.deb
I took the liberty of re-naming it (after checking that
source-forge does think that its delivering me the Darwin file...)
After that things seem to work fine until I got to the final step on
the help page, running fink selfupdate, which outputs:
su gjacobs -c 'cvs -z3 update -d -P'
? debs
? old
? override
? stamp-rel-0.3.0
? stamp-rel-0.3.1
? 10.1/stable/crypto/finkinfo/curl-ssl-7.9-1.info
? 10.1/stable/crypto/finkinfo/egd-0.8-1.info
? 10.1/stable/crypto/finkinfo/egd-0.8-1.patch
? 10.1/stable/crypto/finkinfo/gnupg-1.0.6-7.info
? 10.1/stable/crypto/finkinfo/gnupg-1.0.6-7.patch
? debs
? old
? override
? stamp-rel-0.3.0
? stamp-rel-0.3.1
? 10.1/stable/crypto/finkinfo/curl-ssl-7.9-1.info
? 10.1/stable/crypto/finkinfo/egd-0.8-1.info
? 10.1/stable/crypto/finkinfo/egd-0.8-1.patch
? 10.1/stable/crypto/finkinfo/gnupg-1.0.6-7.info
? 10.1/stable/crypto/finkinfo/gnupg-1.0.6-7.patch
[snip]
?
10.1/unstable/main/finkinfo/x11-wm/windowmaker-0.70.0-3.patch
? 10.1/unstable/main/finkinfo/x11-wm/xfce-3.8.10-1.info
? 10.1/unstable/main/finkinfo/x11-wm/xfce-3.8.10-1.patch
? 10.2/local
? 10.2/stable
? dists/local
? dists/stable
cvs server: Updating .
U .cvsignore
U ChangeLog
U README
U VERSION
U inject.pl
U stamp-cvs-live
cvs server: Updating 10.1
cvs server: Updating 10.1/stable
cvs server: Updating 10.1/stable/crypto
cvs server: Updating 10.1/stable/crypto/finkinfo
? 10.1/unstable/main/finkinfo/x11-wm/xfce-3.8.10-1.info
? 10.1/unstable/main/finkinfo/x11-wm/xfce-3.8.10-1.patch
? 10.2/local
? 10.2/stable
? dists/local
? dists/stable
cvs server: Updating .
U .cvsignore
U ChangeLog
U README
U VERSION
U inject.pl
U stamp-cvs-live
cvs server: Updating 10.1
cvs server: Updating 10.1/stable
cvs server: Updating 10.1/stable/crypto
cvs server: Updating 10.1/stable/crypto/finkinfo
[snip]
cvs server: Updating 10.1/unstable/main/finkinfo/x11-system
cvs server: Updating 10.1/unstable/main/finkinfo/x11-wm
cvs server: Updating 10.2
U 10.2/.cvsignore
cvs update: in directory 10.2/stable:
cvs update: cannot open CVS/Entries for reading: No such file or directory
cvs server: Updating 10.2/stable
cvs update: cannot write 10.2/stable/.cvsignore: Permission denied
cvs update: in directory 10.2/stable/crypto:
cvs update: cannot open CVS/Entries for reading: No such file or directory
cvs server: Updating 10.2/stable/crypto
cvs update: cannot write 10.2/stable/crypto/.cvsignore: Permission denied
cvs server: Updating 10.1/unstable/main/finkinfo/x11-wm
cvs server: Updating 10.2
U 10.2/.cvsignore
cvs update: in directory 10.2/stable:
cvs update: cannot open CVS/Entries for reading: No such file or directory
cvs server: Updating 10.2/stable
cvs update: cannot write 10.2/stable/.cvsignore: Permission denied
cvs update: in directory 10.2/stable/crypto:
cvs update: cannot open CVS/Entries for reading: No such file or directory
cvs server: Updating 10.2/stable/crypto
cvs update: cannot write 10.2/stable/crypto/.cvsignore: Permission denied
cvs [update aborted]: cannot make directory
10.2/stable/crypto/finkinfo: No such file or directory
### execution of su failed, exit code 1
Failed: Updating using CVS failed. Check the error messages above.
### execution of su failed, exit code 1
Failed: Updating using CVS failed. Check the error messages above.
This happens regardless of whether I am root or gjacobs (my
user). I've tried manually creating this directory, only to get
further silliness. I think I need a 'fink fix-permissions' :-)
Seriously, er, advice? Can it and start over?
Perhaps a future version of fink might acquire enough smarts to
know when it can't do a self update and inform the user that they
ought to do a manual update, ideally with a reference to where the
instructions are? Most users after all will just type fink selfupdate
and expect something sensible to happen. All this would require is for
fink to first download a small file with OS versions and the
associated details before embarking on anything else - ?
While I think about it, testing for an environment variable
indicating that /sw/bin/init has been run and warning users if it
hasn't would also help (I do exactly this for some software I write
for a local academic; it also checks the right shell is being used,
etc.)
Finally! - to start over, I presume you just can the contents of
/sw and begin again...? (I know this is an FAQ, but I can't get pages
of sourceforge at present.)
Grant
--
--------------------------------------------------------
Grant Jacobs [EMAIL PROTECTED]
McAndrew Bay, Dunedin, ph. +64 3 476 1820
NEW ZEALAND. fax. +64 3 476 1825
Grant Jacobs [EMAIL PROTECTED]
McAndrew Bay, Dunedin, ph. +64 3 476 1820
NEW ZEALAND. fax. +64 3 476 1825
