(kicking back to the list) On 03/11/2009, at 19:06, [email protected] wrote: >> On 03/11/2009, at 17:12, monipol wrote: >>> On 03/11/2009, at 09:40, Martin Costabel wrote: >>>> Alexander Hansen wrote: >>>>> [email protected] wrote: >>>> [] >>>>>>> /usr/bin/su unknown -c 'cvs -q -z3 update -d -P -l' >>>>>>> ### execution of /usr/bin/su failed, exit code 1 >>>>>>> /usr/bin/su unknown -c 'cvs -q -z3 update -d -P 10.4' >>>>>>> ### execution of /usr/bin/su failed, exit code 1 >>>>>>> Failed: Updating using CVS failed. Check the error messages >>>>>>> above. >>>>>> tia, Jonathan >>>>>> >>>>> >>>>> I'm not sure, but this could be a legacy of setting things up with >>>>> ignored ownership on your drive. >>>> >>>> I thin this is the case. The user "unknown" doe not seem to be >>>> right >>>> here. Fink takes the user for which to run the su command from the >>>> ownership of one of the files or directories in /sw/fink/ (forgot >>>> which >>>> one, and too lazy to decrypt fink's code). What does >>>> >>>> ls -la /sw/fink >>>> >>>> give? >>> >>> >>> Martin is correct. Fink uses the owner of the /sw/fink/CVS directory >>> as the user under which the cvs command will be run. >>> >>> I believe it would be to cleaner to switch to rsync and then (if >>> needed) switch back to CVS. Note that rsync should be faster than >>> CVS >>> in most cases... >>> >>> ...however, if I understood correctly, you moved your Fink >>> installation from your system HD to an external HD which didn't have >>> ownership/permissions enabled. This means that owners/permissions >>> that >>> were present in your Fink installation on the system HD were nulled >>> when the copy was made. Unless Mac OS does some magic and is able to >>> restore the original owners/permissions, you've got a half-baked >>> Fink >>> installation. Also, some packages need files to be owned by specific >>> users installed by the passwd package. >>> >>> There's a lot of potential for trouble so I would recommend >>> reinstalling Fink altogether. The following page has some >>> instructions >>> that might be helpful: >>> >>> http://finkers.wordpress.com/2009/08/31/starting-anew/ >>> >>> At any rate, as Martin's suggested, send us the output of >>> >>> ls -la /sw/fink >> >> But then again Fink doesn't really allow moving one installation >> from / >> sw to /Volumes/XXX/sw. Fink also should refuse to install under a >> volume which doesn't have ownership+permissions enabled. >> >> What's exactly happened? >> >> -- >> monipol >> http://finkers.wordpress.com > > Replies by monipol, Martin and Alexander appreciated. "ls -la /sw/ > fink" gives Sorry, we forgot that you've installed Fink under /Volumes/LaCieDisk/ sw, so the command should be
ls -la /Volumes/LaCieDisk/sw/fink > drwxr-xr-x 14 jonathan jonathan 476 Nov 2 14:47 . > drwxr-xr-x 15 root admin 510 Nov 1 14:47 .. > -rw-r--r-- 1 jonathan jonathan 38 May 25 2005 .cvsignore > drwxr-xr-x 14 jonathan jonathan 476 Nov 1 14:46 10.4 > drwxr-xr-x 6 jonathan jonathan 204 Nov 1 14:29 CVS That's strange. I'm pretty sure Fink uses the owner of the CVS directory when running cvs via su. > -rw-r--r-- 1 jonathan jonathan 1607 Aug 20 2002 README > -rw-r--r-- 1 jonathan jonathan 11 Jul 2 18:48 TIMESTAMP.tmp > -rw-r--r-- 1 jonathan jonathan 11 Mar 17 2004 VERSION > -rwxr-xr-x 1 jonathan jonathan 6651 Oct 23 2008 compare- > trees.pl > drwxr-xr-x 351 jonathan jonathan 11934 Nov 1 16:01 debs > lrwxr-xr-x 1 jonathan jonathan 4 Nov 1 15:53 dists -> 10.4 > -rwxr-xr-x 1 jonathan jonathan 5431 Mar 30 2004 inject.pl > -rw-r--r-- 2 root admin 52664 Jun 9 2006 override > -rw-r--r-- 1 jonathan jonathan 0 Aug 20 2002 stamp-cvs-live On my box root is the owner of some of these directories listed as being owned by jonathan. > Regarding monipol's question, "What happened?" I removed the entire / > sw > directory, then ran the Mac Fink application. I believe it asked me > what > drive to install the new /sw on, and gave me the options of my main > hard > drive or /Volumes/LaCieDisk. (I'd rather use the external drive if > possible, because the main one is small and space is relatively > scarce.) I was told the binary installer wouldn't allow Fink to be installed in a volume without ownership+permissions enabled. Hmm. > re monipol's suggestion that I use rsync, I'd prefer to and have tried > many times. For some reason rsync can't locate any mirror. Here's > the list > of mirrors it tried: > > distfiles.master.finkmirrors.net > sjc.ca.us.finkmirrors.net > msn.wi.us.finkmirrors.net > ber.de.eu.finkmirrors.net > hnd.jp.asi.finkmirrors.net All these mirrors are reported to be working with the exception of msn.wi.us. We'd need to see the actual error you're getting. Wouldn't it be possible that some firewall on your network is blocking rsync traffic? At any rate, I suggest you reinstall Fink. It's very likely that the owners and permissions under /Volumes/LaCieDisk/sw are not correct. Cheers, -- monipol http://finkers.wordpress.com Submitting a Fink bug report? Read this: http://www.finkproject.org/doc/netiquette/index.php http://finkers.wordpress.com/2009/06/03/bug-reports/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
