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.
9,659
questions
1
vote
1
answer
56
views
Why does calling system() without including stdlib.h still work?
The only library I've included in my C program is stdio.h. Calling system() within that very same program works anyway, though Eclipse complains about an implicit declaration of function ‘system’ [-...
0
votes
1
answer
22
views
Installing debian packages in Yocto with a recipe
I am making an operating system with Yocto. I created new meta, new layer, new recipe and new machine. It was working fine until I tried to include packages already compiled for debian. Normally, I ...
0
votes
0
answers
7
views
Docker Nginx reverse proxy and WordPress multisite
first sorry if it is not the appropriate place to post this. I am really new to Docker and my need is to have on a Debian server, a multisite with WordPress using the reverse proxy on Nginx, but I ...
0
votes
0
answers
6
views
arabic-tts install on Debian 11
I just installed arabic-tts from github site to Debian 11 stable and here the result :
@:~/arabic-tts$ ./tts.sh -i 'السَّلَامُ عَلَيْكُمْ' -o output.wav -v asc_festvox
Warning: det <= 0. Using ...
0
votes
0
answers
8
views
How to disable a file changing while "dpkg -i a.deb" where a.deb includes this file ? How to disable removing a.deb?
1.In rpm, we can edit /etc/rpm/files to keep some system file to guard
against changing from other installing rpms.
2.In rpm, we can edit /etc/rpm/pkgs to disable removing some critical rpms.
3.In rpm,...
0
votes
1
answer
24
views
docker-compose stop working after Docker Desktop installation on Debian 11
I installed Docker Desktop for Linux on my Debian 11 machine.
After the installation, I'm not able to use docker-compose or laravel sail.
The error is:
ERROR: Couldn't connect to Docker daemon at http+...
0
votes
0
answers
20
views
Vscode my cursor turn into overtype everytime when i did ctrl + c
i got error when im did ctrl+c and it become like this
and its so annoying that i need to click Ins button to get it back that look like normal. something like this.
try to search at my keyboard ...
1
vote
0
answers
11
views
How to reload let's encrypt in nginx
I'm using Let's encrypt to generate https certificate. This certificate is for 3 months.
The certificate is specified in Nginx:
listen [::]:443 ssl ipv6only=on;
listen 443 ssl;
ssl_certificate /etc/...
-2
votes
0
answers
13
views
packet needed to compile chromium amd64
uname -a
Linux MilczarskiVon 4.9.0-18-amd64 #1 SMP Debian 4.9.303-1 (2022-03-07) x86_64 GNU/Linux
MilczarskiVon:~$ lsb_release -d
Description: Debian GNU/Linux 9.13 (stretch)
lsb_release -c
...
0
votes
0
answers
15
views
AttributeError: 'module' object has no attribute 'QRcode'
For some reason I get AttributeError.
My code in Genie is:
import qrcode
import cv2
qr = qrcode.QRCode()
text=raw_input("Insert text to generate: ")
qr.add_data(text)
qr.make()
img = qr....
0
votes
1
answer
31
views
Install Nvidia-driver with ppa:graphics-drivers/ppa met 404 error [closed]
I am trying to install older nvidia-driver version on Ubuntu (Macbook) for dual graphic card GeForce GT 650M
GK107M [GeForce GT 650M Mac Edition]
However, I walked through some posts on the website ...
0
votes
0
answers
7
views
Debian packaging: Which targets will be executed by the default rules file
I have a rule file as follows:
#!/usr/bin/make -f
%:
dh $@ --with systemd
override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info -l$(shell pwd)/build/cli/target/...
1
vote
0
answers
14
views
Installing Tor from repo on debian [closed]
I'd like to install the current version of tor 0.4.7.7 on a server. I followed the instructions here: https://support.torproject.org/apt/tor-deb-repo/
Here is my tor.list
deb [signed-by=/usr/share/...
-1
votes
0
answers
16
views
GNOME desktop hangs for about 2 minutes after logging in [closed]
I recently upgraded my Debian system from Buster to Bullseye and I noticed I now get a blank screen for about 2 minutes after inputting my password. Here are some logs:
Journalctl for that boot + log ...
0
votes
0
answers
12
views
I try to install mysql on debian server but get an error i don't know how to solve
I try to install MySQL on my Debian machine(11.3) but I get an error when I try to install mysql-server. here are the previous commands I had used before.
apt update
apt install gnupg
wget https://dev....
0
votes
0
answers
11
views
pam_cracklib not enforcing difok for root even with enforce_for_root option
I tried enforcing difok=7 for root but can't get it to work. By now I tried every combination and it's just not working. I can't find any information in the manpage about this problem.
Is this normal ...
0
votes
0
answers
19
views
How to use base Python Debian/centor instead of Alpine for Dockerfile
I am trying to create docker container for nginx-ldap-auth. I am new to Docker.
I want Debian equivalent instead of alpine. Made changes as below, I want to verify what's correct.
https://github.com/...
-3
votes
0
answers
13
views
i can not install libsdl2-2.0-0:i386 on debian [closed]
I can not install the package and it gives me this error
where is the problem from ?
I tried many ways but I can not do the installation
root@debian:~# sudo dpkg --add-architecture i386; sudo apt ...
-2
votes
0
answers
11
views
Tpot Honeypot : Attacker Source IP Reputation, Username Tagcloud and Password Tagcloud Display Error
I've installed Tpot Honeypot, all install process i did it good until final result is not my expected when i install Tpot a year ago.
Error Message
Attacker Source IP Reputation
The Attacker Source IP ...
-2
votes
0
answers
30
views
Wireguard client on Raspberry extrem slow, censoring sites [closed]
I've set up a wireguard server on a remote VPS. Using clients on Iphone and Mac works very well. Now trying to run the client on a Raspberry Pi and connect all my devices to the Pi I'm running into ...
-2
votes
0
answers
13
views
HOW TO GET 32BIT ON DEBIAN [closed]
Hi i got Oland Pro and i want to get 32 bit depth resolution on Debian Stretch ...What to do ?
1
vote
2
answers
35
views
Debian, cmake, connot compile c++ program, missing config cmake file
Trying to compile dot11decrypt on debian, installed apt-get install libtins4.0 and apt-get install libtins-dev, but cmake .. can't find package libtins, heres the error:
CMake Error at CMakeLists.txt:...
0
votes
0
answers
8
views
command not in docroot [migrated]
I'm setting up a server but when I'm trying to config suexec it's returning this error
[2022-05-21 17:10:53]: uid: (1004/scripts) gid: (1008/scripts) cmd: register.cgi
[2022-05-21 17:10:53]: command ...
0
votes
0
answers
24
views
Enable bind9 debian [closed]
I have an error like this can you help me
systemctl enable bind9
and the output is
Failed to enable unit: Refusing to operate on alias name or linked unit file: bind9.service
0
votes
1
answer
54
views
Upgrade openssl to resolve DSA-5139-1 for Docker openjdk:17.0-jdk-slim-bullseye
I am using the Debian JDK image in my docker file which introduced a security vulnaribilty DSA-5139-1 [https://snyk.io/test/docker/openjdk%3A17.0-jdk-slim-bullseye]
This is my docker file -
FROM ...
0
votes
0
answers
17
views
Curl, Connection reset by peer in debian:bullseye while on debian:jessie it works
This is curl command I'm using:
curl https://example.com --verbose --insecure
On Debian Jessie all works good and the response code is 200.
On Debian Bullseye it results with:
* Trying 123.12.123.12:...
0
votes
0
answers
25
views
How to rename ALSA devices? [closed]
I have two devices which both have the same ID and name in alsa. I could change the ID with a udev rule but so far haven't had any luck with the device name. Here's the contents of /proc/asound/cards ...
-2
votes
0
answers
38
views
Systemd fails to start Network Time Synchronization [closed]
To fix this I have tried disabling the timesyncd.service by removing the symlink in systemd/system manually since I cannot run systemctl due to the systemd boot failing and being in emergency mode.
...
0
votes
1
answer
12
views
Rotating files with datetime already in the filename
I'm pretty new with the use of logrotate and I haven't find anything yet that helps with my current issue.
My company has a server (Debian) in which we often create cron tasks to handle files uploaded ...
0
votes
0
answers
32
views
Debian 11, add-apt-repository, Warning: apt-key is deprecated, no valid OpenPGP data found [closed]
I'm trying to install geth on a Debian 11 bullseye system:
sudo add-apt-repository -y ppa:ethereum/ethereum
The resulting error is:
gpg: keybox '/tmp/tmp51lh16a6/pubring.gpg' created
gpg: /tmp/...
0
votes
0
answers
10
views
How solve gpg: BAD signature from «Matomo » [unknown]?
build Matomo app.
in local env on my laptop build is ok
used this
dockerfile for Debian
After continue prepare for build in DMZ network ENV: where access to Internet only via
JFrog Artifactory
Create ...
0
votes
0
answers
31
views
New certificate fails - certbot invalid response /.well-known/acme-challenge
I have installed on my raspberry pi apache and wanted to create a new certificate for my domain.
I have created my domain via no-ip and configured the dyndns in the fritzbox settings. I have also ...
0
votes
1
answer
14
views
where can I find mysql-apt-config_0.8.13-1_all.deb.asc
I have issue with install mysql-apt-config_0.8.13-1_all.deb in Debian 9 but I have apt-key issue.
I find that I can use Signature Checking Using GnuPG I find the PGP SIGNATURE but i can't find the ...
0
votes
0
answers
21
views
Is there any difference of CPU Scheduling between debian os and linux os?
I think it's no difference but I am still confused with some docs on Internet so I came here to ask the professional my question. Please help me, I need this because I gonna write it to my reports
...
1
vote
1
answer
23
views
How to run a VM in gcp in the background?
I have a gcp linux VM, very basic question: If I have a simple script like this:
import time
for a in range (0,1000):
print(a)
time.sleep(10)
when I enter the console via ssh in browser ...
0
votes
0
answers
18
views
Building debian packages for all architectures from one package and scanning to repositories to host that packages on apt repo
this is Rakesh,
I have an issue that when I try to dpkg-scanpackages to the repo pool it is saying that 0 packages are scanned.
I generated a Debian package with architecture : all, but when am ...
0
votes
0
answers
15
views
How to make CLion work with subdirectories
I'm currently a student and need to learn C. I'm working on a Debian Virtual Machine using CLion.
To manage my assignments better, I created a github repository to synchronize and store all my C ...
0
votes
0
answers
23
views
Running keyboard module in python is returning weird characters
I am running a python script to capture keyboard input in order to read a bar code reader scanner on a debian 9.0 system, the bar code reader is supposed to work as a usb keyboard.
import keyboard
...
0
votes
0
answers
12
views
pyvirtualdisplay - downloads are stuck as .part file
I have a python-selenium script running on a debian 11 server without any Desktop - thats why i use pyvirtualdisplay. The script has to login to a website and then go to a page on this site that, on ...
-1
votes
0
answers
21
views
How to establish semaphore between two different files and synchronize data
I am currently working on semaphore concepts ,. I Have two files I have to share data between two files
Eg : application1.c
It increments one value and shares the value to shared memory
application2.c
...
0
votes
1
answer
43
views
Version mismatch between V8 binary and snapshot
I have an issue related to v8, now it is unrelated to your docker image but since I have seen you being active in the space I thought you may be able to help
My setup is the following:
Debian 11
php7....
0
votes
0
answers
15
views
Rewrite User Agent in apache2 .conf file on proxy
I am running apache 2.4.38 on a Debian server and would like to be able to rewrite the user-agent within the following .conf file:
<Location /user1>
Redirect 302 /user1 http://www.example.com/...
-1
votes
0
answers
23
views
On Linus, the deprecated Toupcam_Snap method of the libtoupcam.so library
Good afternoon.
The program uses the P/Invoke approach:
[DllImport(dll, ExactSpelling = true, CallingConvention = cc)]
private static extern int Toupcam_Snap(SafeCamHandle h, uint nResolutionIndex);
...
0
votes
0
answers
60
views
Robot Framework Browser library not working with Debian Docker Image
So I have a Debian Docker Image. And I am using the below commands:
For Installation(v 12.3.0)
pip install robotframework-browser
For Initializing
rfbrowser init
Now When I am running my tests in ...
0
votes
1
answer
10
views
MySQL DUMP Extra caracters when execute shell scrip
I want to do a cron that will run SH script to dump mysql table.
But I notice that when I run the script, there are extra caracters on file or directorie created.
I want to create every day a ...
0
votes
1
answer
21
views
wget in script not working when called from cron
I've read a load of similar cases and can't for the life of me figure this one out...
I'm running a wget command inside a .sh script which is called from cron on reboot as follows:
@reboot /home/user/...
0
votes
0
answers
28
views
Trying to install TA-lib
I'm using gcp debian VM, and trying to install the module TA-lib doing this (with the tar already downloaded):
$ tar -xzf ta-lib-0.4.0-src.tar.gz
$ cd ta-lib/
$ ./configure --prefix=/usr DOING THIS I ...
0
votes
0
answers
13
views
How is it possible to connect two apache servers with the same domain name on debian?
I would like to know if it is possible to connect two web servers on the same domain name, or if it is necessary to make sub-domains
0
votes
0
answers
15
views
pgAdmin4 web "Utility Not Found"
I'm running pgadmin4 on Apache Web Server and i'm having this problem when i'm trying to import/export data from a CSV uploaded to the Storage Manager.
Storage Manager works, can upload and download.
...
0
votes
0
answers
29
views
why wxScreenDC get black screen
Does anyone know why wxScreenDC only get black screen when Blit to a wxMemoryDC.
I'm using Debian system with wxWidgets v3.1.5(or v3.1.6)
Same code, replace wxScreenDC with wxWindowDC everything go ...