Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kali Linux "E: Unable to locate package scrcpy" #3535

Closed
Deadlooks opened this issue Oct 13, 2022 · 8 comments
Closed

Kali Linux "E: Unable to locate package scrcpy" #3535

Deadlooks opened this issue Oct 13, 2022 · 8 comments

Comments

@Deadlooks
Copy link

Deadlooks commented Oct 13, 2022

Hello
I cannot install scrcpy after updating kali linux

cat /proc/version
Linux version 5.15.44-Re4son-v8l+ (root@kali-raspberry-pi) (gcc (Debian 11.2.0-19) 11.2.0, GNU ld (GNU Binutils for Debian) 2.38) #1 SMP PREEMPT Debian kali-pi (2022-07-03)
lsb_release -a
No LSB modules are available.
Distributor ID: Kali
Description:    Kali GNU/Linux Rolling
Release:        2022.3
Codename:       kali-rolling

Error is :

sudo apt install scrcpy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package scrcpy

Before i updated my kali linux it was working very good i can perform all tasks scrcpy offer

after updating linux it is not even installing it ??

@raoshaab
Copy link

Hi @Deadlooks ,
Can you share the mirror in this file /etc/apt/sources.list ?

Also try to update the repo with below , this may solve the issue =>

deb http://kali.download/kali kali-rolling main contrib non-free

@Charanjet
Copy link

No , I am also facing the same issue and tried your solution but it is not working.
I added your given repo in sources.list and then apt update and then tried installing the but the above error is still there

@Deadlooks
Copy link
Author

hello @raoshaab ,

Hear is the source list details

cat /etc/apt/sources.list
# See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
deb http://http.kali.org/kali kali-rolling main contrib non-free

# Additional line for source packages
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free

After adding this line it is installing the scrcpy as usual :
deb http://kali.download/kali kali-rolling main contrib non-free

@Deadlooks
Copy link
Author

@Charanjet add the line to /etc/apt/sources.list that @raoshaab has refered to

@raoshaab
Copy link

Hi @Charanjet ,

If you still face error , try this script but this work only for Kali linux and Ubuntu

https://github.com/raoshaab/Flash-Repo

@nani1122334455
Copy link

Please help me. I AM finding same problem. Unable to locate pakage. Please help me

@Crackets
Copy link

I have this problem, have you found a solution?

@rom1v
Copy link
Collaborator

rom1v commented Jul 31, 2023

If there is no package, install manually: https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants