On 10/19/12 5:18 PM, Otti Croze wrote: > Dear all, > > I've just got a new macbook and I've copied the sw/ folder over from my > old one via a hard drive (with the intention of avoiding reinstalling > all the fink packages from scratch). > > I placed the startup script in the .profile file with the usual line: > > test -r /sw/bin/init.sh && . /sw/bin/init.sh > > I can access all the apps from the fink distribution (e.g. gnuplot), > however, I fear going via the hard drive might have messed up the > permissions: > > Last login: Fri Oct 19 19:48:02 on ttys000 > launchctl: Dubious permissions on file (skipping): > /sw/share/dbus/launchd/org.finkproject.dbus-session.plist > nothing found to load > > at any rate, fink selfupdate fails because of a buildlock: > > macbook:~ ratoo$ sudo -E fink selfupdate
(Using "sudo -E" defeats one of the major premises of Fink, which is identical builds on all machines in a distribution. By _not_ wiping the environment, your Fink setup is more prone to interference from outside installations.) > Password: > rsync -az -q > rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP > /sw/fink/TIMESTAMP.tmp > I will now run the rsync command to retrieve the latest package > descriptions. > /usr/bin/su ocroze -c "rsync -rtz --delete-after --delete -q > --include='10.7/' --include='10.7/stable/' --include='10.7/stable/main/' > --include='10.7/stable/main/finkinfo/' > --include='10.7/stable/main/finkinfo/*/' > --include='10.7/stable/main/finkinfo/*' > --include='10.7/stable/main/finkinfo/**/*' --include='VERSION' > --include='DISTRIBUTION' --include='README' --exclude='**' > 'rsync://distfiles.master.finkmirrors.net/finkinfo' '/sw/fink/'" > Scanning package description files.......... > Information about 6237 packages read in 1 seconds. > The following package will be installed or updated: > fink > Setting runtime build-lock... > dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-fink-0.34.4-61 > /sw/src/fink.build > dpkg-deb: building package `fink-buildlock-fink-0.34.4-61' in > `/sw/src/fink.build/fink-buildlock-fink-0.34.4-61_2012.10.19-20.33.34_darwin-x86_64.deb'. > Installing build-lock package... > /sw/bin/dpkg-lockwait -i > /sw/src/fink.build/fink-buildlock-fink-0.34.4-61_2012.10.19-20.33.34_darwin-x86_64.deb > Selecting previously deselected package fink-buildlock-fink-0.34.4-61. > (Reading database ... > dpkg: serious warning: files list file for package > `fink-buildlock-fink-0.34.4-61' missing, assuming package has no files > currently installed. > 38579 files and directories currently installed.) > Preparing to replace fink-buildlock-fink-0.34.4-61 2012.10.19-20.00.34 > (using > .../fink-buildlock-fink-0.34.4-61_2012.10.19-20.33.34_darwin-x86_64.deb) ... > launchctl: Dubious permissions on file (skipping): > /sw/share/dbus/launchd/org.finkproject.dbus-session.plist > nothing found to load > /sw/bin/dpkg: error processing > /sw/src/fink.build/fink-buildlock-fink-0.34.4-61_2012.10.19-20.33.34_darwin-x86_64.deb > > (--install): > subprocess pre-installation script returned error exit status 1 > launchctl: Dubious permissions on file (skipping): > /sw/share/dbus/launchd/org.finkproject.dbus-session.plist > nothing found to load > dpkg: error while cleaning up: > subprocess post-removal script returned error exit status 1 > Errors were encountered while processing: > > /sw/src/fink.build/fink-buildlock-fink-0.34.4-61_2012.10.19-20.33.34_darwin-x86_64.deb > ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 > Can't set build lock for fink (0.34.4-61) > > If any of the above dpkg error messages mention conflicting packages or > missing dependencies -- for example, > telling you that the package fink-buildlock-fink-0.34.4-61 conflicts > with something else -- fink has > probably gotten confused by trying to build many packages at once. Try > building just this current package > fink (i.e, "fink build fink"). When that has completed successfully, you > could retry whatever you did that > led to the present error. > > Regardless of the cause of the lock failure, don't worry: you have not > wasted compiling time! Packages that > had been completely built before this error occurred will not have to be > recompiled. > > See http://wiki.finkproject.org/index.php/Fink:buildlocks for more > information. > /sw/bin/dpkg-lockwait -r fink-buildlock-fink-0.34.4-61 >/dev/null > /sw/bin/dpkg: error processing fink-buildlock-fink-0.34.4-61 (--remove): > Package is in a very bad inconsistent state - you should > reinstall it before attempting a removal. > Errors were encountered while processing: > fink-buildlock-fink-0.34.4-61 > ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 > Failed: buildlock failure > > Is there anything I can do to fix this? Would making a direct transfer > of sw/ from laptop to laptop via rsync preserve permissions and prevent > the problem? > > Thanks in advance! > > Otti > > Does "via a hard drive" mean "via an external hard drive" ? If so, then make sure that your external hard drive is *not* set to ignore permissions, e.g. via "Get Info" from the Finder. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners