[GH-ISSUE #564] Replit lsof command not found #360

Closed
opened 2026-02-25 20:35:33 +03:00 by kerem · 7 comments
Owner

Originally created by @JuenTingShie on GitHub (Dec 8, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/564

Describe the bug
github.com/benbusby/whoogle-search@7bea6349a0/.replit (L2)

Well, this problem is there for a long days, but I just new this issue since now.

Seems like replit don't have lsof command, please see image below
圖片

I know it's trying to kill exist app, but apparently it may not working?

but after this, whoogle still work thought, just don't know if this command is wrong or something.

Deployment Method

  • Heroku (one-click deploy)
  • Docker
  • run executable
  • pip/pipx
  • Other: replit

Version of Whoogle Search

  • Latest build from [source] (i.e. GitHub, Docker Hub, pip, etc)
  • Version [version number]
  • Not sure
Originally created by @JuenTingShie on GitHub (Dec 8, 2021). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/564 **Describe the bug** https://github.com/benbusby/whoogle-search/blob/7bea6349a00c7df51005ecba181d412fcdf4a3bd/.replit#L2 Well, this problem is there for a long days, but I just new this issue since now. Seems like replit don't have **lsof** command, please see image below ![圖片](https://user-images.githubusercontent.com/31978492/145151176-caa37e06-1ef2-4182-847c-6a03cb05b0e4.png) I know it's trying to kill exist app, but apparently it may not working? but after this, whoogle still work thought, just don't know if this command is wrong or something. **Deployment Method** - [ ] Heroku (one-click deploy) - [ ] Docker - [ ] `run` executable - [ ] pip/pipx - [x] Other: replit **Version of Whoogle Search** - [x] Latest build from [source] (i.e. GitHub, Docker Hub, pip, etc) - [ ] Version [version number] - [ ] Not sure
kerem 2026-02-25 20:35:33 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@DUOLabs333 commented on GitHub (Dec 9, 2021):

Can't you just ignore it?

<!-- gh-comment-id:989502307 --> @DUOLabs333 commented on GitHub (Dec 9, 2021): Can't you just ignore it?
Author
Owner

@Albonycal commented on GitHub (Dec 9, 2021):

that command isn't "required"
you can add `install_pkg lsof" to the top of .replit file if you don't want
to see that error

On Thu, Dec 9, 2021 at 10:02 AM DUO Labs @.***> wrote:

Can't you just ignore it?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/benbusby/whoogle-search/issues/564#issuecomment-989502307,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP7TNJ25XPA7UR3K63VKFXDUQAWM5ANCNFSM5JS4TVUQ
.

<!-- gh-comment-id:989513835 --> @Albonycal commented on GitHub (Dec 9, 2021): that command isn't "required" you can add `install_pkg lsof" to the top of .replit file if you don't want to see that error On Thu, Dec 9, 2021 at 10:02 AM DUO Labs ***@***.***> wrote: > Can't you just ignore it? > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/benbusby/whoogle-search/issues/564#issuecomment-989502307>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AP7TNJ25XPA7UR3K63VKFXDUQAWM5ANCNFSM5JS4TVUQ> > . >
Author
Owner

@JuenTingShie commented on GitHub (Dec 9, 2021):

I'm not meant to pick little problems, just because this commit is "kill opening app before re-run", without lsof , in my opinion,it's not actually work, maybe just add install lsof before it will better.

So far, I do enjoy using whoogle, and I do want to contribute something, so I start from this kind problem.

<!-- gh-comment-id:989774556 --> @JuenTingShie commented on GitHub (Dec 9, 2021): I'm not meant to pick little problems, just because this commit is "kill opening app before re-run", without **lsof** , in my opinion,it's not actually work, maybe just add install lsof before it will better. So far, I do enjoy using whoogle, and I do want to contribute something, so I start from this kind problem.
Author
Owner

@benbusby commented on GitHub (Dec 9, 2021):

I don't use replit, so someone else would likely be a better candidate for fixing this.

@Albonycal have you tested if that works? If so, can you submit a PR? I can't find any official documentation from replit on how install-pkg works, just some old forum posts that I'd rather not trust.

@JuenTingShie no worries, I appreciate you bringing this to my attention.

<!-- gh-comment-id:990083974 --> @benbusby commented on GitHub (Dec 9, 2021): I don't use replit, so someone else would likely be a better candidate for fixing this. @Albonycal have you tested if that works? If so, can you submit a PR? I can't find any official documentation from replit on how `install-pkg` works, just some old forum posts that I'd rather not trust. @JuenTingShie no worries, I appreciate you bringing this to my attention.
Author
Owner

@Albonycal commented on GitHub (Dec 9, 2021):

K, so install_pkg is actually the intended way to install packages that
aren't installed by default..
it sort of "elevates" the privileges for apt
(replit instances don't have root access)
and yea it works
I will make a PR tomorrow :D
(it's 11:21pm here)

On Thu, Dec 9, 2021 at 11:21 PM Ben Busby @.***> wrote:

I don't use replit, so someone else would likely be a better candidate for
fixing this.

@Albonycal https://github.com/Albonycal have you tested if that works?
If so, can you submit a PR? I can't find any official documentation from
replit on how install-pkg works, just some old forum posts that I'd
rather not trust.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/benbusby/whoogle-search/issues/564#issuecomment-990083974,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP7TNJY7KMUSFKGSZMWG7PTUQDUCZANCNFSM5JS4TVUQ
.

<!-- gh-comment-id:990087226 --> @Albonycal commented on GitHub (Dec 9, 2021): K, so install_pkg is actually the intended way to install packages that aren't installed by default.. it sort of "elevates" the privileges for apt (replit instances don't have root access) and yea it works I will make a PR tomorrow :D (it's 11:21pm here) On Thu, Dec 9, 2021 at 11:21 PM Ben Busby ***@***.***> wrote: > I don't use replit, so someone else would likely be a better candidate for > fixing this. > > @Albonycal <https://github.com/Albonycal> have you tested if that works? > If so, can you submit a PR? I can't find any official documentation from > replit on how install-pkg works, just some old forum posts that I'd > rather not trust. > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/benbusby/whoogle-search/issues/564#issuecomment-990083974>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AP7TNJY7KMUSFKGSZMWG7PTUQDUCZANCNFSM5JS4TVUQ> > . >
Author
Owner

@Marcusgarveyy commented on GitHub (Dec 10, 2021):

Can you teach me

<!-- gh-comment-id:990960710 --> @Marcusgarveyy commented on GitHub (Dec 10, 2021): Can you teach me
Author
Owner

@Albonycal commented on GitHub (Dec 10, 2021):

add this to the starting of .replitinstall-pkg lsof &&
image

<!-- gh-comment-id:991059079 --> @Albonycal commented on GitHub (Dec 10, 2021): add this to the starting of .replit`install-pkg lsof &&` ![image](https://user-images.githubusercontent.com/67057319/145597699-5395e7bc-13ae-4570-9cfa-491e474bd9d0.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#360
No description provided.