60,942 questions
0
votes
0
answers
18
views
In PYQT5, using a custom QFileDialog, unable to modify the setNameFilter window size
Under Linux Ubuntu 20.04 OS, the default QFileDialog does not provide a search function. I built a custom QFileDialog window and displayed the matched files in the 'setNameFilter' under 'Files of type'...
-2
votes
0
answers
24
views
Can't npm install about anything on my VPS [closed]
This issue just popped up recently, like 20 minutes ago and I have no idea what's causing it. Prior to those 20 minutes, npm install was working just fine. I'm involved currently in web development ...
-2
votes
0
answers
15
views
Ubuntu is not fully loading a GUI [closed]
I've installed ubuntu on a portable drive but when i try to open it on my pc (Nvidia GPU, intel CPU 13th gen, normal windows drive) (the one that I've used to install drive) ubuntu is showing only ...
0
votes
1
answer
19
views
Update CPAN-2.28 to latest version on Ubuntu docker image
I have a Docker image with Ubuntu and I need to update
CPAN-2.28 to latest version. I tried to run:
RUN apt-get install libyaml-syck-perl libtemplate-perl libwww-perl
RUN perl -MCPAN -e shell
But I ...
0
votes
0
answers
5
views
problem with ubuntu when executing buildozer -v android debug statement for python to android apk conversion
ive been trying to make an android apk using ubuntu and buildozer, the python program had been made using kivy module and runs properly, then i installed wsl version 2.4.1 on powershell restarted my ...
0
votes
1
answer
25
views
Why is du reporting that docker is taking up more space than is available on the EBS volume? [closed]
I have an EC2 instance running docker on Ubuntu 24.04, with a 30Gb EBS (gp3) root volume.
I see mkdtemp: private socket dir: No space left on device when I log into it because the container has done ...
0
votes
0
answers
16
views
Why is there variance in counting with perf stat?
I've run some data collection using perf stat set at an interval of 10ms. However, when looking at the output file, it seems like it's close to 10ms between runs but not the same. Is there somewhere ...
-3
votes
0
answers
72
views
in pre-commit pycln v2.1.2, pyproproject.toml file not found in ubuntu 22.04 python3.10.12
[Traceback (most recent call last):
File "/home/muhammad/.cache/pre-commit/repo39hhwiek/py_env-python3/bin/pycin", line 5, in <module>
from pycin.cli import app
File "/home/...
0
votes
0
answers
15
views
How to rotate some logs more frequently on ubuntu?
On ubuntu 20 and 22, logrotate is run via systemctl:
# systemctl cat logrotate.service
[Service]
Type=oneshot
ExecStart=/usr/sbin/logrotate /etc/logrotate.conf
and it runs daily:
# systemctl cat ...
-6
votes
0
answers
18
views
Compatibility between the gpgpu-sim version and the CUDA version [closed]
When I reproduced the experiment of a paper, the author of the paper used the environment of gpgpu-simV3.2.0 and CUDA V11.0, after I installed these two environments and the environment that gpgpu ...
1
vote
0
answers
62
views
Serial port read in Ubuntu
967 bytes are sent to the serial port(for example video), I read it using the normal read function with poll, the function will stop when 967 bytes have been read, or the timeout has passed, let's ...
0
votes
0
answers
24
views
Problems after Installing Ubuntu with Dual Boot Windows 11 [closed]
I am a Windows 11 user and I decided to try Ubuntu for the first time. I installed Ubuntu 24.04.2 LTS with Dual Boot alongside Windows 11. The installation process was quite soft and successfull but ...
0
votes
0
answers
26
views
My .service file that is supposed to launch ROS2 Humble nodes exits too early and the nodes hang Linux Ubuntu 22.04 [closed]
I am trying to launch 2 nodes from a .service file on Ubuntu 22.04. The service file looks like:
[Unit]
Description=ROS2 Battery and Dock Monitor Nodes
After=network.target
[Service]
Type=oneshot
...
-2
votes
0
answers
17
views
dual boot fail for ubuntu v24.04 and windows 10 - ubuntu first [closed]
i have a problem with dual booting ubuntu and windows 10 .
my primary OS is ubuntu v24.04 and recently i upgrade my laptop with another SSD to install windows 10 on it , but in the installing of it , ...
-1
votes
0
answers
6
views
Configuring Plesk to use a local mail-server for some domains, and external mail-servers for others
How can I configure my Plesk machine to use the local mail-server (e.g. postfix) for some domains, but an SMTP relay to external mail-servers for other domains? The Plesk documentation describes how ...
0
votes
0
answers
12
views
compile CGMiner from github download on Ubuntu 24.04.2 LTS
any suggestion about the following? I'm trying to compile CGMiner following instructions on Ubuntu linix. i run into a bunch of errors, they are as follows.
/usr/bin/ld: cgminer-util.o:/root/cgminer/...
-2
votes
0
answers
30
views
Bluetooth is not turning on in my Ubuntu PC setup [closed]
Bluetooth is not turning on in my Ubuntu desktop setup, I have already updated my OS setup, but still, the problem remains the same, for more details, I will provide the problem video, if anyone is ...
-1
votes
0
answers
12
views
Multiple keys in keyoboard working as shift [closed]
I have recently purchased RAEGR X70 keyboard. When I am using it with my Ubuntu 24.04 OS,the ctrl, win, alt keys of the keyboard are working as shift keys. What is the problems? And how to resolve ...
-3
votes
0
answers
16
views
Virtualbox not starting any machine [closed]
Failed to open a session for the virtual machine ubuntu18.
The virtual machine 'ubuntu18' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
...
-3
votes
0
answers
29
views
Transfer Ubuntu to another partition [closed]
I installed Ubuntu 22 on my Laptop last year, but my laptop didn't have that much storage, with only being able to buy extra SSD about 2 months ago and I'd like to have my Ubuntu with extra storage (...
0
votes
0
answers
22
views
Ubuntu - syslog & kern.log filling up with messages (audio pci?) [closed]
My syslog & kern.log files are enormous - I checked these files & found that they are being filled with the following messages.
Mar 3 08:12:17 ubuntu kernel: [1033920.187739] sof-audio-pci-...
3
votes
1
answer
62
views
www-data not able to find ODBC drivers
I am very new to Linux, ODBC and php in general but most of the times I manage to resolve the issues I run into. Until now.
We run a Linux/Ubuntu server and I have a php script that should talk to an ...
-1
votes
1
answer
18
views
Remove tar_1.34+dfsg-1.2+deb12u1_amd64.deb [closed]
I have to remove tis package tar_1.34+dfsg-1.2+deb12u1_amd64.deb into Docker.
But when I run: RUN dpkg -r tar_1.34+dfsg-1.2+deb12u1_amd64.deb
I get error:
ERROR: failed to solve: process "/bin/...
-1
votes
0
answers
14
views
Mptcpd not generating a mptcp capable packets [closed]
I am running a mptcpd in my ubuntu 24.04.Problem is that i have installed mptcpd daemon and sysctl also showing mptcp is enabled, But when i am generating packets using iperf3 then packets not showing ...
0
votes
0
answers
9
views
Debug a dead kernel using ipykernel kernel --debug
I just added a new kernel to Juypter Notebook using:
python -m ipykernel install --user --name=venv3.12
and edited the path of Python to the Python executable at a venv folder. The contents of the ...
-1
votes
0
answers
23
views
Running a NPM Package via a Crontab [duplicate]
simple issue i'm running into.
I have a script.sh file that contains:
serverless invoke local
this works when I run the script directly from the command line ala
/home/ubuntu/script.sh
however, I ...
0
votes
0
answers
22
views
gave up: prod_* entered FATAL state, too many start retries too quickly
I have a Supervisor-managed process (prod_00) running on an Ubuntu server. It stopped running on February 19 and wasn't restarted again until February 21, when I manually restarted it.
Issue ...
-1
votes
0
answers
16
views
Teaming on Ubuntu with different physical ports types [closed]
I'm working on POP!_OS 22.04 LTS (Ubuntu) and I am desperately trying to create a team in active backup mode for my two connections. The reason for this is that what should be my primary connection ...
-1
votes
1
answer
30
views
How to increase Eclipse Menu Font in Ubuntu
For my Ubuntu desktop, I switched to a monitor with 1920p resolution. The Eclipse font looks very small in high resolution. I am able to increase the font size for Java Editor, Package Explorer and ...
-2
votes
0
answers
61
views
MongoDB refused to connect to ubuntu server [closed]
The error is suggesting no connection and that my ip not being whitelisted despite I have whitelisted it.
0
votes
0
answers
24
views
How to enable cgroup v1 in WSL2
I'm using WSL2, and I'm applying judge0 which requires cgroup v1
Here is the situation of my environment.
root@Thinkbook:~# cat /proc/version
Linux version 5.15.167.4-microsoft-standard-WSL2 (root@...
0
votes
1
answer
25
views
start a process in the host from docker container [duplicate]
As title suggests, I was interested into making a process start directly on the host, called inside a Docker container.
Do you have any idea on how I could accomplish this goal?
To be more precise, ...
1
vote
1
answer
58
views
Ansible command execution with nested sudo
Considering the following simplified reproducible ansible task:
# child.py
# This program must NOT been executed with sudo
import subprocess
subprocess.run(['sudo', 'apt-get', 'update'], check=True)
...
0
votes
0
answers
19
views
No permission to run postgresql after installation [closed]
I installed postgresql version 17.4 (Ubuntu 24.04). After attempt running sudo psql I receive an error
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed:...
0
votes
0
answers
14
views
Laravel mkdir(): Permission denied on Linux Mint 22
Creating a "laravel/laravel" project at "./Rakib"
Installing laravel/laravel (v12.0.1)
In ProjectInstaller.php line 69:
mkdir(): Permission denied
create-project \[-s|--...
-2
votes
1
answer
59
views
Docker-CE (rootless) fails for DDEV, Ubuntu 24.04.2 LTS [closed]
I have been working my way through the CMS guidance to create a DDEV project to create a local Drupal (11) website. I get to the ddev Composer step and this happens:
$ mpw1950@McCullin:~/ve25$ ddev ...
-1
votes
0
answers
29
views
Issue with cv2.VideoCapture(video_url) Not Working for Video Links (Works Fine with Local MP4 Files) [closed]
I'm experiencing an issue with cv2.VideoCapture(video_url) when trying to work with video links. The function doesn't seem to handle video URLs properly, although it works without any issues for local ...
0
votes
0
answers
41
views
mise install fails with timeout in docker build #4517
I have this dockerfile for reproduction
# Dockerfile: docker(1) container build file.
ARG UBUNTU_DIST=24.04
FROM ubuntu:${UBUNTU_DIST}
RUN apt-get update \
&& apt-get -y --no-install-...
0
votes
0
answers
14
views
Tackling variability when recording execution times while benchmarking a library under Linux
We have designed benchmarks to test execution times of some algorithms coded within a library that we are working on.
Those algorithms are mono-threaded. So the algorithms can use at most 100% of the ...
0
votes
0
answers
40
views
Why isn’t my cross-OS cache shared when using enableCrossOsArchive: true in GitHub Actions?
I'm attempting to share a cache between workflows running on macOS-14 and Ubuntu-22.04 using GitHub Actions. According to the GitHub Actions cache documentation, setting enableCrossOsArchive to true ...
0
votes
0
answers
44
views
Unable to Receive MQTT Messages Inside Docker Container on Ubuntu Server
I have a code that works fine on my Ubuntu server, but when I run it inside a container, I don’t receive any messages. It seems like the container doesn’t have access to the MQTT broker.
However, I ...
0
votes
0
answers
28
views
Issue with .NET HTTPS Development Certificate Not Being Trusted on Ubuntu 24.04 (Edge & Chrome)
I am trying to configure the .NET HTTPS development certificate on Ubuntu 24.04, but Edge and Chrome do not recognize it as a trusted certificate.
What I Have Done So Far:
Cleaned and regenerated the ...
0
votes
1
answer
115
views
<JedisClusterOperationException> Could not initialize cluster slots cache
I have a redis-cluster docker image running locally, and I'm trying to connect to it from the java code, but I'm getting an error.
Java code:
JedisCluster jedisCluster = new JedisCluster(new ...
0
votes
0
answers
34
views
Qt 6.5: Deploying to Linux with CMake - QML runtime missing
I'm developing a Qt/QML application on Ubuntu 22.04 with the official Qt SDK 6.5.3 and I'm referring to these instructions:
https://www.qt.io/blog/deploying-to-linux-with-cmake
This worked otherwise ...
1
vote
0
answers
39
views
Sniffing bluetooth packet using Scapy on raspberry pi5
I have been working on Scapy to sniff the wifi packets & works like a champ. With self interest started to read other supporting feature like bluetooth that supported by Scapy framework
Started to ...
0
votes
1
answer
30
views
Timeout when I try an action with Python subprocess but when I run it manually throw terminal i'ts fine
I have this function which is trying to restart a genymotion device in python:
def restart_device(d, stop_timeout=40, start_timeout=30):
"""Restarts a specific Genymotion device ...
0
votes
0
answers
75
views
SeleniumBase empty html when using proxy on ubuntu
On the local computer, SeleniumBase works correctly with the proxy argument passed, but on ubuntu it outputs an empty html document with the proxy argument. Below I attach the code of the simplest ...
0
votes
0
answers
26
views
Error using CMAKE with INTEL MKL ONEAPI while building ngsolve in WSL
I've been trying to build ngsolve in WSL and I'm facing the following problem, I've installed intel mkl ONEAPI but while executing cmake -DCMAKE_INSTALL_PREFIX=${BASEDIR}/ngsolve-install ${BASEDIR}/...
0
votes
0
answers
17
views
Cloud-init per device configuration
I have a question about using cloud init for per device configurations. I am wanting to use this with a fleet of Raspberry Pi CM5s. Right now I can download a distro for the RaspberryPi (e.g., ubuntu-...
0
votes
0
answers
33
views
Find the file extension of currently platform executables in C# [duplicate]
I have a function that search for executables. Different behaviors due to the differences between OS's is a problem. The shells would give:
On Ubuntu:
$ which cat
/usr/bin/cat
On windows:
]where cat
...