I was trying to install the 'gdal' package on my Intel Mac (I was successful on a PPC Mac). I had a failure during the install. So I tried again. It chugged for awhile and then failed again. I tried a third time but then it quit right away. After doing some probing I was able to determine that it was failing while trying to install a dependency package 'g95'. I scrubbed around the FAQ looking for hits on "g95", "lockwait", "dpkg", "code", "status", "tar", and other things. When I've had a problem in the past, I often was pointed to the solution in the FAQ, but often the hardest part is going from the output I have to the answer in the FAQ. I tried each solution which looked promising, to no avail. Here are some of the things I tried with the appropriate output:

$ sudo apt-get update ; sudo apt-get dist-upgrade
Hit http://bindist.finkmirrors.net 10.4/release/main Packages
Hit http://bindist.finkmirrors.net 10.4/release/main Release
Hit http://bindist.finkmirrors.net 10.4/release/crypto Packages
Hit http://bindist.finkmirrors.net 10.4/release/crypto Release
Hit http://bindist.finkmirrors.net 10.4/current/main Packages
Hit http://bindist.finkmirrors.net 10.4/current/main Release
Hit http://bindist.finkmirrors.net 10.4/current/crypto Packages
Hit http://bindist.finkmirrors.net 10.4/current/crypto Release
Reading Package Lists... Done
Building Dependency Tree... Done
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


$ sudo /sw/var/lib/fink/prebound/update-package-prebinding.pl -f
/sw/sbin/seg_addr_table: from seg_addr_table: /sw/var/lib/fink/ prebound/seg_addr_table.tmp line: 1 can't open file: <<<


This is the error output from the last attempt at installing g95:

$ fink install g95
Information about 5640 packages read in 1 seconds.
The following package will be installed or updated:
g95
Reading buildlock packages...
/sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/main/binary-darwin- i386/languages/g95_0.90-2_darwin-i386.deb (Reading database ... 58292 files and directories currently installed.)
Unpacking g95 (from .../g95_0.90-2_darwin-i386.deb) ...
/sw/bin/dpkg-deb: unexpected end of file in between members in /sw/ fink/dists/unstable/main/binary-darwin-i386/languages/ g95_0.90-2_darwin-i386.deb dpkg(460) malloc: *** Deallocation of a pointer not malloced: 0xbfffe8f8; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug dpkg(460) malloc: *** Deallocation of a pointer not malloced: 0x8fe10a27; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug /sw/bin/dpkg: error processing /sw/fink/dists/unstable/main/binary- darwin-i386/languages/g95_0.90-2_darwin-i386.deb (--install): subprocess /sw/bin/dpkg-deb --fsys-tarfile returned error exit status 2
Errors were encountered while processing:
/sw/fink/dists/unstable/main/binary-darwin-i386/languages/ g95_0.90-2_darwin-i386.deb
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Failed: can't install package g95-0.90-2



-- Chip
new email: [EMAIL PROTECTED]


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to