On Tue, Mar 6, 2012 at 4:59 PM, Gary K Olson <[email protected]> wrote:
> I had the same problem earlier (1/22/12), and you responded with several 
> suggestions. Evidently you were not able to recreate this problem on a 
> machine with the same setup as mine. I followed the suggestions you gave in 
> the reply with no result.  Unfortunately, I no longer have the email you 
> sent, and I do not remember the suggestions.
>
> Now, I do not care whether I use v.343 or some other version of these files, 
> so I installed v.360 of these files, and I have been able to update them. 
> Unfortunately, when I attempt to remove or purge the oct343 files, I get more 
> malloc errors. If I remove an installed file I get the following:
>
> [MacBkPro:~]:-bash:512$: fink remove fpl-oct343
> Password:
> Sorry, try again.
> Password:
> Information about 4561 packages read in 1 seconds.
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait --remove fpl-oct343
> (Reading database ... 252007 files and directories currently installed.)
> Removing fpl-oct343 ...
> warning: dispatch is obsolete and will be removed from a future version of 
> Octave; please use classes instead
> octave-3.4.3(50320,0x7fff767f7960) malloc: *** error for object 0x103ea85e0: 
> pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> panic: Abort trap: 6 -- stopping myself...
> /sw/var/lib/dpkg/info/fpl-oct343.prerm: line 6: 50320 Abort trap: 6           
> /sw/share/octave/3.4.3/fpl-1.2.0/octave-forge-prerm
> /sw/bin/dpkg: error processing fpl-oct343 (--remove):
>  subprocess pre-removal script returned error exit status 134
> warning: dispatch is obsolete and will be removed from a future version of 
> Octave; please use classes instead
> octave-3.4.3(50349,0x7fff767f7960) malloc: *** error for object 0x109ef55e0: 
> pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> panic: Abort trap: 6 -- stopping myself...
> /sw/var/lib/dpkg/info/fpl-oct343.postinst: line 11: 50349 Abort trap: 6       
>     /sw/share/octave/3.4.3/fpl-1.2.0/octave-forge-postinst
> dpkg: error while cleaning up:
>  subprocess post-installation script returned error exit status 134
> Errors were encountered while processing:
>  fpl-oct343
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> ERROR: Can't remove package(s). If the above error message mentions 
> dependency problems, you can try
>  fink remove --recursive fpl-oct343
> This will attempt to remove the package(s) specified as well as ALL packages 
> that depend on it.
> Failed: can't remove package fpl-oct343
>
> Remove, of course, removes the package from the installed list, but doesn't 
> do anything else. When I try to reinstall the package, fink attempts to 
> install the newest update:
>
> fink install fpl-oct343
> Password:
> Information about 4561 packages read in 0 seconds.
> The following package will be installed or updated:
>  fpl-oct343
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i 
> /sw/fink/dists/stable/main/binary-darwin-x86_64/sci/fpl-oct343_1.2.0-2_darwin-x86_64.deb
> Selecting previously deselected package fpl-oct343.
> (Reading database ... 252007 files and directories currently installed.)
> Preparing to replace fpl-oct343 1.2.0-2 (using 
> .../fpl-oct343_1.2.0-2_darwin-x86_64.deb) ...
> warning: dispatch is obsolete and will be removed from a future version of 
> Octave; please use classes instead
> octave-3.4.3(50512,0x7fff767f7960) malloc: *** error for object 0x107f1a5e0: 
> pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> panic: Abort trap: 6 -- stopping myself...
> /sw/var/lib/dpkg/info/fpl-oct343.prerm: line 6: 50512 Abort trap: 6           
> /sw/share/octave/3.4.3/fpl-1.2.0/octave-forge-prerm
> dpkg: warning - old pre-removal script returned error exit status 134
> dpkg - trying script from the new package instead ...
> warning: dispatch is obsolete and will be removed from a future version of 
> Octave; please use classes instead
> octave-3.4.3(50540,0x7fff767f7960) malloc: *** error for object 0x1093d75e0: 
> pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> panic: Abort trap: 6 -- stopping myself...
> /sw/var/lib/dpkg/tmp.ci/prerm: line 6: 50540 Abort trap: 6           
> /sw/share/octave/3.4.3/fpl-1.2.0/octave-forge-prerm
> /sw/bin/dpkg: error processing 
> /sw/fink/dists/stable/main/binary-darwin-x86_64/sci/fpl-oct343_1.2.0-2_darwin-x86_64.deb
>  (--install):
>  subprocess new pre-removal script returned error exit status 134
> warning: dispatch is obsolete and will be removed from a future version of 
> Octave; please use classes instead
> octave-3.4.3(50568,0x7fff767f7960) malloc: *** error for object 0x1083b45e0: 
> pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> panic: Abort trap: 6 -- stopping myself...
> /sw/var/lib/dpkg/info/fpl-oct343.postinst: line 11: 50568 Abort trap: 6       
>     /sw/share/octave/3.4.3/fpl-1.2.0/octave-forge-postinst
> dpkg: error while cleaning up:
>  subprocess post-installation script returned error exit status 134
> Errors were encountered while processing:
>  /sw/fink/dists/stable/main/binary-darwin-x86_64/sci/fpl-oct343_1.2.0-2_darwin-x86_64.deb
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> Failed: can't install package fpl-oct343-1.2.0-2
>
> I can't purge this package, because it is no longer installed.  How am I 
> supposed to remove these pkgs? I suppose I might try removing them with dpkg, 
> but I don't want to mess things up any worse than they are already.
>
> My kit is:
> Package manager version: 0.32.3
> Distribution version: selfupdate-rsync Tue Mar  6 14:43:02 2012, 10.7, x86_64
> Trees: local/main stable/main stable/crypto
> Xcode 4.2.1
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) 
> (LLVM build 2336.1.00)
>
> Thanks for any help, which will be greatly appreciated.
>
> Gary Olson
>
>
>

I'd recommend:

1) Remove the octave-forge-prerm scripts from under
/sw/share/octave/3.4.3--those scripts remove the package's entry from
the octave-3.4.3 database.
2) Use dpkg to remove the packages.
3) You can then remove /sw/var/octave/3.4.3/octave_packages, the
database manually

-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to