Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-16-2003, 01:21 AM   #1
fxt
Triple-A Player
 
Join Date: Sep 2002
Location: los alamos
Posts: 96
fink binary upgrade failing

i have fink 0.5.1 binaries happily functioning on several 10.2.5 machines. i followed the instructions given on the fink homepage for upgrading to fink 0.5.2 - Update normally through dselect: Choose "[U]pdate", then "[I]nstall". it seemed to run just fine, no errors were generated. however, i don't see any of the binaries that are new to 0.5.2 (e.g., flac or rsync). in fact,

% fink --version
Package manager version: 0.12.1
Distribution version: 0.5.1

so although i've "updated" its still listed as 0.5.1.
any thoughts?

thanks

fxt

Last edited by fxt; 04-16-2003 at 01:25 AM.
fxt is offline   Reply With Quote
Old 04-16-2003, 02:33 AM   #2
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
fxt,

Try running:

'fink scanpackages'
sao is offline   Reply With Quote
Old 04-16-2003, 08:25 AM   #3
fxt
Triple-A Player
 
Join Date: Sep 2002
Location: los alamos
Posts: 96
hi sao,

thanks for the tip. still stuck at 0.5.1 though:

% fink scanpackages
sudo /sw/bin/fink scanpackages
Information about 925 packages read in 0 seconds.

dpkg-scanpackages dists/local/main/binary-darwin-powerpc override | gzip >dists/local/main/binary-darwin-powerpc/Packages.gz
Wrote 0 entries to output Packages file.
dpkg-scanpackages dists/stable/main/binary-darwin-powerpc override | gzip >dists/stable/main/binary-darwin-powerpc/Packages.gz
Wrote 0 entries to output Packages file.
dpkg-scanpackages dists/stable/crypto/binary-darwin-powerpc override | gzip >dists/stable/crypto/binary-darwin-powerpc/Packages.gz
Wrote 0 entries to output Packages file.
dpkg-scanpackages dists/local/bootstrap/binary-darwin-powerpc override | gzip >dists/local/bootstrap/binary-darwin-powerpc/Packages.gz
Wrote 0 entries to output Packages file.

% fink --version
Package manager version: 0.12.1
Distribution version: 0.5.1

short of nuking /sw and using the 0.5.2 installer, is there anything else i should try?

thanks!

fxt

Last edited by fxt; 04-16-2003 at 12:13 PM.
fxt is offline   Reply With Quote
Old 04-16-2003, 10:46 AM   #4
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
fxt,

Yes, I never liked dselect

Maybe you just try with apt, run:

'sudo apt-get update'

to get the latest package list, and then:

'sudo apt-get upgrade'

to update all packages that have new versions available.
sao is offline   Reply With Quote
Old 04-16-2003, 11:02 AM   #5
fxt
Triple-A Player
 
Join Date: Sep 2002
Location: los alamos
Posts: 96
hi sao,


% sudo apt-get update
Password:
Hit http://us.dl.sourceforge.net 10.2/release/main Packages
Hit http://us.dl.sourceforge.net 10.2/release/main Release
Hit http://us.dl.sourceforge.net 10.2/release/crypto Packages
Hit http://us.dl.sourceforge.net 10.2/release/crypto Release
Hit http://us.dl.sourceforge.net 10.2/current/main Packages
Hit http://us.dl.sourceforge.net 10.2/current/main Release
Hit http://us.dl.sourceforge.net 10.2/current/crypto Packages
Hit http://us.dl.sourceforge.net 10.2/current/crypto Release
Reading Package Lists... Done
Building Dependency Tree... Done

% sudo apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

% fink --version
Package manager version: 0.12.1
Distribution version: 0.5.1


i recall having the same difficulty when transitioning from 0.5 to 0.5.1. the thought of nuking /sw to install 0.5.2 on five machines isn't super appealing. i'm curious if anyone else who uses only the binary packages is seeing this upgrade problem, or if its just my special curse.

fxt

Last edited by fxt; 04-16-2003 at 12:12 PM.
fxt is offline   Reply With Quote
Old 04-16-2003, 11:35 AM   #6
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
fxt,

Where do you have 'source /sw/bin/init.csh' in your ~/.cshrc file?

And do you have also a ~/.tcshrc file?
sao is offline   Reply With Quote
Old 04-16-2003, 11:57 AM   #7
fxt
Triple-A Player
 
Join Date: Sep 2002
Location: los alamos
Posts: 96
hi sao,

i only run a ~/.tcshrc file., not a .cshrc file.
is this a problem? if so, why?


% more .tcshrc
# new files are rd-able/x-able by all, writable only by owner
umask 22
limit coredumpsize 0

# mac defaults
# limit datasize 6144 kbytes
# limit stacksize 512 kbytes

limit datasize unlimited
limit stacksize unlimited

# for fink with mac osx
source /sw/bin/init.csh

and so on.


fxt
fxt is offline   Reply With Quote
Old 04-16-2003, 04:23 PM   #8
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
fxt,

Thanks again to Alexander Hansen who made me aware of the small link at the the news item at the Fink site:

http://fink.sourceforge.net/

that says "consult these special instructions":

-------------------

Repairing the Upgrade Path

Install an older version of the fink package manager, by running the following commands in a Terminal.app window:
Code:
curl -O http://us.dl.sf.net/fink/direct_down...in-powerpc.deb
sudo dpkg -i fink_0.11.1-10_darwin-powerpc.deb
rm fink_0.11.1-10_darwin-powerpc.deb
(Best is that you go to that link and copy/ paste the full http address)

Now update as usual, by running fink selfupdate.

Hope it works...

Last edited by sao; 04-16-2003 at 04:28 PM.
sao is offline   Reply With Quote
Old 04-16-2003, 05:04 PM   #9
fxt
Triple-A Player
 
Join Date: Sep 2002
Location: los alamos
Posts: 96
hi sao,

first, thanks for your time and energy in helping me get to the bottom of this.

the link off the fink homepage says "If you are having trouble upgrading a source installation ...". do you think i should try the suggested solution even though i'm only using the binary distribution?

fxt
fxt is offline   Reply With Quote
Old 04-16-2003, 05:10 PM   #10
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
fxt,

Yes, go ahead and give it a try. I heard that these instructions worked fine.

Let me know and good luck...
sao is offline   Reply With Quote
Old 04-16-2003, 08:09 PM   #11
fxt
Triple-A Player
 
Join Date: Sep 2002
Location: los alamos
Posts: 96
hi sao,

perfect! so it works for both source and binary installations:

% fink --version
Package manager version: 0.12.1
Distribution version: 0.5.2

now i can see all the new goodies :)
thank you again for your time and advice.

fxt
fxt is offline   Reply With Quote
Old 04-16-2003, 10:31 PM   #12
chabig
Hall of Famer
 
Join Date: Jan 2002
Posts: 3,016
I echo the thanks. I couldn't update either. I thought they were probably behind on posting the updated files. But the "special instructions" fixed my problem too. I never thought to try them because my installation was binary, not a source install.

Chris
chabig is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 06:15 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.