Jonathan Smith wrote:
> Hi,
>
> I tried to selfupdate (using CVS) and failed to connect. Assuming
> this was due to the server being overwhelmed (per the docs), I tried
> selfupdate-rsync. Repetitively, the mirrors fail and I'll select
> another in the country. Sometimes it will work, and I get the
> following output:
>
> rsync -az -q rsync://msn.wi.us.finkmirrors.net/finkinfo//TIMESTAMP
> /sw/fink/TIMESTAMP.tmp
> I will now run the rsync command to retrieve the latest package descriptions.
> rsync -rtz --delete-after --delete -q --include='10.4/'
> --include='10.4/stable/' --include='10.4/stable/main/'
> --include='10.4/stable/main/finkinfo/'
> --include='10.4/stable/main/finkinfo/*/'
> --include='10.4/stable/main/finkinfo/*'
> --include='10.4/stable/main/finkinfo/**/*' --include='10.4/'
> --include='10.4/stable/' --include='10.4/stable/crypto/'
> --include='10.4/stable/crypto/finkinfo/'
> --include='10.4/stable/crypto/finkinfo/*/'
> --include='10.4/stable/crypto/finkinfo/*'
> --include='10.4/stable/crypto/finkinfo/**/*' --include='VERSION'
> --include='DISTRIBUTION' --include='README' --exclude='**'
> 'rsync://msn.wi.us.finkmirrors.net/finkinfo' '/sw/fink/'
> WARNING: Not saving timestamp of selfupdate because could not write
> /sw/fink/10.4-transitional/VERSION.selfupdate.tmp: No such file or directory
> Information about 2617 packages read in 1 seconds.
> WARNING: could not read /sw/fink/10.4-transitional/VERSION: No such file or
> directory
> WARNING: unable to determine last selfupdate time. You should run 'fink
> selfupdate' to get the latest package descriptions.
> The following package will be installed or updated:
> fink
> Failed: file download failed for fink-0.18.4.tar of package fink-0.18.4-1
>
>
> I am running Mac OS X 10.4.11, gcc set to gcc3.3. The fink version was
> 0.20.xx.
>
> Now, I'm getting the following output from 'fink --version':
>
> WARNING: could not read /sw/fink/10.4-transitional/VERSION: No such file or
> directory
> Use of uninitialized value in concatenation (.) or string at
> /sw/lib/perl5/Fink/Config.pm line 324.
> Use of uninitialized value in length at /sw/lib/perl5/Fink/Config.pm line 325.
> Package manager version: 0.28.5
> Distribution version: selfupdate-, 10.4-transitional, powerpc
>
> Copyright (c) 2001 Christoph Pfisterer
> Copyright (c) 2001-2008 The Fink Package Manager Team
> This program is distributed in the hope that it will be useful,
> but WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> GNU General Public License for more details.
>
>
> What can I do to fix this without upgrading to Mac OS 10.5?
>
> Thank you.
>
>
It looks like you were on the 10.4-transitional distribution--gcc should
no longer be set to 3.3, for one thing, except for rare packages. That
distribution has been unsupported since the end of July 2006. Moreover,
since that time sourceforge changed the cvs structure, so that would
account for your update failures.
fink-0.28-5 does _not_ support upgrades from 10.4-transitional.
Since the 10.4 binary distribution is really outdated, I'd do an install
from source.
1) Capture your installed packages via something like
fink list -it | grep -v " p " | grep -v "\[" | cut -f2 > installed.list
2) If you've got a fink-0.28.5.tar.gz in /sw/src, copy that to e.g.
your home directory.
3) Remove your fink tree via
sudo rm -rf /sw
4) Install fink from source.
A) Grab the fink-0.28.5 source if you didn't have that laying around:
http://downloads.sourceforge.net/fink/fink-0.28.5.tar.gz
B) Open that archive up
C) In a terminal window use 'cd' to point to the resulting
fink-0.28.5 directory
D) run
./bootstrap
and that will install the base packages for the regular Fink
distribution for 10.4.
5. After that you should run a "fink selfupdate-rsync" to turn rsync
updates on.
6. If you use
cat installed.txt | xargs fink install
That should bring back your installed packages.
--
Alexander Hansen
Fink User Liaison
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners