Questions tagged [debian]

Note: Questions MUST be programming related. Use this tag only if your question relates to development on Debian using operating system API's or Debian-specific features, or to creating packages in the deb format.

debian
Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

the object file of the executable is unchanged when i change the main.cpp file (cmake)

In Debian I run the following code in CMakeLists.txt: cmake_minimum_required(VERSION 3.20) project(projectname) set(CMAKE_CXX_STANDARD 20) add_executable(proj source/main.cpp) This was configured and ...
abdja2's user avatar
  • 19
0 votes
1 answer
127 views

How can I create a .desktop file [Desktop Entry] that executes a command in the current directory?

I want to create a .desktop file that runs a specific command in the directory where the file is. This is what I have: [Desktop Entry] Type=Application Name=MyApp Exec=bash -c 'cd $0 && node ...
djip.co's user avatar
  • 1,017
0 votes
1 answer
115 views

Can't install mongodb on debian

I use debian v.12.5. I followed the documentation here but after sudo apt-get install -y mongodb-org I get this error : Reading package lists... Done Building dependency tree... Done Reading state ...
16ar's user avatar
  • 125
0 votes
1 answer
48 views

Where do man pages about libc come from if they do not come from glibc?

Where do the man pages about libc come frome? They cannot come from glibc because they slightly differ from glibc's API. One example is the man page for mmap. It describes a flag MAP_UNINITIALIZED. ...
zomega's user avatar
  • 2,086
0 votes
0 answers
44 views

Debian OpenSSL zscaler issue php

I'm stuck at my Debian configuration. The problem is as follow: The internet connection is handled by a zScaler proxy server, performing TLS/SSL inspection. However, this causes applications to break. ...
Jasper's user avatar
  • 139
0 votes
0 answers
16 views

Are GPO Scheduled Tasks fully supported in Samba 4.17.12 and if so why does mine not work?

I'm running samba 4.17.12 on Debian Bullseye configured as Active Directory Domain Name Server. I've implemented several other GPO policies without any problem, but now I tried to do a Scheduled Task ...
Matthew Crandall's user avatar
0 votes
0 answers
19 views

Apache NIFI Can't find or load main class on Debian when creating a user

I have to setup NIFI for a school project and when i have to use this command nifi.sh set-single-user-credentials myusername mypassword (with proper password and username) i always get this error ...
Curtis's user avatar
  • 1
0 votes
0 answers
29 views

Blazor Server Webapplication: Can't contact Active Directory via LDAP when hosted as Docker Container

We have a (Mud)Blazor server application. We host it as a Docker Container. To run the Application, we use mcr.microsoft.com/dotnet/aspnet:7.0 as a runtime. This works fine. Now, we want to add user ...
Lukas's user avatar
  • 23
0 votes
0 answers
298 views

Error while installing sudo apt install libc6:i386 on Debian 12 bookworm on pi5

OS: Raspbian GNU/Linux 12 (bookworm) I wanted to install steamcmd with it gives this issue: steamcmd:i386 : Depends: libc6:i386 (>= 2.12) but it is not going to be installed ...
Crate's user avatar
  • 63
0 votes
0 answers
16 views

Python Problem on Debian with importing and using Tkinter

At the beginning I had some trouble to install anything from the python library but then I found this post which fixed my problem not being able to install anything with pip. But now I want to install ...
Filmschloss's user avatar
0 votes
0 answers
224 views

Cannot install vscode update 1.86.1 /1.86.2 on Debian 10

When trying to install update 1.86.1 or 1.86.2 over 1.85.2 on my Debian 10 I get this message: Dependency is not satisfiable: libxkbfile1 (>= 1:1.1.0) I've updated and updagred my system and force ...
Pablo's user avatar
  • 1
0 votes
0 answers
23 views

GLPI and MantisBT on the same serveur, MantisBT error HTTP ERROR 403

I have install glpi 10.0.11 and mantisbt 2.26.0 on the same server a linux debian 12 and i have the glpi web page but i have an error (HTTP ERROR 403) for the mantisbt. When I disable glpi apache2 ...
zipzap's user avatar
  • 1
0 votes
0 answers
22 views

How to install cURL and grep in Debian based image (postgres:10)? [duplicate]

I'm using the postgres:10 official image (restoring a db with OIDs that are not supported in latest) and I need to also install curl and grep. The docs say that the (new versions at least) default to ...
sam's user avatar
  • 793
1 vote
0 answers
30 views

Read information from inside DEB package in preinst

I am creating DEB package for Ubuntu which copies binary and configuration files. When I am installing/reinstalling with a new DEB file in case of patch, upgrade or downgrade, I need information in ...
ashu's user avatar
  • 1,297
-2 votes
1 answer
43 views

Installing wkhtmltopdf to hosting

I want to run my bot on hosting; for the bot to work, I need wkhtmltopdf. I don't have root and cannot use sudo. by command uname -a: Linux de47dd89-827f-4271-9cad-0cbf6b95d4e6 5.15.0-91-generic #101-...
neoclar's user avatar
0 votes
0 answers
33 views

Nginx Reverse proxy with docker-compose error worker_connections are not enough

Based on this toturial i create a website with php docker compose on debian vps. https://devops.tutorials24x7.com/blog/containerize-wordpress-with-nginx-php-mysql-and-phpmyadmin-using-docker-...
StraightforwardDev's user avatar
0 votes
0 answers
43 views

podman build from debian:jessie - exit status 100

I am trying to pull an image from dockerhub and update it. (Had no problem doing this previously) Admittedly the image i am pulling is old (it is required for some legacy code) but last year i was ...
andy's user avatar
  • 184
0 votes
0 answers
372 views

libstdc++6 unmet dependencies installing upx-ucl

I am trying to install upx-ucl on Debian, but I am getting the following notification: The following packages have unmet dependencies: upx-ucl : Depends: libstdc++6 (>= 13.1) but 12.2.0-14 is to ...
question's user avatar
0 votes
0 answers
51 views

npm command not found even after adding its path to the $PATH variable

I have installed Debian GNU/Linux 12 (bookworm) with Homebridge to a Raspberry Pi Zero 2W using the official installation tool. The installation was successful and it runs smoothly. I tried to run npm ...
Duck's user avatar
  • 35.5k
0 votes
0 answers
128 views

LXD/LXC container has no external network access (debian 12)

I am trying to setup an LXC container with communication to external network (ex: debian update servers), but like many many posts online it is not working for me and have tried all of the ...
NewUser's user avatar
  • 81
0 votes
1 answer
16 views

running make on 'alsa.mk' causes make to read every file in directory tree

I'm fairly experienced with C/C++/C# in the Windows environment, but a complete noob wrt Linux and makefiles. I want to contribute to the XCSoar development project (https://github.com/XCSoar), so I'...
user3765883's user avatar
-1 votes
1 answer
45 views

Error trying to execute service in systemd

My system version : Linux 6.2.15-lux-amd64 #2 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux (debian based system) I'm basically trying to create a service to execute my python app on starting the desktop,so ...
caio maxximus's user avatar
-2 votes
1 answer
63 views

certbot d'ont works correctly

certbot certonly --webroot -w /var/www/html/ -d mrcoudreau.fr -d www.mrcoudreau.fr An unexpected error occurred: requests.exceptions.SSLError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', ...
ArnaudG's user avatar
  • 21
0 votes
1 answer
54 views

