On 8/5/06, Philip Ershler <[EMAIL PROTECTED]> wrote: > > On Aug 5, 2006, at 2:39 AM, Martin Costabel wrote: > > > Philip Ershler wrote: > > [] > >> /usr/bin/su unknown -c "rsync -rtz --delete-after --delete -v -- > > > > I suspect it is the "unknown" here that breaks things. You don't > > have an user named "unknown" on your machine, do you? > > > > The fink selfupdate-rsync program chooses the username to 'su' to > > by looking at the owner of some file or directory in /sw/fink/, I > > think /sw/fink/10.4 in your case. Something must be wrong when fink > > tries to find its owner. What do you get from > > > > ls -la /sw/fink > > > > -- > > Martin > > > Hi Martin, > Below is the listing you asked for. When I saw the 1000:1000 on > TIMESTAMP.tmp, I thought ah ha, that must be it. So I chowned it to > root:admin. Fink selfupdate still failed exactly the same way with > "unknown" in the rsync command. Looking back at TIMESTAMP.tmp now > showed root:55002. There is an "unknown" user in the local netinfo > database with the uid:gid of 99:99. Is there an easy way to capture > the installed packages in the current fink tree and then use the info > to batch reinstall the same packages in a fresh 10.4 tree? If I don't > have to reinstall each package manually, might it be just easier to > just start with a fresh sw installation? > > Thanks, Phil > > [EMAIL PROTECTED] ~>ls -la /sw/fink > total 64 > drwxr-xr-x 20 dustman admin 680 Aug 4 22:19 . > drwxr-xr-x 15 root admin 510 Jul 31 22:42 .. > -rwxr-xr-x 1 root admin 6148 Jan 3 2003 .DS_Store > -rw-r--r-- 1 dustman admin 24 Aug 20 2002 .cvsignore > drwxr-xr-x 6 dustman admin 204 Oct 31 2003 10.2 > drwxr-xr-x 5 dustman admin 170 Oct 31 2003 10.2-gcc3.3 > drwxr-xr-x 10 dustman admin 340 Oct 10 2005 10.3 > drwxr-xr-x 6 ershler staff 204 Jul 31 21:52 10.4 > drwxr-xr-x 5 root admin 170 Oct 10 2005 10.4- > transitional > -rw-r--r-- 1 dustman admin 2728 Oct 31 2003 ChangeLog > -rw-r--r-- 1 dustman admin 1607 Aug 20 2002 README > -rw-r--r-- 1 root staff 11 Oct 10 2005 TIMESTAMP > -rw-r--r-- 1 1000 1000 11 Aug 4 11:32 TIMESTAMP.tmp > -rw-r--r-- 1 dustman admin 11 Mar 17 2004 VERSION > -rwxr-xr-x 1 dustman admin 3481 Oct 30 2003 compare-trees.pl > drwxr-xr-x 3 root admin 102 Jul 31 21:51 debs > lrwxr-xr-x 1 root admin 4 Aug 1 15:17 dists -> 10.4 > -rwxr-xr-x 1 dustman admin 5294 Oct 31 2003 inject.pl > -rw-r--r-- 1 root admin 17849 Jul 31 22:10 override > -rw-r--r-- 1 root admin 0 Nov 12 2004 stamp-rsync-live > > > [EMAIL PROTECTED] ~>ls -la /sw/fink/10.4 > total 0 > drwxr-xr-x 6 ershler staff 204 Jul 31 21:52 . > drwxr-xr-x 20 dustman admin 680 Aug 5 20:05 .. > drwxr-xr-x 4 ershler staff 136 Jul 31 21:52 local > drwxr-xr-x 4 ershler staff 136 Jul 31 21:52 stable > -rw-r--r-- 1 ershler staff 0 Jul 31 22:05 stamp-rel-0.8.0 > drwxr-xr-x 5 ershler staff 170 Aug 4 20:29 unstable > [EMAIL PROTECTED] ~> > >
On a 10.4 box where I'm doing rsync updating, /sw/fink/TIMESTAMP has root:55002 ownership, and there's no TIMESTAMP.tmp (as that's generated by rsyncing). For a less drastic option, you might want to switch to cvs updating and then go back to rsync. -- Alexander K. Hansen Fink Documenter (still) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
