- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I got an error as follows while installing intel-basekit on WSL2:
ERROR: kernel source directory "/usr/src/linux-5.10.16.3-microsoft-standard-WSL2" either does not exist or not a valid kernel source directory.......................................] ..] ....]
.]
Please use the following command to install kernel header on Ubuntu:
apt install linux-headers-5.10.16.3-microsoft-standard-WSL2
I tried to apt install linux-headers-5.10.16.3-microsoft-standard-WSL2 and there is another error:
E: Unable to locate package linux-headers-5.10.16.3-microsoft-standard-WSL2
Any suggestions on how to resolve this?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Xiangyu, firstly we have to make sure that your OS is supported. You can get your OS version using one of the commands in a terminal window:
# Redhat, Fedora, CentOS and related
more /etc/redhat-release
# Ubuntu, Debian, others
more /etc/lsb-release
For compatibility details, refer to the System Requirements page by visiting here> https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-base-toolkit-system-requirements.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"
Hi sorry I somehow missed your message on Monday. This is my OS information. And I also checked the system requirements. They should be good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Xiangyu,
Can you share how are you installing the basekit? GUI based installer or apt package? Are you using module files? At what step did you get this error?
Please also check WSL2 system requirements https://docs.microsoft.com/en-us/windows/wsl/install for windows build.
Thanks
Anjali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anjali,
Here is how I installed it, I followed the instructions on Intel website:
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
sudo apt install intel-basekit
After these steps, I tried to install linux-headers-5.10.16.3-microsoft-standard-WSL2 and the error occurred.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Xiangyu, we had encountered a repository issue internally. Now that has been resolved. Please proceed with the installation again and let us know if you are still encountering the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks!
Should I follow the steps above and redo each step again?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Xiangyu, we assume that your issue is resolved. If you have any additional queries, please post a new question as this thread will no longer be monitored by Intel®.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page