[Pkg-octave-devel] Bug#536839: Bug#536839: octave3.0: does not locally install a package

Thomas Weber thomas.weber.mail at gmail.com
Tue Jul 14 05:45:04 UTC 2009


On Tue, Jul 14, 2009 at 12:22:05AM +0200, Luca Favatella wrote:
> Package: octave3.0
> Version: 1:3.0.5-6
> Severity: normal
> 
> 
> How to reproduce this bug
> 
> Install octave-communications (dependency of the ga package)
> $ aptitude install octave-communications
> 
> Download ga.tar.gz from
> http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/ga.tar.gz?view=tar
> 
> Try to locally install ga (in a subdirectory of your home)
> $ echo "pkg install ga.tar.gz" | octave -q
> 
> 
> I get:
> error: couldn't create installation directory /usr/share/octave/packages/3.0/ga-0.9.7 : Permission denied
> error: called from `pkg:copy_files' in file /usr/share/octave/3.0.5/m/pkg/pkg.mnear line 1425, column 7
> 
> It is strange, because if I remember well octave should create ./ga-0.9.7 directory (i.e. not in /usr/...).

Remove the "pkg prefix" line from /etc/octave3.0.conf. 

We use it to generate packages for octave3.0 and octave3.2 (some
packages don't work with 3.0). 

I don't see a good way to go here: pkg.m doesn't support versioned
package installations (ie, for 3.0 and 3.2) and it also seems impossible
to go back to the default prefix choice once you have chosen a prefix.

	Thomas





More information about the Pkg-octave-devel mailing list