How to define the target (apt install -t") of a built package to distinguish when with the same name

I am working on a cmake project where we create a .deb package with cpack containing a C++ library. The goal is to have a pipeline running at the main branch which generates the package and places it ...
João P.'s user avatar
0 votes
1 answer
651 views

How to install pipenv in "externally managed environment"

I want to use pipenv for managing my virtual Python environments. In a freshly built Debian (on RPi4B): % pip install pipenv fails with error: externally-managed-environment × This environment ...
fearless_fool's user avatar
0 votes
0 answers
92 views

Netfilter - segfault in libnftables.so.1.0.0

When launching nftable (with additional confs managed by puppet), I get a segfault: # /usr/sbin/nft -I /etc/nftables/puppet -f /etc/nftables.conf Segmentation fault dmesg / kern.log are full of ...
Maze's user avatar
  • 21
0 votes
0 answers
31 views

Best way of installing pyjexl Python package in Debian systems (without using virtual environment) [duplicate]

I'm implementing JEXL language in a C++ software named Orion Context Broker. As far as I know, there isn't direct support of JEXL in C/C++ so I'm using pyjexl Python module. Thus, I'm running a Python ...
fgalan's user avatar
  • 12k
0 votes
0 answers
35 views

Could not start a new session. Response code 500. Message: unknown error: cannot find Chrome binary

I am trying to run my application on Debian server. I installed chrome version Google Chrome 121.0.6167.139 to debian. When ı run application on Azure Devops, ı took this error "Could not start a ...
Mehmet Usta's user avatar
0 votes
0 answers
68 views

Issue with building debian package from a gradle build

When running a gradlew clean build I should output 2 .deb files one for my main service and one to handle db-migrations. When running the build I get both files but the db-migration .deb file is ...
Evan Scott's user avatar
0 votes
0 answers
167 views

Tkinter not working on Debian 12 Bookworm, Python 3.11.5

As the title states, I can't get tkinter code running. I get the error: No module named '_tkinter' import _tkinter # If this fails your Python may not be configured for Tk I'm running Debian 12 ...
LoveMeSomeCode's user avatar
0 votes
1 answer
65 views

How can "named" service listen on port 53 without being privileged? [closed]

I launched named service with unprivileged account on my debian with: useradd named chown -R named:named /etc/bind/ named -u named which is supported and it works. But i started to wonder how can ...
Eryk Perzewski's user avatar
0 votes
0 answers
39 views

Change Terminal Font in Coder

I am using Coder to host a Debian installation, and I would like to change the terminal font to UbuntuMono from Nerd Fonts. I've downloaded and installed the font, as confirmed by running fc-list: [......
NotGene's user avatar
  • 55
0 votes
2 answers
62 views

Rename multiple files by prefix taken from folder names, bash

I have a sequence of folders containing mp4 files (one mp4 in one folder). Folders are numbered sequentially like this example: .. .. 18. Lesson 18 - Sketching a design to cut out 19. Lesson 19 - How ...
Lexx Luxx's user avatar
  • 255
0 votes
0 answers
40 views

How i can build my project using arm-linux-gnueabi-g++ for AArch32 with glibc 2.17

How i can build my project using arm-linux-gnueabi-g++ for AArch32 with glibc 2.17? On debian x64. I tried crosstool-ng but this not have old glibc versions. I tired compile glibc 2.18 but compiler ...
mtis1's user avatar
  • 1
0 votes
0 answers
36 views

send email C++ libcurl SMTPS

I'm trying to write a simple C++ code that sends an email to another address with libcurl. I wrote this, which compiles correctly, but I run it and get the message: Error: Problem with the local SSL ...
Berico's user avatar
  • 1
0 votes
0 answers
27 views

Added a new module named TMP under the dlls directory in the Wine

Based on wine9.0 and debian11 / OpenGL renderer string: NVDIA GeForce GT 730/PCIe/SSE2. I have added a new module named TMP under the dlls directory in the Wine source code. The compilation and ...
Wenchao Xuan's user avatar
-2 votes
1 answer
86 views

DockerFile PHP8.1 Debian SQL Server

I had some trouble with my DockerFile, I have to create a docker image with php8.1, Linux and SQL Server. I made the following Docker, but I can´t make a connection to my DB, for example if I want to ...
Ignacio Labra Garcia's user avatar
-1 votes
1 answer
34 views

singularity build cannot install build-essentials

I am trying to build a singularity container (recipe file at the end of this post) and it is not able to install build-essentials. Execution fails with: E: Unable to locate package build-essentials ...
Targon's user avatar
  • 161
0 votes
2 answers
880 views

Pycoral: but it is not going to be installed

When trying to install pycoral, I get this error: ~$ sudo apt-get install python3-pycoral Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages ...
user248979's user avatar
1 vote
0 answers
516 views

Prisma Client could not locate the Query Engine for runtime debian-openssl-3.0.x

The Prisma client works on localhost but not on the production server. How to fix this error? I'm using Webpack and GitLab Runner for deployment. I tried to some other ways but it doesn't fix the ...
Jagaa's user avatar
  • 571
1 vote
1 answer
138 views

cron script not running with root crontab

I am testing a cron script in my server (Debian 12). Testing a very simple test script that echo a line in a file: If I use crontab -e, scripts runs fine with my user. The actual script will need to ...
gbos's user avatar
  • 560
0 votes
0 answers
62 views

How to Install nginx-extras for mainline version?

At the Nginx website, there is a way to install the mainline Nginx version instead of the default OS version, but I did not see any info about nginx-extras. And if you install the mainline version, ...
doraemon's user avatar
  • 376
0 votes
0 answers
67 views

Debian packaged python does not latest scikit-learn

My python program depends on scikit-learn - when I run this on ubuntu I get an an error sklearn/base.py:299: UserWarning: Trying to unpickle estimator MultinomialNB from version 1.3.0 when using ...
anish's user avatar
  • 317
0 votes
0 answers
57 views

upgrade artifactory to 7.71.11 from: 7.63.14 failed

I tried to upgrade Artifactory to 7.71.11 from: 7.63.14 on Debian 11 and running it on LXC container on proxmox, upgrade process passed successfully and the service started but cannot login to the ...
Khaled Hussein's user avatar
1 vote
1 answer
74 views

Emacs build & install without emacsclient

When installing Emacs from source, I run ./configure which generates some Makefiles, which in turn install Emacs along with emacsclient and a daemon(?) after running make install. Is there a way to ...
Tariel's user avatar
  • 85
0 votes
1 answer
389 views

Illegal Instruction" Error Running ollama on Debian 12 (bookworm) x86_64 [closed]

Body I'm encountering an "Illegal Instruction" error when trying to run the ollama program on my Debian 12 (bookworm) system with an x86_64 architecture. This issue occurs both as a regular ...
Carlos's user avatar
  • 11
0 votes
2 answers
149 views

ghostscript executable search path (with graphicsmagick)

Ealier I had both ghostscript and graphicsmagick installed via apt install ..., but to support the latest versions I decided to uninstall and instead build and install from source Before everything ...
clarkk's user avatar
  • 27.2k
0 votes
0 answers
74 views

Run a ssh -> rsync-command from bash script and wait until rsync ended

I need a little help with my bash script, where I want to ssh on a remote server and execute a script with multiple rsync commands. My current script looks like this (after some pre-check for day and ...
Dominik82's user avatar
0 votes
2 answers
239 views

Trouble Installing docker-compose on debian 12

Right now I'm trying to install plex and docker into my debian GNU 12 VM I'm following from this guide: https://www.smarthomebeginner.com/docker-media-server-2022/ it says that the host OS needs to be ...
Dynamic Orchid's user avatar