help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Upgrade Ubuntu Jaunty to Karmic (9.04 to 9.10) breaks self-compiled


From: Judd Storrs
Subject: Re: Upgrade Ubuntu Jaunty to Karmic (9.04 to 9.10) breaks self-compiled octave
Date: Fri, 30 Oct 2009 13:59:27 -0400

On Fri, Oct 30, 2009 at 12:26 PM, Judd Storrs <address@hidden> wrote:
> Is it possible your /usr/local/bin/octave is hiding /usr/bin/octave
> during install? Maybe you could temporarily rename
> /usr/local/bin/octave to /usr/local/bin/octave-disable and try again?

The debian/in/PACKAGE.postinst script runs

octave-$VERSION --silent --no-history --no-init-file    \
                    --eval "pkg ('rebuild');"

I think what's happening is that your broken
/usr/local/bin/octave-3.2.2 in being used instead of the package's
/usr/bin/octave-3.2.2

My suggestion to temporarily rename /usr/local/bin/octave won't fix
that. You'll have to rename /usr/local/bin/octave-3.2.2 for apt-get to
succeed. I think anyone could break the install easily by

ln -s /bin/false /usr/local/bin/octave-3.2.2

--judd


reply via email to

[Prev in Thread] Current Thread [Next in Thread]