How to remove a snap application (docker) completely
I made the mistake of installing Docker via Snap... Once I realised that snap hadn't permissions to run in my working directory (on a different partition), I removed it. Now I can't use docker after...
View ArticleWSL Ubuntu: How to setup gcc to cross-compile for arm with a specific glibc...
I'm not really an expert of linux, so i'm feeling a bit lost.I'm running an Ubuntu 22.04.3 LTS image in WSL, as i need to cross-compile a program for an ARM linux pc (a BeagleBone Black, "BBB" from...
View ArticleCannot delete device /dev/loop0
I unsafely removed a USB device that was attached to loop0 with losetup and could not delete nor detach loop0 afterwards.losetup -a shows /dev/loop0: [0005]:145606719 (/dev/sdb1)When I remount the...
View ArticleHow to switch between different java versions in Linux?
I manually installed Java 8 and installed Java 11 via command line (open-jdk). I don't know how to switch between the versions.I ran the following commands to change the default...
View ArticleWhy is WSL extremely slow when compared with native Windows NPM/Yarn processing?
I am working with WSL a lot lately because I need some native UNIX tools (and emulators aren't good enough). I noticed that the speed difference when working with NPM/Yarn is incredible.I conducted a...
View ArticleOpenMPI-5.0: PMIx Error with `mpirun` on Ubuntu 23, both Single and Multiple...
OpenMPI-5.0: PMIx Error with mpirun on Ubuntu 23, both Single and Multiple Machines1. Error DescriptionSystem: Ubuntu 23.10Processer: AMD Ryzen 5 4600H with Radeon GraphicsNote: The error will not...
View ArticleTerraform metadata_startup_script for GCP runs even though file is present to...
Been trying to trouble shoot this for two days. Not sure if it is a terraform or GCP issue. Or my code. I'm trying to create a VM and run some installs. It then creates a file in /var/run called...
View ArticleUbuntu stuck on boot screen - Timed out waiting for device...
Ubuntu Stuck on BootupI am using dual boot. I was working fine up to this point. Any suggestions please?Was expecting Ubuntu to boot.Getting error - Timed out waiting for device...
View ArticleWhy my SSD is grinding when used under linux (ubuntu) [closed]
I bought a new asus vivobook 15, with a ssd storage hardware, the official system of exploitation is windows 11, and the ssd card is not making any noise when using windows,but if I run ubuntu, I hear...
View ArticlePython3-pip installation failing me countless times in ubuntu 22.04 [closed]
I keep getting a security message that stops python3-pip from installing.I have tried almost everything,but I still get the same issue.Error message:Err:1 http://security.ubuntu.com/ubuntu...
View ArticleWhy do I get an error installing the JSON gem in Ubuntu?
Using Ubuntu, when I run "bundle install" to set up my Rails environment, it throws an error during the JSON gem installation:Installing json (1.7.3) with native extensions...
View Articlegdal: build from source with python bindings in docker container
I’m struggling with building a gdal feature branch from source. My environment is docker with an ubuntu base image.It builds fine, but invoking gdal2tiles.py throws the notoriousModuleNotFoundError: No...
View ArticleIntellij IDEA doesn't detect file changes, therefore doesn't make before running
I'm having the following class:public class MyClass { public static void main(String[] args) { System.out.println("abc"); }}When I'm running the main method, "abc" is printed, as expected. Then, after...
View ArticleHow to make user can set their own domain that redirects to my server...
I'm building a web builder. Currently, the user can create a static page and use our subdomain to access the page, such as mysite.site.domain.com.I have a plan to allow user to use their own domain to...
View ArticleSDKmanager : Warning: Could not create setting....
Im trying to install androidSDK on my Ubuntu but when i try to run the SDK manager on the tools/bin/sdkmanager folder i get this message:My Ubuntu was installed recently and still have nothing on it...
View Articlecannot access localhost from Docker container [closed]
I followed this tutorial step by step : https://www.youtube.com/watch?v=NZGu-9KQVsEI created a Dockerfile :FROM ubuntu:jammyRUN : \&& apt-get update \&& DEBIAN_FRONTEND=noninteractive...
View ArticleKubuntu 23.10 Set keyboard backlight always on in Lenovo Ideapad flex 5 [closed]
I'm really tired of fading down after seconds of inactivity keyboard backlight...I've tried:xset -led 3i've searched all over internet - lenovo support is awfuli've asked openai - no luckHere is my...
View ArticleNew issues installing packages with ansible, packer and aws
We have a system whereby we packup some code, build a web server and bundle that all into an AMI, ready to be served on AWS.It was all working fine until I updated both ansible and packer, we also...
View ArticleUSB Printer ALWAYS BUSY (Error: claimInterface error: Error: LIBUSB_ERROR_BUSY)
I want to connect to printer and print barcodes from node using usb lib, but I get this error - Error: claimInterface error: Error: LIBUSB_ERROR_BUSY. I tried to use web/no web usb device - the same...
View ArticleAfter installing npm on WSL Ubuntu 20.04 I get the message "/usr/bin/env:...
I see the following message when running the npm install or npm command from the terminal. Executing node works as expected.> npm install /usr/bin/env: ‘bash\r’: No such file or directory
View Article