|
|
#1 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
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. |
|
|
|
|
|
#2 | |||||||||||||||||||
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
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:
So if you are running unstable, first run once more: 'fink selfupdate-cvs' to get: Code:
[pm @ Sao: ~] % fink -V Package manager version: 0.14.0 Distribution version: 0.5.3.cvs Code:
[pm @ Sao: ~] % 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. fink is setting your default update method to rsync I will now run the rsync command to retrieve the latest package descriptions. Updating unstable/main su pm -c 'rsync -az --delete-after -v rsync://fink.opendarwin.org/finkinfo//10.2/unstable/main/finkinfo 10.2/unstable/main/' receiving file list ... done finkinfo/ finkinfo/base/ finkinfo/database/ ............ etc etc etc etc ........... total size is 11 speedup is 0.70 touch stamp-rsync-live && rm -f stamp-cvs-live Reading package info... Updating package index... done. Information about 2990 packages read in 17 seconds. No packages to install. The core packages have been updated. You should now update the other packages using commands like 'fink update-all'. [pm @ Sao: ~] % 'fink selfupdate' |
|||||||||||||||||||
|
|
|
|
|
#3 |
|
Site Admin
Join Date: Dec 2001
Location: Minneapolis, MN
Posts: 3,988
|
Using this right now; and it's working fine.
![]() Edit - it looks like FinkCommander will need a minor rev. to fully comprehend this. |
|
|
|
|
|
#4 |
|
Site Admin
Join Date: Dec 2001
Location: Minneapolis, MN
Posts: 3,988
|
I'm going to 'sticky' this thread for a few days or so.
|
|
|
|
|
|
#5 | |||||||||||||||||||
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
Yes, you are right. The Fink developers already contacted the FinkCommander team to see if they could implement a new command to handle this change and release a new FinkCommander version. It will probably be done very soon. |
|||||||||||||||||||
|
|
|
|
|
#6 |
|
Site Admin
Join Date: Dec 2001
Location: Minneapolis, MN
Posts: 3,988
|
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. |
|
|
|
|
|
#7 | ||||||||||||||||||||||||||||||||||||||
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
Yes, you can either copy the .info, .patch, and source files over from one machine to the other, and put them in the appropriate places (your local tree for the .info and .patch files, and /sw/src for the source file); or you can copy the .deb file over and install it with 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.
Great...! the fink 'cvs' package worked better for me too, there must be a problem with the 'cvs' supplied by Apple. Anyhow, you can use the info I wrote above another time. |
||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
#8 |
|
Prospect
Join Date: Jan 2002
Posts: 36
|
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 |
|
|
|
|
|
#9 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
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? |
|
|
|
|
|
#10 |
|
Prospect
Join Date: Jan 2002
Posts: 36
|
[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. |
|
|
|
|
|
#11 | |||||||||||||||||||
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
gedalin,
If before you were using only stable, you should have followed the indications above:
. 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. |
|||||||||||||||||||
|
|
|
|
|
#12 |
|
Prospect
Join Date: Jan 2002
Posts: 36
|
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. |
|
|
|
|
|
#13 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
gedalin,
I suggest you post your problem at the fink-users list together with your system info and let us know what they say. |
|
|
|
|
|
#14 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
Several problems with the rsync update method were fixed in the new fink release 0.14.2
|
|
|
|
|
|
#15 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
Code:
[pm @ Sao: ~] % man fink.conf
...........
...........
SelfUpdateMethod: point, rsync or cvs
fink(8) can use some different methods to update the package info
files. rsync is the recommended setting, it uses rsync(1) to down-
load only modified files in the trees that you have enabled. Note
that if you have changed or added to files in the stable or unsta-
ble trees, using rsync will delete them. Make a backup first. cvs
will download using anonymous or :ext: cvs(1) access from the fink
repository. This has the disadvantage that cvs can not switch mir-
rors, if the server is unavailable you will not be able to update.
point will download only the latest released version of the pack-
ages. It is not recommended as your packages may be quite out of
date.
...........
...........
|
|
|
|
|
|
#16 |
|
MVP
Join Date: Jan 2002
Posts: 1,562
|
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... Last edited by bluehz; 10-23-2003 at 11:29 PM. |
|
|
|
|
|
#17 |
|
Prospect
Join Date: Jan 2002
Posts: 36
|
Sao, I promised to report on my further success/failure with fink selfupdate-rsync. After my sysadmin opened port 873 everything works ok.
Regards. |
|
|
|
|
|
#18 |
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
"Failed: Problem resolving dependencies. Check for circular dependencies." [sigh]
|
|
|
|
|
|
#19 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
yellow,
Please, more of the routine info: were you running 'update-all' when you got that message? fink -V sw_vers gcc --version |
|
|
|
|
|
#20 |
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
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? Last edited by yellow; 10-25-2003 at 10:11 AM. |
|
|
|
![]() |
|
|