Simple bash script argument showing unexpected value
I'm stumped. It's a simple bash script on Ubuntu 26.04 under WSL on latest Win11.$cat /mnt/c/users/WTH.sh && echo ''#! /usr/bin/bashecho "==>" $*if [[ "$1" == "-?" ]]; then echo...
View ArticleUpgrade WSL 2 from 24.04 to 26.04
As I understand, when the first point release of an LTS version is available, we should be able to update our distribution in WSL 2.I see 26.04 is available here:wsl --list --onlineThe following is a...
View ArticleHow to recover from broken ufw logging?
I believe my problems started when I issued the following command:rm /var/log/ufw.logSince then, I have researched this problem and determined that the better solution is:cat /dev/null | sudo tee...
View ArticleHow to recover from broken ufw?
I believe my problems started when I issued the following command:rm /var/log/ufw.logSince then, I have researched this problem and determined that the better solution is:cat /dev/null | sudo tee...
View ArticleWSL Ubuntu: cursor changed to Adwaitha 48 worked once
I changed it, and it worked once. I needed it because KOReader cursor was ultra tiny on my hi-res monitor. It was good until I rebooted my Windows 11 Pro. Then nothing I tried would get it working...
View ArticleWill two installations of Ubuntu be a problem?
Two years ago, I installed Windows Subsystem for Linux (WSL) on my Windows 11 Professional machine. And then due to other pressing issues, I just forgot about it.Last night, thinking that I didn't have...
View ArticleWSL on hp laptop 17-cp3005dx [closed]
Is any one currently running wsl on subject laptop and running Gnome Evolution? I used laptop laast summer for business trip as it is very light weigt. Was running evolution, nemo, firefox, lowriter...
View Article"usbipd not found for kernel" when using USB/IP with WSL
I am trying to attach a USB device to my Ubuntu 20.04 distribution running under WSL2.The problem is that when I run the usbip command, it gives the following message:WARNING: usbipd not found for...
View ArticleIssue while downloading Ubuntu
The following error message occurred while downloading and installing Ubuntu in a Windows terminal.Downloading: UbuntuInstalling: UbuntuThe system cannot find the file specified.Error code:...
View Article3 different folders in usr/lib/jvm when installing jdk package
I installed a openjdk-17 package usingsudo apt install openjdk-17and I figured out that 3 different folders were made in the usr/lib/jvm directory.I know that the java-17-openjdk-amd64 is the real one...
View Article/usr/bin/node can't run due to an Exec format error
On Ubuntu 22.04 over windows (WSL) when I try to run node I get the error:-bash: /usr/bin/node: cannot execute binary file: Exec format errorI tried to reinstall it with sudo apt install --reinstall...
View ArticleUpgrade from Ubuntu 22.04 to Ubuntu 24.04 without a snap install
I'm using Ubuntu 22.04 on a WSLv1 system, which does not support snap:$ snap listInteracting with snapd is not yet supported on Windows Subsystem for Linux 1.This command has been left available for...
View ArticleWhy is plocate/locate very slow on WSL2 (minutes per query)?
On WSL2 (Ubuntu 24.04.4 LTS), locate/plocate queries take 1–2 minutes instead of milliseconds. The database is small (~130 MB) and it is not disk-bound — the data is fully cached and strace shows...
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 ArticleWSL - Cannot Install VSCode Extensions, Permission Denied, rename
I'm currently trying to install the C++ Extension Pack onto VSCode opened from my WSL User. I tried installing the pack from my main user using the command code --install-extension...
View ArticleHow to install Firebird 2.5.9 on WSL?
I was trying to use these commands to install Firebird on Windows Subsystem for Linux (I'm new to this).wget -O firebird.tar.gz...
View ArticleI'm getting python segmentation fault (core dumped) randomly
It's my requirements.txtpython = ">=3.11,<3.14"starlette = ">=0.37.2"pydantic = ">=2"numpy = ">=1"pandas = ">=2.2.3"requests = ">=2"httpx = "0.28.1"httpx = { version = "0.28.1",...
View ArticleHow can I access a Ubuntu FUSE mount in Windows via WSL?
I'm running Ubuntu 22.04 in Windows 11 via WSL 2.0.4. Within Ubuntu, I've used sshfs to mount a remote directory to /media/remote1. My local Ubuntu user owns the mount point.I want to access that...
View ArticleHP Zbook 840 G5 (Bus 001 Device 003: ID 138a:00ab Validity Sensors, Inc.)...
Unable to make fingerprint lock system in my HP Zbook 840 G5 (Bus 001 Device 003: ID 138a:00ab Validity Sensors, Inc.)How to find the proper Driver for Ubuntu 24.04 lts.
View ArticleCannot access windows fonts after installing them on Ubuntu WSL
I am trying to get Microsoft Windows'Copperplate Gothic font on my Ubuntu subsystem using WSL. I followed the instructions in this link and the installation seemed to go fine. However, when I run...
View Article