Problem on updating to 12.6

James Kolata <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
[ESCs-MacBook-Pro:~] jkolata1% fink selfupdate
12.6 does not match the expected value of 12.5. Please run `fink selfupdate` to download a newer version of fink at /opt/sw/lib/perl5/Fink/Services.pm line 1441

sub get_osx_vers {
	my $sw_vers = get_osx_vers_long();
	my $darwin_osx = get_darwin_equiv();
	$sw_vers =~ s/^(\d+\.\d+).*$/$1/;
	if ($sw_vers != $darwin_osx) {
		if ($sw_vers == 11.6 && $darwin_osx == 11.5) {
			# special case where it's OK to have a mismatch
		} else {
			die "$sw_vers does not match the expected value of $darwin_osx. Please run `fink selfupdate` to download a newer version of fink";
		}
	}
	return $sw_vers;
}


I was able to get selfupdate to work by commenting out line 1441….the line beginning with “die”.  I’m not sure that’s
a good idea, but it seems to work.  Is there a better fix?  I am running fink from the ‘git’ repository.  This worked fine
when I updated to 12.5.


JJK

_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.