On Apr 23, 2004, at 11:07 AM, Alexander K. Hansen wrote:



On Apr 23, 2004, at 1:58 PM, Guy Lauquin wrote:

[chamaerops:/sw/fink] guy% sudo ln -s /sw/fink/dists/stable/main/binary-darwin-powerpc/libs/db3_3.3.11 -24_darwin-powerpc.deb /sw/fink/debs/db3_3.3.11-24_darwin-powerpc.deb
Password:
ln: /sw/fink/debs/db3_3.3.11-24_darwin-powerpc.deb: File exists




Both seem to behave correctly--what that "can't symlink package" message means isn't obvious. The only other thing that I can think of is to check the permissions of /sw/fink/debs/db3_3.3.11-24_darwin-powerpc.deb.



I figured this out, it is a bug in fink, not a permissions error. It happens if you build the same version of a package in one tree, build it in a another tree, then try to build again in the first tree. To work around it, remove the new destination deb file (not the source link)


sudo rm /sw/fink/dists/stable/main/binary-darwin-powerpc/libs/db3_3.3.11 -24_darwin-powerpc.deb

Another way to repro the bug:



fink build cmine
sudo rm /sw/fink/debs/cmine_0.0-12_darwin-powerpc.deb
sudo ln -s /bah.deb /sw/fink/debs/cmine_0.0-12_darwin-powerpc.deb
fink rebuild cmine

Result:

Failed: can't symlink package cmine_0.0-12_darwin-powerpc.deb into pool directory: File exists


-Ben




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to