![]() |
New fink command: 'fink selfupdate-rsync'
The Fink developers are adding a new command to fink:
"fink selfupdate-rsync" which will provide a rsync option for users and will become the recommended update method for 'all users', very shortly. All those users (like myself) that experienced problems over the past few months with CVS at sourceforge, will surely welcome and understand this change. According to David R. Morrison, the new fink command will be in an "unstable" release of the 'fink package manager' within the next day or two. |
The newest fink package manager v0.14.0 with the 'new update method using rsync' is now in unstable:
David R. Morrison wrote at the fink-users list: Quote:
'fink selfupdate-cvs' to get: Code:
[pm @ Sao: ~] % fink -VCode:
[pm @ Sao: ~] % fink selfupdate-rsync'fink selfupdate' |
Using this right now; and it's working fine. :)
Edit - it looks like FinkCommander will need a minor rev. to fully comprehend this. |
I'm going to 'sticky' this thread for a few days or so.
|
Quote:
|
Sao: I have the source for fink 0.14.0 on one machine; is there a way to use this to update another (from 0.13.8) without going through the troublesome cvs route?
Edit - after installing the fink cvs package to override the borked Apple 10.2.8 version, I was able to selfupdate the other machine OK. |
Quote:
sudo dpkg –install <filename> e.g. “sudo dpkg –install ~/fink-0.14.0-1.deb” if you put the .deb file in your home directory. Quote:
|
I installed fink 0.14.0. Fink selfupdate-cvs works as usual but for rsync I get
[space:~] gedalin% fink selfupdate-rsync sudo /sw/bin/fink selfupdate-rsync Password: Please note: the command 'fink selfupdate' should be used for routine updating; you only need to use 'fink selfupdate-cvs' or 'fink selfupdate-rsync' if you are changing your update method. I will now run the rsync command to retrieve the latest package descriptions. Updating stable/main su gedalin -c 'rsync -az --delete-after -v rsync://fink.opendarwin.org/finkinfo//10.2/stable/main/finkinfo 10.2/stable/main/' rsync: failed to connect to fink.opendarwin.org: Connection refused rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-8/rsync/clientserver.c(85) ### execution of su failed, exit code 10 Failed: Updating stable/main using rsync failed. Check the error messages above. What's wrong ? Michael |
gedalin,
Please, the result from: fink -V Which procedure you followed to upgrade to Fink 0.14.0 or did you have unstable enabled before the upgrade? |
[space:~] gedalin% fink -V
Package manager version: 0.14.0 Distribution version: 0.5.3.cvs Copyright (c) 2001 Christoph Pfisterer Copyright (c) 2001-2003 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. I enabled "unstable" in Fink Commander before installing new fink. It is enabled in fink.conf. |
gedalin,
If before you were using only stable, you should have followed the indications above: Quote:
It seems the command in your case, even you enabled unstable, starts with "Updating stable/main". You could run 'fink index' and then try the new command again. |
Sao, the instructions say that I should do that if I AM using stable only, but I DID enable unstable. Anyway, the instructions failed:
[space:/sw/etc] gedalin% fink update fink sudo /sw/bin/fink update fink Reading package info... Can't locate auto/Storable/autosplit.ix in @INC (@INC contains: /sw/lib/perl5 /System/Library/Perl/darwin-thread-multi /System/Library/Perl /Library/Perl/darwin-thread-multi /Library/Perl /Network/Library/Perl/darwin-thread-multi /Network/Library/Perl .) at /System/Library/Perl/AutoLoader.pm line 158. at /System/Library/Perl/darwin-thread-multi/Storable.pm line 21 Information about 2989 packages read in 23 seconds. No packages to install. [space:/sw/etc] gedalin% fink selfupdate-rsync sudo /sw/bin/fink selfupdate-rsync Please note: the command 'fink selfupdate' should be used for routine updating; you only need to use 'fink selfupdate-cvs' or 'fink selfupdate-rsync' if you are changing your update method. I will now run the rsync command to retrieve the latest package descriptions. Updating stable/main su gedalin -c 'rsync -az --delete-after -v rsync://fink.opendarwin.org/finkinfo//10.2/stable/main/finkinfo 10.2/stable/main/' rsync: failed to connect to fink.opendarwin.org: Connection refused rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-8/rsync/clientserver.c(85) ### execution of su failed, exit code 10 Failed: Updating stable/main using rsync failed. Check the error messages above. Isn't the order of checking the same as the order in fink.conf ? I have stable/main before unstable/main. In any case, it seems to me that I have no access to rsync://fink.opendarwin.org. I am behind a corporate firewall and in the past I had to ask our sysadmin to open a port to be able to use cvs. Is it possible that rsync requires opening additional port ? Anyway, thanks for the help. |
gedalin,
I suggest you post your problem at the fink-users list together with your system info and let us know what they say. |
Several problems with the rsync update method were fixed in the new fink release 0.14.2
|
Code:
[pm @ Sao: ~] % man fink.conf |
I am not having any luck with this either:
Followed direction at fink; Installed to August 2003 Developer Update Installed fink-0.15-beta (downloaded, untarred, ./inject) then ran fink selfupdate-rsync and it just sits there... Made sure the proper port (873) was open. tried several more times. Still no luck. Although after ctrl-c it a couple of times, it started updating something. compiled for about an hour or so and then it was done. Tried rsync again.. still no luck. fink -V Package manager version: 0.15.1 Distribution version: 0.5.3.cvs why does it still say "cvs" --- EDIT After reading this thread - I am now running selfupdate-cvs and something is happening. But this does not solve the rsync problem... |
Sao, I promised to report on my further success/failure with fink selfupdate-rsync. After my sysadmin opened port 873 everything works ok.
Regards. |
"Failed: Problem resolving dependencies. Check for circular dependencies." [sigh]
|
yellow,
Please, more of the routine info: were you running 'update-all' when you got that message? fink -V sw_vers gcc --version |
I was toward the end of the 'fink selfupdate-rsync', but I believe that yes it was trying to do an update all.
yellow% fink -V Package manager version: 0.16.0 Distribution version: 0.6.0.cvs yellow% sw_vers ProductName: Mac OS X ProductVersion: 10.3 BuildVersion: 7B85 yellow% gcc --version gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495) I was trying to update fink according to your The State of Fink post. I didn't get too far. I couldn't find anything thing resembling this in the fink forums/faqs/docs. Did I screw up the installation of 0.15.1 beta? |
yellow,
You were running the command 'fink selfupdate-rysnc' or 'fink selfupdate' ? |
I've tried both. I tried 'fink update-all'. I reinstalled the fink beta, and retried the rsync. All with the same results. Maybe it's a fluke of my home machine. As soon as I can decide which disk to install it on here at work, I'll test it here too.
|
yellow,
I have the same as you: Code:
[pm @ Sao: ~] % sw_versfink selfupdate and this updated using the rsync method to fink-0.16.0 But to tell the truth, I am not 100% sure that this was the correct procedure. Need some time to experiment further. |
I upgraded my machine at work and did exactly the same as I did at home and ended up with the same result: "Failed: Problem resolving dependencies. Check for circular dependencies." [pout] I guess maybe it's back to square one. Remove and reinstall.
|
I suspect that the problem is with: "fink-prebinding" Trying to install anything that requires that to bew built causes the failure.
When I installed XTools, I installed the basics + X11 SDK, as well as 10.2 & 10.3 SDKs. |
yellow,
Yes, maybe that could be it. I read at the fink-beginners list someone who said he installed fink-prebinding separately and that helped solve the problem. |
I'm getting the same issue as yellow. It's failing while attempting to install the fink-prebinding package as part of the selfupdate process. It's been happening to me under both cvs and rsync. I'm not sure which version of fink I was upgrading from, whatever was on versiontracker as of 3 days ago. In any case, I'm going to attempt to remove tetex, if it's installed, then run the selfupdate again to see if it helps.
On an unrelated note, I'm having serious issues getting ethereal to work correctly in Panther. I've got apple's X11 installed, fink installed ethereal for me, but whenever i launch it, I get a gtk+ warning that it cannot open the display. I'll try to fiddle around with any fink specific/ethereal specific X11 config files, to see if it's looking for the wrong display, or something. Does anyone know if this is an issue on my end, or just a fink package that hasn't quite been updated for panther yet? Quote:
|
Quote:
|
Quote:
|
Thanks, but I don't have that installed. I've tried removing packages and I've remove everything that I was allowed to remove and still no dice. I'm giving up until there's a fink deployment that's more stable for Panther. Serves me right for trying to get ahead of the game.
|
Quote:
you were at 0.16.0 then you tried to downgrade to 0.15.1 beta ?! currently running fink selfupdate-rsync here under 0.16.0 cctools - okay ncurses - okay unzip... Code:
Preparing to replace unzip 5.50-4 (using .../unzip_5.50-14_darwin-powerpc.deb) ... |
Quote:
me -> giving up & going drinking <clink> |
'The lair of the fink prebinding'
From a joint iChat session with mervTormel:
Well, we run first 'fink selfupdate' which failed on both machines. Then run' fink install fink-prebinding' And then run 'fink selfupdate' again and this time it worked on both machines. |
Even starting from scratch... I cannot get to the fink-prebinding package without doing an update first. Once I've done the update, (rsync, cvs, or otherwise), it fails when I try to install fink-prebinding. It has to be breaking with something I've installed from the XTools.
|
successfully ran the prebinding after installing XCode. Still am unable to selfupdate-rsync. CVS seems to be working fine..
do I need to reinstall the fink pkg mgr beta (latest) that I installed pre-Panther? |
Finally got everything to work. I'm unsure if it's because I removed the 10.3 SDK or because I downloaded the fink-0.6.0-full distribution and built it from scratch. I'll find out Monday* when I try the same from work.
* Sunday? What was I thinking?! It's football day! |
Same probs as yellow : fresh install fixed
I had exactly the same result as Yellow when doing a fink - autoupdate.
Reinstalled everything from scratch using the 0.6.0 sources and it went fine. Just my two peneth. |
pkginfo inject.pl broken?
I downloaded and installed from the 0.6.0 source code this morning....
all went fine, but it said at the end : Code:
Copying the package description tree failed. This is no big harm;Anyway, I tried editing the file but it didnt come up with any better results. In the end i strong-armed it and just copied the package info firs myself to the 10.3 directory, and added the other 10.2-gcc3.3 directory side by side with it. the prob is, that although it now lists all the packages availible, it only shows source distributions as availible. I know that binaries for the 0.6 dist (10.3) arent availible (or i am guessing at least), but shouldnt it be reading from the older 10.2-gcc3.3 directory too? IE, shouldnt i be able to see newer sources availible as well as older binaries? My prob is that i have amaturely tried to fix this bug and am not sure that i have fully done so...are there any other steps i need to take to get it to regonise the availbile packages fromt the older 10.2-gcc3.3 distro? any help well appreciated. |
Quote:
|
Great! :)
|
Just done a clean install from the CVS repository:
PROBLEM??? Where the hell is the pkginfo directory? It didnt download one, and I have browsed the CVS and it isnt there! I downloaded the packages module from CVS, but that is ancient - version 0.41a or something....what the hell am i doing wrong? |
OK - \o/ feeling like a bit of a novice now!
so i have found out about fink -selfupdate (via rsync). the only trouble is that having previously accidently installed the old pkginfo from the cvs module i downloaded, I cannot get fink to actually let me see the new updated list. It updates fine, and i can tell by going and having a look at one of the description files for a package (I have been using KDEBase3 as a test) - the files I have in the /sw/fink/10.3 directory are correct, but fink is still listing the old versions from my CVS install. Anyway....it seems easier just to let it sit reinstalling now rather that poke around for hours trying to sort it out. I should have a nice clean v0.6 install in an hour or so (fingers crossed). |
selfupdate-rsync was failing for me after Panther update. As a last-ditch before blasting Fink and reinstalling, I ran selfupdate-cvs, installed fink-prebinding, then did selfupdate-rsync again - all worked right.
|
Tried that too - selfupdate-cvs and then selfupdate-rsync - still not working for me...
I get nothing after I run the command, until I start ctrl-c the processes then its starts showing failure notices. |
just chatted thru some of this with craig arko.
have you tried % fink index ? |
Still nothing after indexing.
The only thing I can run is fink selfupdate-cvs, and even then it seems like its doing the same thing over and over. Looks like creating a bunch of symlinks to items within the older 10.1 dir. Would it be easier to move my /sw aside, install clean Fink and then migrate pkgs over from old /sw? Would be worth it if that helped. This is where I am currently: Package manager version: 0.16.0 Distribution version: 0.6.0.cvs |
bluehz,
Please, post the contents of your /sw/etc/fink.conf file. |
Code:
# Fink configuration, initially created by bootstrap.pl |
bluehz,
I don't know if this will help, but can you change in the Trees: line 'local/main' to be first, before 'unstable/main' and also set it up to Verbose: 2 So it can tell a bit more if it fails (don't write 3). And then run 'fink selfupdate'. I suppose also you have rsync installed in /sw/bin/rsync ? Let me know. Maybe after you could also try rsync by hand to see if it works. For example to fetch a listing of the available files and modification dates in the directory /sw/fink/10.2-gcc3.3/stable/main/finkinfo/x11 you can run: Code:
rsync opendarwin.org::finkinfo/10.2-gcc3.3/stable/main/finkinfo/x11/ |
DOH!!!! At one time I did have fink installed rsync, but apparently I removed it for a manually installed /usr/local/bin/ install of rsync. Just updated rsync to fink version:
fink install rsync and fink selfupdate is now working! Thx guys... |
Great! :)
|
Ok - so I succesfully completed a fink selfupdate (via rsync) and at the end it tells you shoudl probably do a update-all. Normally I just ignore, but I thought I would see what it would do, so I ran fink update-all and it listed 131 packages that needed to be updated. Sounds a bit steep to me!!! I mean I keep it pretty uptodate.
|
bluehz,
That's ok, it probably wants to recompile them with gcc3.3 Go ahead and see what happens (I bet it will fail somewhere, but then again...maybe not) If it fails, update them one by one... :) |
Is there anyway to check and make sure Fink is indeed using gcc3.3? I assume that it was set that waiy when updating to Fink 0.6x, but I would like to make sure.
|
bluehz,
run: Code:
[pm @ Sao: ~] % gcc_select 3.3 |
| All times are GMT -5. The time now is 06:13 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.