Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Browsing all 2795 articles
Browse latest View live

apt update in WSL fails: Failed to fetch ... no such file or directory

I already updated WSL itself (as Administrator)> wsl --set-version ubuntu-20.04 2> wsl --updateWhich worked but still did not solve my problem inside the WSL Ubuntu 20.04.$ sudo apt updateReading...

View Article


apt-get update not working in Ubuntu 20.04 WSL1

So I recently installed Ubuntu WSL1 in my company PC and ran this command to update my installation, It seems ping is successful but "apt-get" fails to connect and download. I need some help here to...

View Article


Image may be NSFW.
Clik here to view.

Error: The repository 'http://http.kali.org/kali kali-rolling InRelease' is...

I got the following error:E: The repository 'http://http.kali.org/kali kali-rolling InRelease' is not signed

View Article

Ubuntu not getting Installed with WSL enabled

I was trying to install Ubuntu after enabling WSL in my Laptop with Windows 11. It shows as installed but on opening it shows the following errorWslRegisterDistribution failed with error:...

View Article

How can I add ~/.local/bin to my PATH?

I'm just trying to follow this tutorial and set up my environment. My system is WSL Ubuntu 18.04. Here is already an answer on my question, but I as an absolute novice in Linux/UNIX don't know which...

View Article


Windows 10 WSL2 - Ubuntu - apt update with Temporary failure resolving

I'm running windows 10 with WSL2.I installed a distribution of Ubuntu 20.04.When I do sudo apt update, it's workingHit:1 http://archive.ubuntu.com/ubuntu focal InReleaseGet:2...

View Article

Getting the error 0x80370102 when trying to run WSL on Windows 11 on Mac

I installed Windows 11 on my Mac (M1) using Parallels, and on the windows machine I tried installing the Ubuntu subsystem to run Docker, so I downloaded Ubuntu (Ubuntu2004-220404) and installed it....

View Article

journalctl not persistent AND 'Clock change detected. Flushing caches', 'Time...

System details:WSL2: Ubuntu 24.04.1Win11: 23H2 build 22631.4037WSL version: 2.2.4.0Kernel: 5.15.153.1-microsoft-standard-WSL2In 'journalctl' ('dmesg') and 'syslog' I see a lot of 'Clock change...

View Article


Remove VS Code in WSL

After typing code . in WSL running Ubuntu 24.04, VS Code automatically installed itself. I am now trying to uninstall it, but cannot find it anywhere. sudo apt purge code, sudo apt-get purge code, sudo...

View Article


libGL error: failed to open swrast

I am facing a persistent issue involving library loading.The error that i get:libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file...

View Article

Built WSL do not include bluetooth controller of Mediatek

I have WSL and want to manage bluetooth from within it.I've followed this instruction to build the custom WSL, including all the required checks into .config file.Here's the latest .config file content...

View Article

How to solve "Please make sure libcudnn_cnn_infer.so.8 is in your library...

When I try to run a PyTorch program, it fails:Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: No such file or directoryPlease make sure...

View Article

Ubuntu 22.04 is not Booting

My Ubuntu version is $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammyShows message [FAILED] failed to start...

View Article


Why is the mysql-server package from mysql.com missing server files?

I'm usually not using Ubuntu, but decided to give it a try today because it's the preferred distro for Windows Subsystem for Linux, that I wanted to try today to see if/how it could replace my VMWare...

View Article

WSL+Ubuntu 18.04: `ssh` or `apt update` gets “Temporary failure resolving...

I have seen and searched through tons of threads on similar issues, but still couldn't find how to solve mine.Win10 1709 build 16299.61 (cannot update to newest as updates are controlled by IT) After I...

View Article


Accessing graphics in Ubuntu which is installed as an app in Windows 10 HP

I have a windows 10 HP tower workstation with NVIDIA GeForce GTX 1070 graphics card, in which I installed UBUNTU 18.04 as an app (natively), by following the...

View Article

Where is the Trash folder in Ubuntu/Windows (WSL)?

I am using Ubuntu in Win10, but I can not find the trash folder, even when I use the command mv ~/.Trash/foo ~/mv: cannot stat '/home/man/.Trash/foo': No such file or directoryMy question is that how...

View Article


wsl.localhost\Ubuntu keeps randomly becoming inaccessible

I've been using Ubuntu 22.04 LTS via WSL2 on Windows 11. Consistently, however, Ubuntu suddenly stops working and a dialogue box pops up saying "wsl.localhost\Ubuntu-22.04 is not accessible". This can...

View Article

Route POSTMAN traffic from Windows to WSL2

I'm running Ubuntu 20.04 under Windows Subsystem for Linux. I have a VPN running inside Ubuntu to access an API on a remote system.This VPN only works with a Linux client app. I want to try the API...

View Article

Unable to sudo apt-get update for Ubuntu (Windows subsystem for Linux)

Err:1 http://archive.ubuntu.com/ubuntu focal InRelease Temporary failure resolving 'archive.ubuntu.com'Err:2 http://security.ubuntu.com/ubuntu focal-security InRelease Temporary failure resolving...

View Article
Browsing all 2795 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>