Error while installing ubuntu on windows 11 [closed]
After enabling virtualization on bios and in windows features, and enabling wsl in windows features I've tried to install ubuntu. Downloaded it from microsoft store and after runing ubuntu 22.04.3 LTS...
View Articlenpm refuses to generate package-lock.json
If I update a dependency manually in the package.json or "automatically" (by installing a package through npm CLI) both methods do not update the package-lock.json leaving me with a broken npm ci build...
View ArticleERROR 1449 (HY000): The user specified as a definer...
I am trying to list all tables from mysql database on ubuntu os. But I am getting this error all time;mysql> use mysql;Database changedmysql> show tables;ERROR 1449 (HY000): The user specified as...
View ArticleMysql returns connection error 500 instead executing die function [duplicate]
I'm developing an application and try to debug any errors.At first I've created a simple MySql connection script, see below:$conn = new mysqli("localhost","root","AwesomePassword", "todo");if...
View ArticleNginx cuts off part of the response from php-fpm
Ubuntu 16.04. Installed Yandex Odyssey 1.0rc1. I launched it and when I immediately received a response from php, nginx began to cut off the response from php. We checked on the php side, php has no...
View ArticleNode on Ubuntu: ENOENT error, but file does exist, I am sure
I have a JS script which attempts to copy CCTV files from one SMB location to another. All files are created in the same way are in essence the same. I am using globto get a list of all files.90% of...
View ArticleERROR: failed to solve: process "/bin/sh -c apt-get update"
I have the following Dockerfile where I want to build a Docker container from the image at https://hub.docker.com/r/julianassmann/opencv-cuda/:FROM julianassmann/opencv-cuda #image name with OpenCV...
View ArticleHow to find snap vs apt installed packages? [closed]
I just found out that libreoffice is available as a snap package in Ubuntu 22.04.I had it installed under apt, so I converted over to the snap version. Works great.How do I find out if there are any...
View ArticleVSCode crashes when starting up in Ubuntu
I changed my workspace to Ubuntu recently, and I encountered the crashing problem.The vscode was installed by apt. And it could be open for a few seconds, then it crashes automatically.I tried to...
View Articledocker guacamole mysql initialization: permission denied [closed]
I am following the guide from https://www.howtoforge.com/how-to-install-apache-guacamole-as-docker-container-on-ubuntu/.This is a docker question.**I run the following command: **docker run --rm...
View ArticleSet default PHP version of apache2 to a specific version
Currently the PHP version showing if I call phpinfo() is 8.0.19.I need to change it to 8.0.15.I already build 8.0.15 from source and changed the CLI PHP version successfully by using...
View ArticleRepo refusing to sync all contents
I'm pretty confused what is going on here. I am able to completely sync all (and partially build) of Android, with a VM of these specs:10GB RAM400GB SSD storage9 CPU coresHowever, when I go to my...
View ArticleHow to add a line into rc.local with shell
I am working on a Ubuntu 12.04 and writing a environment-auto-build shell. In the shell I need to change something in rc.local.This is my rc.local now.#!/bin/sh -e#......exit 0I want to modify it like...
View ArticleUbuntu VM - Running Powershell script - takes snapshot - connects to Jenkins,...
I have an Ubuntu 22 VM running a powershell / powerCLI script when it boots.New-Snapshot -VM $myName -Name "snapshot" -memory -RunAsync#Wait for snapshot to completeSleep 60#Connects to Jenkins using...
View ArticleError while loading shared libraries: libX11.so.6
I installed authy using the snap install authy command. When I try to open the application, I get the following error message:/snap/authy/6/authy: error loading shared libraries: libX11.so.6: unable to...
View ArticleNodejs + Puppeteer fails on Ubuntu but works on Windows
We were using html-pdf library earlier to generate PDF from html. The library is now deprecated and puppeteer was suggested.We made the code changes and it worked fine on localhost (Windows 11)...
View ArticleIs it possible to answer dialog questions when installing under docker?
Is it possible to somehow answer the questions that are presented as dialogs when installing some packages using apt-get?For instance I'm trying to setup a container containing the mail-stack-delivery...
View ArticleHow to fix 'Hash Sum Mismatch' in Docker on mac
I'm using macOS 11.4 and Docker 3.3.3. My docker file looks likeFROM python:3.8.10-slim-busterRUN apt-get update && apt-get install --no-install-recommends -y \ # dependencies for building...
View ArticlelibEGL warning: MESA-LOADER: failed to open swrast
I am using wsl on windows 11. inside wsl, I have created an anaconda environment, through witch I launch Jupyter Lab. I am trying to use OpenCV to load an avi video file into my code and read its...
View Articlecannot determine SELinux status [closed]
/GoProjects/TodoApi$ go mod tidy2024/03/12 11:54:53.823558 system_key.go:129: cannot determine nfs usage in generateSystemKey: cannot parse mountinfo: incorrect number of tail fields, expected 3 but...
View Article