On Wed, 2 Oct 2013, Alexander Hansen wrote: > On 10/2/13 10:22 AM, Viv Kendon wrote: >> (maintainer Cc'd) >> >> help, how do you remove old versions of octave? >> >> I tried fink remove bundle-octave362-atlas and that didn't remove very >> much. >> >> I tried (several times, and installed xvfb-run along the way; this is >> the current version of the output): >> >> fink remove --recursive octave362-atlas-x11 >> Information about 7988 packages read in 0 seconds. >> WARNING: communications-oct362 is not installed, skipping. >> Fink will attempt to remove --recursive 1 package >> >> Do you want to continue? [Y/n] >> /sw/bin/apt-get-lockwait remove octave362-atlas-x11 >> Reading Package Lists... Done >> Building Dependency Tree... Done >> You might want to run `apt-get -f install' to correct these: >> Sorry, but the following packages have unmet dependencies: >> actuarial-oct362: Depends: octave362-interpreter >> audio-oct362: Depends: octave362-interpreter >> benchmark-oct362: Depends: octave362-interpreter >> bim-oct362: Depends: octave362-interpreter >> bioinfo-oct362: Depends: octave362-interpreter >> cgi-oct362: Depends: octave362-interpreter >> civil-engineering-oct362: Depends: octave362-interpreter >> communications-oct362: Depends: octave362-interpreter >> Depends: signal-oct362 (>= 1.1.3-1) but it is >> not going to be installed >> control-atlas-oct362: Depends: octave362-interpreter-ptatlas >> data-smoothing-oct362: Depends: octave362-interpreter >> dataframe-oct362: Depends: octave362-interpreter >> dicom-oct362: Depends: octave362-interpreter >> econometrics-oct362: Depends: octave362-interpreter >> engine-oct362: Depends: octave362-interpreter >> fenv-oct362: Depends: octave362-interpreter >> financial-oct362: Depends: octave362-interpreter >> fits-oct362: Depends: octave362-interpreter >> fl-core-oct362: Depends: octave362-interpreter >> fpl-oct362: Depends: octave362-interpreter >> fuzzy-logic-toolkit-oct362: Depends: octave362-interpreter >> ga-oct362: Depends: octave362-interpreter >> general-oct362: Depends: octave362-interpreter >> generate-html-oct362: Depends: octave362-interpreter >> geometry-oct362: Depends: octave362-interpreter >> gnuplot-oct362: Depends: octave362-interpreter >> gsl-oct362: Depends: octave362-interpreter >> ident-oct362: Depends: octave362-interpreter >> image-oct362: Depends: octave362-interpreter >> Depends: signal-oct362 (>= 1.2.0-1) but it is not going >> to be installed >> informationtheory-oct362: Depends: octave362-interpreter >> integration-oct362: Depends: octave362-interpreter >> io-oct362: Depends: octave362-interpreter >> irsa-oct362: Depends: octave362-interpreter >> linear-algebra-atlas-oct362: Depends: octave362-interpreter-ptatlas >> lssa-oct362: Depends: octave362-interpreter >> mapping-oct362: Depends: octave362-interpreter >> mechanics-oct362: Depends: octave362-interpreter >> miscellaneous-oct362: Depends: octave362-interpreter >> missing-functions-oct362: Depends: octave362-interpreter >> msh-oct362: Depends: octave362-interpreter >> multicore-oct362: Depends: octave362-interpreter >> nan-atlas-oct362: Depends: octave362-interpreter-ptatlas >> ncarray-oct362: Depends: octave362-interpreter >> nlwing2-oct362: Depends: octave362-interpreter >> nnet-oct362: Depends: octave362-interpreter >> nurbs-oct362: Depends: octave362-interpreter >> ocs-oct362: Depends: octave362-interpreter >> octcdf-nc4-oct362: Depends: octave362-interpreter >> octclip-oct362: Depends: octave362-interpreter >> octgpr-atlas-oct362: Depends: octave362-interpreter-ptatlas >> octproj-oct362: Depends: octave362-interpreter >> odebvp-oct362: Depends: octave362-interpreter >> odepkg-atlas-oct362: Depends: octave362-interpreter-ptatlas >> openmpi-ext-oct362: Depends: octave362-interpreter >> optim-atlas-oct362: Depends: octave362-interpreter-ptatlas >> optiminterp-atlas-oct362: Depends: octave362-interpreter-ptatlas >> outliers-oct362: Depends: octave362-interpreter >> parallel-oct362: Depends: octave362-interpreter >> pdb-oct362: Depends: octave362-interpreter >> plot-oct362: Depends: octave362-interpreter >> quaternion-oct362: Depends: octave362-interpreter >> secs1d-oct362: Depends: octave362-interpreter >> secs2d-oct362: Depends: octave362-interpreter >> secs3d-oct362: Depends: octave362-interpreter >> simp-oct362: Depends: octave362-interpreter >> sockets-oct362: Depends: octave362-interpreter >> specfun-oct362: Depends: octave362-interpreter >> special-matrix-oct362: Depends: octave362-interpreter >> splines-oct362: Depends: octave362-interpreter >> statistics-oct362: Depends: octave362-interpreter >> strings-oct362: Depends: octave362-interpreter >> struct-oct362: Depends: octave362-interpreter >> symband-oct362: Depends: octave362-interpreter >> symbolic-oct362: Depends: octave362-interpreter >> tsa-oct362: Depends: octave362-interpreter >> video-oct362: Depends: octave362-interpreter >> vrml-oct362: Depends: octave362-interpreter >> xraylib-oct362: Depends: octave362-interpreter >> zenity-oct362: Depends: octave362-interpreter >> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or >> specify a solution). >> ### execution of /sw/bin/apt-get-lockwait failed, exit code 100 >> Failed: can't remove package octave362-atlas-x11 >> >> I've tried removing packages separately, but that fails, and the >> suggested fix also fails: >> >> sudo apt-get -f install >> Reading Package Lists... Done >> Building Dependency Tree... Done >> Correcting dependencies... Done >> The following packages will be REMOVED: >> communications-oct362 ga-oct362 image-oct362 >> 0 packages upgraded, 0 newly installed, 3 to remove and 0 not upgraded. >> 52 packages not fully installed or removed. >> Need to get 0B of archives. After unpacking 4354kB will be freed. >> Do you want to continue? [Y/n] >> (Reading database ... 276462 files and directories currently installed.) >> Removing ga-oct362 ... >> dyld: Library not loaded: /sw/lib/libqrupdate.1.dylib >> Referenced from: /sw/lib/octave/3.6.2/liboctave.1.dylib >> Reason: image not found >> /sw/bin/xvfb-run: line 172: 87346 Trace/BPT trap: 5 DISPLAY=:$SERVERNUM >> XAUTHORITY=$AUTHFILE "$@" 2>&1 >> /sw/bin/dpkg: error processing ga-oct362 (--remove): >> subprocess pre-removal script returned error exit status 133 >> dyld: Library not loaded: /sw/lib/libqrupdate.1.dylib >> Referenced from: /sw/lib/octave/3.6.2/liboctave.1.dylib >> Reason: image not found >> /sw/bin/xvfb-run: line 172: 87397 Trace/BPT trap: 5 DISPLAY=:$SERVERNUM >> XAUTHORITY=$AUTHFILE "$@" 2>&1 >> dpkg: error while cleaning up: >> subprocess post-installation script returned error exit status 133 >> Removing communications-oct362 ... >> dyld: Library not loaded: /sw/lib/libqrupdate.1.dylib >> Referenced from: /sw/lib/octave/3.6.2/liboctave.1.dylib >> Reason: image not found >> /sw/bin/xvfb-run: line 172: 87447 Trace/BPT trap: 5 DISPLAY=:$SERVERNUM >> XAUTHORITY=$AUTHFILE "$@" 2>&1 >> /sw/bin/dpkg: error processing communications-oct362 (--remove): >> subprocess pre-removal script returned error exit status 133 >> Removing image-oct362 ... >> dyld: Library not loaded: /sw/lib/libqrupdate.1.dylib >> Referenced from: /sw/lib/octave/3.6.2/liboctave.1.dylib >> Reason: image not found >> /sw/bin/xvfb-run: line 172: 87497 Trace/BPT trap: 5 DISPLAY=:$SERVERNUM >> XAUTHORITY=$AUTHFILE "$@" 2>&1 >> /sw/bin/dpkg: error processing image-oct362 (--remove): >> subprocess pre-removal script returned error exit status 133 >> Errors were encountered while processing: >> ga-oct362 >> communications-oct362 >> image-oct362 >> E: Sub-process /sw/bin/dpkg returned an error code (1) >> >> >> How do I get out of this mess?! Help much appreciated! >> >> And then how do I avoid a new mess when removing octave363? >> >> (The aim is to end up with just octave364 installed.) >> >> many thanks, >> -- Viv >> ________________________________________________ >> Dr Viv Kendon http://quantum.leeds.ac.uk/~viv >> tel: +44 113 343 4864 Physics and Astronomy >> Quantum Information Group University of Leeds >> > > What you'd want to do would be to use "fink remove --recursive > octave362-atlas-x11-shlibs". However, it looks like you have an older > octave362* installed which used the original qrupdate packaging, and that > library has been moved--I probably should have had qrupdate install a > compatibility symlink. > > Rather than updating the octave-3.6.2 that you want to remove, creating a > /sw/lib/libqrupdate.1.dylib symlink which points to > /sw/lib/qrupdate-atlas/libqrupdate.1.dylib should make the linker happy. > -- > Alexander Hansen, Ph.D. > Fink User Liaison > My package updates: http://finkakh.wordpress.com/ >
Cool, that symlink, followed by sudo apt-get -f install then fink remove --recursive octave362-atlas-x11-shlibs seems to be working smoothly. I guess I should have done the removing before starting the massive "update-all", but I didn't check what was going to be updated before setting it going... I will remove the symlink once everything else is up to date. many thanks, -- Viv ________________________________________________ Dr Viv Kendon http://quantum.leeds.ac.uk/~viv tel: +44 113 343 4864 Physics and Astronomy Quantum Information Group University of Leeds ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ 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
