octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #58225] Installing package fails when package


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #58225] Installing package fails when package was already instaledd globally
Date: Wed, 22 Apr 2020 08:31:26 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763

URL:
  <https://savannah.gnu.org/bugs/?58225>

                 Summary: Installing package fails when package was already
instaledd globally
                 Project: GNU Octave
            Submitted by: lostbard
            Submitted on: Wed 22 Apr 2020 12:31:24 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: lostbard
        Originator Email: 
             Open/Closed: Open
                 Release: 6.0.90
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Related I think to changing the installation path to program files (Bug
#53124
), and checking to determine local vs global install (Bug #44548).

I have a package that was installed globally, and go to install an existing
package (perhaps an updated version, but could be just reinstaling a new
version)

pkg install somepackage


Recent changes detect that it cant install it globally and falls back to
installing locally.

But as part of the pkg install it attempts to remove the old global) version


error: couldn't delete directory C:\Program Files\GNU
Octave\Octave-6.0.1\mingw64\share\octave\packages\windows-1
.4.0: Permission denied
error: called from
    uninstall at line 127 column 11
    install at line 211 column 9
    pkg at line 513 column 9


Shouldn't I be able to install the package locally? Or if it shouldnt be
allowed, error out because of the global package before going through all the
time of compiling the package.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58225>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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