Could not resolve us.us.archive.ubuntu.com for ubuntu 20.04 on WSL
I am running an ubuntu (focal 20.04) on WSL2 and i am trying to install gcc and it seems i need to run apt-get update first.I keep getting Could not resolve us.us.archive.ubuntu.com (error below).I...
View ArticleWarnings & Errors when launching Emacs from WSL
I have a WSL Ubuntu system with systemd enabled. I also configured snap and installed my Emacs using snap.When I start Emacs from WSL console, I can see the GUI and use Emacs. But I got the following...
View Articleinstalling linux-headers-standard on Ubuntu 20.04 / WSL2
When I use VBoxManage to create a vm I'm told I need to have linux-headers-generic installed. So I try sudo apt-get install linux-headers-standard and get this message:Reading package lists......
View ArticleHow to fix networks conflict between WSL and Docker compose?
Few days ago, on WSL2 (Ubuntu 20.04), I installed docker compose and created a docker-compose.yml that builds a database based on postgres:12 image. The first time I ran it, everything worked fine.A...
View ArticleVisual studio code command doesn't work on WSL 2
For some reason, when I type the command code . from a WSL terminal I have the message:Command is only available in WSL or inside a Visual Studio Code terminal.After some research, I tried to fix it...
View ArticleUpgrade Ubuntu in WSL2 from 20.04 to 22.04
I'm new to WSL2-Ubuntu. My computer already had preisntalled the 20.04 version, but I saw there's already the 22.04 version, so I was wondering if it was worthy to have the new one. If so, how can I...
View ArticleApache2 won't run: error message-system/not/booted/(PID1)= error messaged...
I tried running apt-get install apache2, and I'm up to date. I ran the different variations of sudo sytemctl enable --apache2.service and I get the message:System has not been booted with system as...
View ArticleUbuntu-XRDP has broken text
I initiated an XRDP session with WSL2.The GUI lookst like thisAll of the text is broken. Does anyone know why it's like this, and how I can fix it?
View ArticleVirtualization not available. Flag `vmx` not shown while VT-d active in...
I have 2 hardware-clone PCs. Both are a MSI GL75 9SEK, bought the very same day and identical hardware characteristics. Name them PC-A and PC-B.CPU is Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz in both...
View ArticleHow to change the default directory that WSL Ubuntu terminal (on Windows 10)...
I installed the WSL Bash on Windows 10 so it can act as my terminal in VScode, but the default directory is ~/home/USERNAMEI would like it to be /mnt/c/Users/USERNAME (so on my windows domain side)I've...
View ArticleIs this the default nvidia-driver for WSL2?
nobu@LAPTOP-DNCQ5AAC:/mnt/d/gatechFall2022/ihpc/lab1fa22/part2$ nvidia-smiThu Apr 20 00:04:03 2023 +-----------------------------------------------------------------------------+| NVIDIA-SMI 525.100...
View ArticleUbuntu slows down Windows Explorer
Today i've installed Ubuntu for Desktop for the first time. And right away i noticed that when installed, Windows Explorer has been slowed down big time.When switching to a different Windows-account,...
View ArticleLaunch xfce4 or other desktop in Windows 11 WSLg Ubuntu distro
I'm using Windows 11 WSLg (installed using the Windows Subsystem for Linux Preview from the Microsoft Store) and the current WSL Ubuntu distribution from the Microsoft Store.How can I launch xfce4 or...
View ArticleCannot start gnome-session after enabling Systemd on latest WSL2
I'm using Ubuntu 22.04.01 on WSL2 on Windows 11 22H2 with Systemd support. However, though I've followed all the instructions mentioned in this answer, I still can't start gnome-session properly. It...
View ArticleI'm unable to launch qemu after installation
so i type this command in wsl <qemu-system-x86_64> and it should open the qemu window as usual but it doesn't instead it gives this error Unable to init server: Could not connect: Connection...
View ArticleSee the DEPRECATION section in apt-key(8) for details [duplicate]
W: file:/var/cuda-repo-ubuntu2004-11-6-local/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg),see the DEPRECATION section in apt-key(8) for details.
View ArticleMake /etc/resolv.conf changes permanent in WSL 2
On WSL 2, when I try to connect to a website, I get an issue:$ ping www.google.comping: www.google.com: Temporary failure in name resolutionNow, to fix this, I had to add /etc/wsl.conf with this...
View ArticleHow to fix WSL domain resolution
so I was having issues with domain resolution with WSL whenever I use the VPN. I would get this:ping: google.com: Temporary failure in name resolutionI tried following instructions from these answers...
View ArticleTemporary Failure in name resolution on WSL
Running Ubuntu on WSL and trying to push to github and download new python modules using pip and I get this error.Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after...
View ArticleWindows 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