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.
10,212
questions
-3
votes
1
answer
24
views
How Can I check linux distribution of my server in terminal? [closed]
I am trying to check which linux distribution is my server is running on. I tried some commands like lsb_release -d but no luck
lsb_release -d in terminal but saying command not found
/etc/*-release ...
0
votes
1
answer
21
views
Can't remove Docker Volume
I trying to remove a docker volume but i've go "It is still mounted" error.. (i use the Convoy plugin)
I don't have any docker container on the server, i removed all of theme,
docker ps -a ...
0
votes
0
answers
21
views
PhpMyAdmin often (but not always) fails with "Error (rejected): It seems that the connection to server has been lost"
I have a fresh install of a Debian 11 server with the full LAMP set:
Server: Localhost via UNIX socket (no SSL)
Server type: MariaDB 10.5.19-MariaDB-0+deb11u2
Apache/2.4.56 (Debian)
Database client ...
0
votes
0
answers
8
views
How to build Memgraph for ARM on Debian?
I want to build Memgraph for ARM on Debian. I see that the documentation has been revamped and that there is a whole new section about installing using Docker but I can't find info on building in docs ...
-2
votes
0
answers
68
views
'bits/c++config.h' file not found with clang
so, this is the CPPFLAGS that clang++ gets
-g3 -ldl -std=c++11 -I utils/ -I.. -I /usr/include/x86x_64-linux-gnu/c++/12/32 -Wno-everything
this is the error that clang++ generated with -v (with some ...
0
votes
0
answers
6
views
How to Open Private Webpages on a Bitnami Lightsail Instance via SSH
I have a Bitnami Lightsail instance on AWS with Debian OS, where I have successfully installed the Google Chrome browser. My goal is to create a web application similar to Facebook or WhatsApp Web, ...
0
votes
0
answers
8
views
How to configure multiple Screens with Xorg on Debian
Im using Debian with Xorg, there are two Monitors connected to the system.
The goal is to have two Displays/Screens with one monitor assigned to each of them.
This is the content of the xorg.conf file:...
0
votes
1
answer
17
views
How can I install glibc in raspberry pi 3 model B+?
I'm trying to cross compile with Debian 12(host) and a raspberry pi(target). When I run the configuration of a file on Eclipse on host with SSH to the pi, I get an error message of GLIBC 2.34 not ...
0
votes
0
answers
72
views
Debian 12 (bookworm) how to get the security repositories list from sources.list
We have a python script that does the following:
Runs on ubuntu/debian VMs to get the repos that has 'security' string in them and stores these lines in a new file (say /home/user/security.list)
Uses ...
0
votes
0
answers
21
views
Show me a simple example of how a COM object works for LibreOffice
I have Debian 11 and LibreOffice installed on my computer. I need to create a file for LibreOfficeCalc with one sheet and the number "42" in cell B2. This must be done using the LibreOffice ...
0
votes
0
answers
11
views
MD5 Error while installing package libc6:i386 on Crostini
I'm trying to install the libc6:i386 library (for a multitude of reasons) on my Chromebook, but when I try to install, I get the following error(s):
dpkg: error processing archive /var/cache/apt/...
-1
votes
0
answers
16
views
Debian keeps closing my tabs with Ctrl + W key [closed]
Since I've installed Debian 12 with GNOME environment on my laptop. At random times, it starts to kind of glitch and Google Chrome or other apps using the Ctrl + W shortcut are closing. I am not ...
1
vote
1
answer
21
views
.deb packaged python wheel files differ from the unpackaged ones?
I have to pack Python wheels into .deb, and for that I use simple debian/rules:
%:
dh $@
And I have a pipdebs.install file:
#!/usr/bin/dh-exec
../external/python3.10/wheels /usr/lib/python3.10/....
-1
votes
0
answers
17
views
apt update command does not work on debian [closed]
I'm trying to upgrade my debian from 9.13 to 11, when I tried to execute apt update cmd, I got this error :
enter image description here
my sources.list file :
enter image description here
could you ...
-1
votes
0
answers
15
views
vim error on "catppuccin.lib.vim.compiler"
erorr on openning vim in debian trixie testing
i know i just can uninstall catppuccin plugin but it would be nice to know the reason and if i want to fix it how should i do it
do i need to know luna?
$...
0
votes
0
answers
19
views
Python3 package distribution as .deb using PyPi dependencies?
When I build Python package into .deb to distribute, I have always been using setuptools and in my debian/control file I had following:
Package: myproject
Architecture: all
Depends: ${misc:Depends}, ${...
-1
votes
0
answers
21
views
Images download cache with wget and curl
If I download an image from a web server every minute from a shell script in a loop with wget or curl on Debian, I get the same image for about 5 minutes. While the picture on the website itself is ...
-1
votes
0
answers
32
views
Cloud-init doesn't configure Netplan network in Proxmox with Debian12 [closed]
We were using Debian11 for our VM in Proxmox and we always used cloud-init to configure Netplan.
We are trying to create a new base VM using Debian12 but something doesn't work.
We are using networkd, ...
-1
votes
1
answer
31
views
how can I fix -bash: ld: command not found issue [closed]
Solution? turns out I just had to turn it off and on again. added the ? because I still don't know what the problem was
I am on WSL and using debian. I am in the working directory with the file I am ...
0
votes
0
answers
15
views
I can not use the import command not found [duplicate]
i need to import csv for a python program on debian but whenever i try the command import csv i get the error bash: import: command not found
I have python 3.9 installed so i'm lost as to what to do. ...
-4
votes
0
answers
38
views
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 73.4 GiB for an array with shape (4806656, 2050) and data type float64
My problem:
I am running a task on Apache airflow and got the above mentioned error. I have an Windows system and Airflow is installed on docker.
What I tried:
From what I searched from web, a ...
0
votes
0
answers
21
views
hdparm.conf spindown settings are not applied when Proxmox reboot
I've installed a new homelab server with Proxmox 8.0.4 that has a few SSDs and 4 HDDs(zfs raidz).
As the HDDs are primarily used for backups and data that's sporadically accessed I want the HDDs to ...
-1
votes
0
answers
56
views
"Connection Failed: br-connection-profile-unavailable" this error is occuring while connecting the bluetooth headset to my Debian based linux machine [closed]
I figured out a solution after a lot of scrapping and research so you dont have to.
here is the solution
install libspa-2.0-bluetooth module
sudo apt install libspa-0.2-bluetooth
restart your ...
0
votes
0
answers
8
views
Getting a link to an OWNCLOUD file with the file name
I have downloaded the debian12 apache php7.4 mariaDB config, I have deployed Owncloud, I want to use files uploaded to the cloud for external forms, I need to get links to files containing the file ...
0
votes
0
answers
23
views
Debian 9/stretch moved to archive.debian.org how to update this [closed]
I faced some problems in my sourcelist.How to update these?
-1
votes
0
answers
7
views
PhpMyAdmin, Php8.2 and Debian GNU/Linux 12 [duplicate]
I have tried to instsall the latetst version of PhpMyadmin (phpMyAdmin-5.2.1-all-languages)
with Php8.2 and Debian 12 Linux
When I open the site I get error:
phpMyAdmin - Error The mysqli extension is ...
-1
votes
0
answers
25
views
Can't run isc-dhcp-server
When using apt install isc-dhcp-server on Debian 12, an error occurs when it is automatically run after installation.
root@debian:~# systemctl status isc-dhcp-server.service
x isc-dhcp-server.service -...
0
votes
1
answer
52
views
Set up sqlsrv_connect() function to work correctly?
just gonna switch to PDO, use this as reference
I'm running Microsoft SQL Server 2022 on q4os 5.2 based on Debian 12 and I'm trying to connect to it with this code
function OpenConnection() {
$...
-1
votes
1
answer
42
views
Debian issue with docker [duplicate]
I am trying to create a simple pdf text extractor using ocr but i am not able to.
i think the issue is that the debian server is down or something along those lines.
this is the Dockerfile::
# ...
2
votes
0
answers
43
views
Neovim does not recognize Python modules installed in a virtual environment
I am using the AstroNvim configuration with pyright and pylint installed via Mason. Neovim doesn't recognize the imported modules installed via pip in a virtual environment, but it executes just fine.
...
-1
votes
0
answers
11
views
Mount an NVME disk that is passed-through to a VM
I have an NVME M.2 disk that i pass through to a Qemu VM. Mounting that NVME disk from the host gives me the following error:
wrong fs type, bad option, bad superblock on /dev/nvme0n1...
Is it ...
-1
votes
1
answer
26
views
Trouble Installing GCC on Debian Linux Distribution in Dockerfile
I'm currently encountering difficulties while attempting to install the GCC compiler in a Dockerfile specifically when targeting the Debian Linux distribution. Here's the section of my Dockerfile in ...
0
votes
0
answers
9
views
plink redirect to log is missing pv progress [duplicate]
I'm using plink from a Windows Workstation to ssh to a Debian OS device and Compress a folder showing progress using pv. The progress bar is working and I can see it if using putty, but I need the ...
0
votes
2
answers
16
views
WP plugin install complain can't create directory: Directory Permission is set to 775
I have a nginx installation on an AWS server with Debian 12, I have setup the server to run as nginx group and with nginx user.
However, when I tried to install plugin from the dashboard, it keeps ...
1
vote
1
answer
41
views
Ansible apt-command failed with given virtual package
In my Ansible role I try to update the PHP version of all installed PHP packages. For this reason I read out all installed PHP packages into a list, manipulate the version number in every element in ...
0
votes
1
answer
27
views
www-data user cant access node inside of docker container terminal
I installed node and npm using nvm in my Dockerfile when running the build method everything runs smoothly with no problems going inside of my docker container terminal though and trying to access ...
0
votes
0
answers
23
views
hsqldb sqltool.jar with sqltool?rc fille connects but a \j command does not worrk
I want to connect to a new hsqldb database with the sqltool.jar. I have read and tried commands from the chapter 16 of the hsqldb guide. and this question text
My config is the following:
classpah set ...
0
votes
2
answers
18
views
debian df -h vs du -hs, unable to find taken space
I have a partition which is almost filled up (/)
df -h
Filesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
tmpfs 6.3G 675M 5.6G 11% /run
/dev/md2 ...
0
votes
0
answers
43
views
How to make startx use the full screen on the beaglebone black?
I have a Beagle Bone Black Rev C running with this OS (output from startx):
Build Operating System: Linux 5.10.0-21-arm64 armv8l Debian
Current Operating System: Linux beaglebone 4.19.94-ti-r74 #...
0
votes
1
answer
41
views
ZIP archive with a directory with cyrillic characters displays bad encoding
I archive the directory recursively using this command
zip -r /directory/*
I open the archive using the archive manager and see that the name of the directory is like this
logs_2023-09-05T13-07-15Z_\...
-1
votes
1
answer
22
views
Broken apt package: apt --fix-broken install fails, can't create symbolic link in /usr/lib
I have a Debian 10 server where I can't update apt packages any more because of dependency issues:
# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information....
0
votes
0
answers
18
views
How to install mongo legacy shell in MongoDB 6.0
The legacy mongo shell has been removed in MongoDB 6.0. Following the official Debian installation procedure for 6.0, it is not intalled (in favour of the new mongosh shell).
However, due to some ...
1
vote
0
answers
27
views
How to run VSCode as root on WSL 2 without changing the default user?
I want to use VSCode with WSL extension (installed natively in Windows 10) as the editor for sudoedit and visudo commands of WSL 2 Debian 12 distro (which runs on the same phisical machine).
To ...
0
votes
1
answer
50
views
GCC cannot find existing library
I am trying to write a small web application in C, which connects to PostgreSQL using libpq.
I installed libpq on Debian 13, and have used the following Makefile to build the source code:
CC = gcc
...
0
votes
0
answers
31
views
Having trouble creating a debian debug package
We have a fairly large project that consists of files in multiple git repositories that is built for multiple platforms. For each platform and repo, a build is run, and the output goes into a common ...
1
vote
1
answer
106
views
How to install Jupyter Lab on Debian 12 bookworm?
In Debian 11 I had installed jupyter lab with pip in my user directory, but on Debian 12 this is not possible anymore since Debian decided to follow pep-668 and python packages are marked as ...
0
votes
1
answer
60
views
Building with libc++ and gcc: -Wmaybe-uninitalized
I am running a build with gcc and libc++ (llvm). Since update to debian bookworm I get:
/usr/lib/llvm-14/include/c++/v1/regex:1384:8: warning: ‘<unnamed>.std::__1::__state<char>::...
0
votes
0
answers
29
views
Passing '%?' to script from zsh prompt
The issue
I am creating a zsh config.
The config has a theme file that defines a prompt:
# File: $ZSH/custom/themes/alex.zsh-theme
blue='#000DFF'
orange='#FFA200'
PROMPT='
%F{cyan}┬─┬─%f\
%F{$blue}[%...
0
votes
0
answers
19
views
Tesseract 5 on debian shows text plus gibberish on debian 11
i have installed latest peppermint os based on debian 12 but this version has tesseract 5 and it gives output together with some jibberish text. Actually the empty spaces between paragraphs and lines ...
0
votes
0
answers
12
views
Recovering from Tarball in /usr/bin missing Software
I've been backing up a Debian system for some time and had a new system installation recently.
The command for a tarball goes something along the lines of
sudo tar -cvpzf "filename.tar.gz" &...