I just noticed something about the .info files for fink 0.11.0 which I wondered at the significance of. There are two .info files for fink 0.11.0-1. One includes a postinstall script, while the other one doesn't (see below). As far as I understand, the postinstall script is actually responsible for creating the /sw/fink/10.2 directory. I'm not sure which .info file would have controlled my first 10.2 fink updated attempt, but if it was the version that doesn't specify a postinstall script, that might explain why the /sw/fink/10.2 directory wasn't created for me.

[src]% cat /sw/fink/dists/local/bootstrap/finkinfo/fink-0.11.0.info
Package: fink
Version: 0.11.0
Revision: 1
<snip>
CompileScript: ./setup.sh %p
InstallScript: ./install.sh %i
PostInstScript: sudo /sw/lib/fink/postinstall.pl
#
<snip>
[src]% cat /sw/fink/dists/unstable/main/finkinfo/base/fink-0.11.0-1.info
Package: fink
Version: 0.11.0
Revision: 1
<snip>
<<
CompileScript: ./setup.sh %p
InstallScript: ./install.sh %i
#
<snip>

Thanks,
Neal.



Hi,
I just reran this update-fink.sh script from fink-0.11-cvs in order to see if
something had changed. I ran it while I had an old pre-jaguar distribution in /sw, so no /sw/10.2 yet. After a while, I got the following output:

Unpacking replacement fink ...
Setting up fink (0.11.0.cvs-20021101.1541) ...
Checking system... powerpc-apple-darwin6.1
This system is supported and tested.
Needs an update...
sed 's|fink.sourceforge.net/bindist|us.dl.sourceforge.net/fink/direct_download|g' < /sw/etc/apt/sources.list > /sw/etc/apt/sources.list.old
cat /sw/etc/apt/sources.list.old >> /sw/etc/apt/sources.list
rm /sw/etc/apt/sources.list.old

NOTE: You have fink set up to use CVS for updates, and with this
version of fink, the CVS setup has slightly changed. After fink has
finished setting up, you should immediately run 'fink selfupdate-cvs',
'fink scanpackages', and then 'apt-get update' in order to
complete your upgrade.

mkdir -p /sw/fink/10.2/local/main/finkinfo
chown -R costabel /sw/fink/10.2
mkdir /sw/fink/10.2/CVS
cp /sw/fink/10.1/CVS/Root /sw/fink/10.2/CVS
chown -R costabel /sw/fink/10.2/CVS
ln -s /sw/fink/10.2 /sw/fink/dists


Your Fink installation in '/sw' was updated with a new fink package.

You can clearly see how the new directory structure is created.
When you run this script, don't you get this kind of messages?

--
Martin


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to