-
Notifications
You must be signed in to change notification settings - Fork 797
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
Unable to locate package linux-tools-5.4.0-77-generic #7652
Comments
I've posted an answer on your Super User question, but to summarize the changes needed for Debian:
There's no need to modify |
Ever figure this out? foo@FOO-PC:/mnt/c/WINDOWS/system32$ sudo apt install linux-tools-5.4.0-77-generic hwdata |
Attempt to run this:
Results in this:
|
got same issue, running ubuntu 20.04 on wsl2 |
hi. same issue with ubuntu 20.04 on windows 11. tried the command also tried the following:
|
I am also running into the same issues as the poster above me with ubuntu 20.04 on windows 11 |
Your command is wrong bruh! |
@Sudococommunity yes that command works but it does nothing to the relevant issue: the command usbip is not found.
next
so we are back at the starting point |
by the way method you all are using to install usbip is wrong actually this command differ in wsl which is named as usbipd and to revoke the usbipd command just type usbipd --help but this will not work until you don't setup your wsl for this ( kernal you have installed for wsl has nothing to do with it no config will help out and the pakage is mentioned in error as well funny!! ) Go to this blog read it if problem persist than come back I help you out |
thanks a lot @Sudococommunity with linux-tools-virtual it worked and now isbup is installed and running. now I have to go but this evening I will continue the flow to mount and access the usb volume, but it looks much better now that needed commands are ready. |
installed linux-tools-generic and worked. |
it took longer than intended, but I finally had the time to test this again. I have been able now to attach the usb card reader to WSL. it is listed in lsusb and I can see it being attached in dmesg. however, it does not appear in lsblk or in fdisk. I have tested with two different card readers: my laptop card reader, and a USB-C attached Apple card reader. none of them worked. |
Defs needs an update! |
A few things did to get it to work:
|
I run the same error the Windows 11 on WSL2, I have installed usbip and it's worked. $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ usbip version
usbip (usbip-utils 2.0) I also have installed the deb :
$ uname -a
Linux cd1a98b0ac18 5.15.79.1-microsoft-standard-WSL2 #1 SMP Wed Nov 23 01:01:46 UTC 2022 x86_64 GNU/Linux |
Instructions are still unchanged. At the moment, linux-tools-generic installs version 5.15.0-58-generic, while the kernel after wsl --update is 5.15.79.1-microsoft-standard-WSL2. Running usbip give a message suggesting to install either linux-tools-5.15.79.1-microsoft-standard-WSL2 or linux-tools-standard-WSL2, but there are no packages available with those names. Workaround
|
My God.. thanks, I was trying in wsl :-D Cheers |
The previous command for installing usbipd on WSL had issues, as discussed in [Unable to locate package linux-tools-5.4.0-77-generic](microsoft/WSL#7652). This commit updates the command to the latest one provided in the [official documentation](https://github.com/dorssel/usbipd-win/wiki/WSL-support#usbip-client-tools).
The previous command for installing usbipd on WSL had issues, as discussed in [Unable to locate package linux-tools-5.4.0-77-generic](microsoft/WSL#7652). This commit updates the command to the latest one provided in the [official documentation](https://github.com/dorssel/usbipd-win/wiki/WSL-support#usbip-client-tools).
updating with the correct command 'sudo apt install linux-tools-generic hwdata' instead of the old one which doesn't work as per this issues thread microsoft/WSL#7652
I have installed linux-tools-generic successfully, but it seems that some weird WSL-only command aliasing is preventing me from running any program from it. I have added I have relaunched the terminal, even restarted WSL, and verified having added the directory to PATH with I have filed a separate issue for this: #9917 |
This is the correct answer, i was 2 days trying to connect my devices. This worked. |
I resolve the issue by referencing details from https://packages.ubuntu.com/focal/amd64/linux-tools-5.4.0-42-generic/download. Add a new repository to
After updating the sources list with this new mirror, run the installation command again:
|
Version
Microsoft Windows [Versión 10.0.22000.282]
WSL Version
Kernel Version
5.10.60.1
Distro Version
Debian 11 amd64
Other Software
No response
Repro Steps
I'm trying to follow this official guide to be able of talk with devices over COM ports. I've already updated to Windows 11 and last version of WSL2 kernel.
I'm stuck installing linux-tools-5.4.0-77-generic. I've already installed hwdata as the guide suggests.
I've tried:
https://ubuntu.pkgs.org/18.04/ubuntu-updates-main-amd64/linux-tools-5.4.0-77-generic_5.4.0-77.86~18.04.1_amd64.deb.html
and installing manually with$ sudo apt install ./path/to/binary.file.deb
.But nothing works. Good internet connection.
Expected Behavior
Install the required packet with the command
$ sudo apt install linux-tools-5.4.0-77-generic
.Actual Behavior
Execute
$ sudo apt install linux-tools-5.4.0-77-generic
gave me the following output:Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: