(I am crossposting to fink-devel, because it seems you are seeing two or
three (minor) bugs in fink that can be repaired rather quickly).
Lincoln Davis wrote:
> I'm new to this list, but I've searched the archives and as far as I can
> tell, my problem is not the same as any reported here so far. I had a
> working Fink installation under 10.1.5. Yesterday I install 10.2.1. That
> is, I archive & install 10.2, then repair privileges, then run the
> 10.2.1 updater, then repair privileges again, then install the Developer
> Tools from the 10.2 CD, then run the August update on that. All goes well.
>
> Then I try to follow the update instructions. Steps 1-4 are no problem.
> At step 5 I get some error messages:
>
>
> cannot rename /sw/fink/dists to /sw/fink/10.2 at
> /sw/lib/fink/postinstall.pl line 120.
There are two things here: One is a bug in the error message of fink.
The line in question is
rename $distdir, "$basepath/fink/10.1" or die "cannot rename $distdir to
$basepath/fink/10.2";
So it tries to rename /sw/fink/dists to /sw/fink/10.1 and fails, but the
error message talks about 10.2.
The other is the question why this doesn't work for you. Did you already
have a /sw/fink/10.1 directory before? Or does root not have write and
execute privileges in /sw/fink? This can only be answered by looking
("ls -la") at your /sw/fink directory.
> dpkg: error processing fink (--install):
> subprocess post-installation script returned error exit status 66
> Errors were encountered while processing:
> fink
> ### execution of dpkg failed, exit code 1
> Failed: Can't call method "get_fullname" without a package or object
> reference at /sw/lib/perl5/Fink/PkgVersion.pm line 1648.
This is the other bug you are seeing. It is harmless, because it only
shows up when the crash already has happened. But it should be corrected
anyway, in particular beause it has been showing up and confusing people
a couple of times recently. With my rudimentary knowledge of perl, I
would say it means the line in question
die "can't install package ".$installable[0]->get_fullname()."\n";
is wrong (wrong data type of $installable[0]) and should rather be
die "can't install package ".$package->get_fullname()."\n";
> Your Fink installation in '/sw' was updated with a new fink package.
This is not good either, because it didn't succeed but says it did.
> [many lines cut]
>
> ### execution of su failed, exit code 1
> Failed: Updating using CVS failed. Check the error messages above.
>
>
> But the script seems to terminate normally with
>
>
> Reading Package Lists... Done
> Building Dependency Tree... Done
>
>
> At step 6, I get this:
>
>
> The following 2 packages will be installed or updated:
> xfree86-base xfree86-rootless
> The following additional package will be installed:
> fink
>
> [lines cut]
>
> cannot rename /sw/fink/dists to /sw/fink/10.2 at
> /sw/lib/fink/postinstall.pl line 120.
> dpkg: error processing fink (--install):
> subprocess post-installation script returned error exit status 66
> Errors were encountered while processing:
> fink
> ### execution of dpkg failed, exit code 1
> Failed: Can't call method "get_fullname" without a package or object
> reference at /sw/lib/perl5/Fink/PkgVersion.pm line 1648, <STDIN> line 1.
This is the same problem as before.
> That's as far as I get. Thanks for any assistance.
>
>
> Linc Davis
--
Martin
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners