10,193 questions
1
vote
1
answer
30
views
gitlab-runner is not installed in a docker container. OS debian 12 [closed]
gitlab-runner is not installed in a docker container. OS Debian 12
I am writing the following:
curl -fsSL https://get.docker.com | sh
docker volume create runner01
docker pull gitlab/gitlab-runner:...
Advice
0
votes
1
replies
35
views
Display data in a log file
Records in file which is comprise of four lines followed by a blank line. Desire to read each record and display lines 2 and 3 if line 4 matches a specific string.
while IFS= read -r line1 && ...
0
votes
0
answers
40
views
How to override/disable kernel CFLAGS when compiling external kernel modules
I'm trying to compile an external kernel module against my custom kernel, but I'm encountering a compiler error:
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
I compiled ...
1
vote
1
answer
54
views
Why does the dash command `test -d` without the file arg pass without error?
#!/bin/sh
# dash script
zero=0
test $zero -eq 0
echo $? # prints 0
zerostr="000"
test $zerostr -eq 0
echo $? # prints 0
test
echo $? # prints 1 (as documented)
test -d
echo $? # prints 0 (...
Advice
1
vote
0
replies
19
views
Xen - native sessions for Dom0 iGPU and DomU dGPU?
-------------------------------------
| xen kernel |
-------------------------------------
| Dom0 | DomU |
| iGPU and tty2-5 | dGPU and tty6-8 |
---...
0
votes
1
answer
50
views
How do I verify the CodeLite installation?
I have installed CodeLite. It compiles, but not everything is as expected. And I do not know how to check/correct things.
This is what I have:
Debian Trixie with development tools (git, cmake, GCC ...
0
votes
1
answer
57
views
Miniconda installer segfaults in WSL2 (Debian/Ubuntu), constructor --extract-tarball fails with Exit 141 / Segmentation fault
I'm trying to install Miniconda in WSL2, but the official installer always fails during payload extraction. The script reports Exit 141 and then Segmentation fault in constructor --extract-tarball. ...
0
votes
2
answers
107
views
Impossible to connect to a Microsoft Access database in LibreOffice 25.2 with UCanAccess and jdbcDriverOOo 1.6.2
I need to edit the content of a MDB file under Debian Linux 12 with LibreOffice 25.2.
I tried to use the solution mentioned in the documentation (relying on UCanAccess) without success: I added the ...
0
votes
0
answers
71
views
Trying to insall CBLAS
I am trying to install CBLAS on Debian 13, and am, as far as I can see, following the instructions in the README file that came in the folder. When I do a 'make all', I get the following errors that I ...
Best practices
1
vote
1
replies
37
views
Best practice to build flutter docker image on mac non-x86 for use on x86-64 machine
We have a flutter docker image (base image is debian for build and nginx for deployment)
The resulting container has to run on an x86-64 machine (uname -m is x86_64)
If we build the image on an x86-64 ...
-1
votes
1
answer
119
views
future module in debian
I want to use this app. As it is mentioned in the README.md it needs the future module of python. I have debian sid and python3-future is removed from the repos of apt. When I install it via its setup....
0
votes
2
answers
43
views
mariadb debian-start script giving errors: ERROR 1146 (42S02) at line 1: Table '_cdfd7a1251c20c3e.tabError' doesn't exist
I'm getting a number of these errors printed in the systemd journal when i restart mariadb:
Nov 07 17:56:05 p2 /etc/mysql/debian-start[8427]: --------------
Nov 07 17:56:05 p2 /etc/mysql/debian-start[...
-4
votes
1
answer
314
views
Delete a file from one PC to another on the LAN
I use Java 17 on Debian 12.12 and I need to delete a file that resides on another PC in LAN, also with Debian 12.12.
This is my test program:
package filedelete;
import com.hierynomus.smbj.SMBClient;
...
2
votes
0
answers
50
views
How to prevent tmux-resurrect from printing empty lines after restore?
The problem
In tmux, I use the tmux-resurrect and tmux-continuum plugins. They work perfectly fine otherwise, but after an automatic or manual save, when I start the server again, empty lines with my ...
1
vote
0
answers
100
views
Docker build fails with random “Hash Sum mismatch” errors on macOS
I'm trying to build a docker image on my Mac, but it fails at installing some linux deps. I think it's all pretty standard, and it works for my colleagues, on CI/CD (details below)
Relevant part:
FROM ...
2
votes
1
answer
168
views
"Forbidden You Dont Have Permission to access this Resource" config problem on Apache.conf
My Debian10 server wentdown and I've been trying to install all my pages and Apache2 server on another Debian (Debian 12).
I've already take all the bkps of the pages and put them in the exact same ...
0
votes
1
answer
362
views
VSCode DevContainer in linux doesn't recognize Docker, or the packages installed during build
I have a devcontainer set up as a work environment on Debian 13. Until recently, it was working perfectly fine, but recently I started getting error messages like this:
Once I was already inside the ...
1
vote
1
answer
107
views
python virtualenv without losing apt-installed modules
How can I create a python Virtual ENVironment (venv) such that the new venv has all of the python modules that are already installed on my system (with apt)?
🛈 Note: It's much more secure to install ...
2
votes
1
answer
131
views
git push and clone hang indefinitely using ssh
I am using git to host a LaTeX paper I'm writing on both my desktop and laptop. However, it has recently stopped working on the latter. One morning, I was able to clone and push over SSH just fine, ...
0
votes
0
answers
38
views
Missing libpcl_in_hand_scanner.so, libpcl_modeler.so and libpcl_point_cloud_editor.so in Debian13 after downloading libpcl-dev
I am using apt::libpcl-dev with xmake.
# xmake.lua
add_rules("mode.debug","mode.release")
add_requires("apt::libpcl-dev", {configs = {vtk=true, system = true}})
...
0
votes
0
answers
104
views
OpenCvSharp4 in Debian 13 (bookworm) throws DllNotFoundException
Steps to reproduce
In Visal Studio create .NET 9 console application.
Add OpenCvSharp 4 Windows and Linux nuGet packages:
Create program.cs file:
using OpenCvSharp;
using Mat src = new Mat();
...
-2
votes
1
answer
219
views
How can I tell if lighttpd is running on Debian 13? [closed]
My task was to port debian12 to debian13. In debian13 I noticed that the website was behaving differently with Perl v5.40.1. I found out that the following line returns different values on different ...
0
votes
0
answers
39
views
NextJS Image component doesn't display existed images
I've been having this problem for long but haven't figured it out the problem. I confirmed all the images are there in the /public/static/images folder, but NextJS display broken image. I have two ...
1
vote
0
answers
74
views
How to share a volume with a parameterised path in container on GitHub Actions
On GitHub Actions, I have a job that create a container with Debian 13, that need to use FUSE.
This is the current workflow:
jobs:
build:
name: Linux Debian13 build
runs-on: ubuntu-latest
...
0
votes
1
answer
58
views
How to prevent the apparition of NULL characters in my CSV file when the recording is interrupted by a reboot
Context: I'm doing some data processing/recording on an embedded Linux (Debian 12) with Python 3. Once processed, my data is written to a csv file by a dedicated thread. It currently works fine, ...
2
votes
1
answer
59
views
cross compiled app using ncursesw6 - some systems show no version information available and some of the colors are different
I built a ELF64 (x86_64) console app on a Debian based 686 OS that uses ncursesw6. When I run it in Fedora 42 x86_64, I get:
./myappx64: /lib64/libtinfo.so.6: no version information available (...
1
vote
0
answers
94
views
Graphviz in PyInstaller application
I'm writing a Python application that includes Graphviz. I would like to distribute pre-compiled binaries, done by PyInstaller. While PyInstaller can follow the modules nicely, the Graphviz binaries ...
0
votes
0
answers
285
views
LOAD segment with RWX permissions with default linker script when link dynamic library
I get the warning /usr/bin/ld: warning: ./build/libUART.so.0.1 has a LOAD segment with RWX permissions, when I try to build a dynamic (shared) library for my project on Debian 13 (Trixie) with the ...
1
vote
1
answer
100
views
Frameless window flag in QT creator program is ignored in debian, but accepted in ubuntu and wsl
I am working from Ubuntu, and my friend has a minimal Debian system. His system uses x11 and openbox, and the login manager is lightdm.
On my system, I compiled a QT-Creator application in which the ...
0
votes
1
answer
389
views
How to use std::println with clang++ and MinGW?
On my Debian Testing, I installed Clang and MinGW (both are the latest versions available from the official repo). Then I wrote a simple program to try cross-compilation to Windows:
#include <print&...
0
votes
0
answers
84
views
Why is collabora not loading documents on owncloud?
Have installed owncloud and collabora. Collabora is on Docker.
Here is config
services:
collabora:
image: collabora/code
container_name: collabora
hostname: collabora
restart: ...
0
votes
1
answer
239
views
How to install leptonica 1.85 in Debian 12
Tried to use https://github.com/Sicos1977/TesseractOCR Nuget package in Debian 12. It looks that it requires new version of leptonica libleptonica-1.85.0.dll.so which is not avaliable in Debian:
#apt ...
1
vote
0
answers
408
views
libtensorflow_framework.so.2: cannot enable executable stack as shared object requires: Invalid argument
I installed tensorflow 2.15.0 and it can't import, with the error:
libtensorflow_framework.so.2: cannot enable executable stack as shared object requires: Invalid argument
It's mentioned here that it ...
1
vote
1
answer
2k
views
Cannot install cryptography in python3.11 using pip (rust not found)
anyone knows how to overcome the below error returned when I try to install "cryptography" within a python3.11 virtual environment on a Linux Debian 12 machine?
I am posting the below the ...
-1
votes
1
answer
134
views
AWS Debian apache2 web install
So i want to create an apache2 webserver on debian using aws.
I'm in needed to what to write so with the codes to make me see everything in order.
I tried installing apache2 and succeeded, but i do ...
4
votes
1
answer
246
views
Docker build fails on apt-get install with repeated “Hash Sum mismatch” errors (even after disabling cache)
I’m trying to build a Docker image using the cityflowproject/cityflow base. My build consistently fails during the apt-get install step with Hash Sum mismatch errors, even after attempting common ...
0
votes
1
answer
136
views
ISC-DHCP ignores static host definition and provides dynamic IP instead [closed]
Debian 11
DHCP version - isc-dhcpd-4.4.3-P1
I have an issue wherein various devices on my LAN are receiving dynamic IPs from my DHCP server's pool rather than taking the static IP that's been assigned ...
0
votes
1
answer
914
views
Error E: Package 'openjdk-11-jdk-headless' has no installation candidate when trying to install eProsima FastDDS
I've been trying to ./install.sh eprosima fastdds 3.2.0 Linux on a Raspberry Pi but running the install always returns E: Package 'openjdk-11-jdk-headless' has no installation candidate.
I've tried ...
1
vote
0
answers
113
views
Use CPACK_DEBIAN_PACKAGE_SHLIBDEPS between components without RPATH
I have dependencies between CMake components, and want to use dpkg-shlibdeps in the DEB packager. I set
set(CPACK_DEB_COMPONENT_INSTALL ON)
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set(...
1
vote
0
answers
352
views
Installing python3.10 on debian:stretch-slim image?
I have an docker file where the base image is set to debian:stretch-slim. The default version of python3 is python3.5 in this image.
FROM debian:stretch-slim as base-os
....
....
RUN python3 -V
RUN ...
0
votes
0
answers
50
views
Flask template streaming debian12
Problem: Flask template_streaming does work in my Mac (dev) but not in Debian12.
The service for this project in Debian:
[Unit]
Description=Gunicorn instance to serve projectname
After=network.target
...
0
votes
1
answer
215
views
can not run a python file using pipx and gradio_client
I want to try an API on huggingface.co I need to do:
pip install gradio_client
but with debian, I need to use pipx. So I do:
pipx install gradio_client --include-deps
then, I have a file ...
0
votes
0
answers
91
views
Can't bind to AP interface in python when using create_ap
I've written a simple python server for an IoT electronics school project. A "raspberry pi 3 model B rev 1.2" acts as the local station/server. I'm looking to create an AP which esp32's ...
0
votes
0
answers
158
views
Reproducing the raspberry pi environment on a M4 (Silicon) Mac
The short story is that I need to develop apps for the Pi and I would like to have a similar environment on my Mac to test (configuration of the systemd services, setting up and running python the way ...
0
votes
1
answer
217
views
Problem upgrading Postgresql due to "The locale requested by the environment is invalid" error
I am trying to upgrade a Postgresql 13 database to version 15 using the command pg_upgradecluster 13 main but it keeps failing with this message:
Stopping old cluster...
Restarting old cluster with ...
0
votes
1
answer
93
views
Unable to setup a PHP variable "max_input_vars"
I'm trying to install the moodle cms on debian12 and php8.2.
I have followed the official guide.
I'm trying to set the variable max_input_vars to the value of 5000 editing the system php.ini file at ...
1
vote
0
answers
42
views
OSError 99 while starting socketserver on boot, Debian
I wrote a simmple TCP server using socketserver module. It runs and functions perfectly well when running it through bash like
python scpi_server.py
Here is the simplified code:
if __name__ == "...
1
vote
0
answers
156
views
cant resolve domain names while docker compose build
I'm encountering an issue when building Docker images using docker compose build. The build process fails with the following error:
curl: (6) Could not resolve host: deb.nodesource.com
This issue ...
1
vote
0
answers
116
views
How can I emulate Bash's command history scrolling functionality in C?
I'm trying to write my own terminal shell in C and want to know how I can register arrow-up and arrow-down presses to populate the current input line with a previously entered line? I'd like to do ...
0
votes
1
answer
333
views
Systemd cgroup slice user override does not work
While trying to implement resource limitation (Debian 12) for all users except root user i faced that
user-0.slice MemoryMax does not override user.slice MemoryMax parameter.
root@:/etc/systemd/system....