Forum > Packages and Libraries
Online package manager not working
dseligo:
--- Quote from: big_M on February 10, 2023, 12:22:58 pm ---Or is there a folder that could have the wrong permissions set? (on linux)
--- End quote ---
Or you still have some Internet issues and can't download packages.
GetMem:
--- Quote from: big_M on February 10, 2023, 12:22:58 pm ---I still need more help unfortunately. Downloading a package works now, but it cannot install it ("Cannot open package file"). I tried several packages, but they all fail. Is there any external program/package that I could be missing? Or is there a folder that could have the wrong permissions set? (on linux)
--- End quote ---
I saw this before. A user reported similar behaviour in a FreeBDS installation. The config folder is read only or Lazarus does not have enough privileges. Please go to OPM->Options->Folders and chech where the local repository is stored. Is that folder read only?
Ps: This is not an OPM but an installation issue.
big_M:
--- Quote from: dseligo on February 10, 2023, 03:49:50 pm ---Or you still have some Internet issues and can't download packages.
--- End quote ---
No, the downloads are working correctly now
--- Quote from: GetMem on February 10, 2023, 06:30:24 pm ---I saw this before. A user reported similar behaviour in a FreeBDS installation. The config folder is read only or Lazarus does not have enough privileges. Please go to OPM->Options->Folders and chech where the local repository is stored. Is that folder read only?
Ps: This is not an OPM but an installation issue.
--- End quote ---
The local folders are all default, so all in ~.lazarus/onlinepackagemanager/. Privileges are correct, and lazarus/opm can download the packages into the "archives" subfolder, and then extract them into the "packages" subfolder. So the downloading part is not a problem. I don't know what opm is supposed to do next, but the next step fails.
GetMem:
@big_M
--- Quote ---The local folders are all default, so all in ~.lazarus/onlinepackagemanager/. Privileges are correct, and lazarus/opm can download the packages into the "archives" subfolder, and then extract them into the "packages" subfolder. So the downloading part is not a problem. I don't know what opm is supposed to do next, but the next step fails.
--- End quote ---
1. Lazarus Menu->Package->Open package file(.lpk)...
2. Navigate to ~.lazarus/onlinepackagemanager/SomePackageFolder
Can the IDE open the package?
big_M:
Ah, I've got it!
My user folder "/home/Ben" is a symlink to a different drive and points to "/DATA/home/Ben".
The default folders in opm are actually set to "/home/Ben/.lazarus/onlinepackagemanager/". When I put the target path "/DATA/home/Ben..." it works. I'm not sure why the linked paths are not working though. I guess they still should.
Navigation
[0] Message Index
[*] Previous page