Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [debian]

Questions specific to the Debian official distribution (stable, testing, or unstable); if you are using a derivative of Debian (e.g. Mint, Ubuntu, Kali, etc), then use that distribution’s tag instead.

4
votes
1answer
60 views

Use rsync to clone one server to another?

I have two Debian 9 servers, server A and Server B. Server A is a LAMP stack server. Server A is slow. Server B is fast. I want to clone server A to server B without shutting down server A. How do ...
3
votes
1answer
228 views

Debian: apt-get upgrade says “The following packages have been kept back” for various mariadb packages

I am running Debian 9 (stretch) and have just tried to run apt-get update and apt-get upgrade in order to update my (test) webserver as part of regular maintenance. apt-get upgrade says: The ...
2
votes
1answer
35 views

How to write a command for hotkey that launch or restore minimized window

How to write a command that would launch an application or if it was already running, would restore the minimized window?
-1
votes
0answers
19 views

Access denied when accessing samba shares via a network drive in Windows 7 and 10

I have a Debian Stretch server setup for a few years now, with samba install with shares configured the shares are accessible from both windows 7 and 10 computers when using the network paths directly....
2
votes
1answer
27 views

How to suppress rsyslogd HUPed messages from logcheck?

Getting these... Jan 7 06:25:01 debian liblogging-stdlog: [origin software="rsyslogd" swVersion="8.24.0" x-pid="551" x-info="http://www.rsyslog.com"] rsyslogd was HUPed Debian default logcheck ...
4
votes
2answers
330 views

Cron is trying (and failing) to open env file: /etc/environment

I'm using Devuan ASCII (which is more or less Debian 9, Stretch). Now, my /var/log/auth.log has a bunch of these entries: Jan 6 09:45:01 mybox CRON[20951]: pam_env(cron:session): Unable to open env ...
1
vote
1answer
22 views

Why is one of my mount units missing `Before=local-fs.target`?

$ systemctl show -p Before /home/.shared-separate Before=umount.target $ systemctl show -p Before /data Before=umount.target local-fs.target Why is the mount unit for /home/.shared-separate missing ...
-1
votes
1answer
62 views

Debian 9 and UEFI

I have installed Debian Stretch (9.6) on UEFI-based platform Everything went fine, but I cannot... boot to the system. After the GRUB2 starts the image all I get is: Loading Linux 4.9.0-8-amd64 ...
1
vote
2answers
60 views

Why updates overwrites Vim that built from source?

I build Vim from source, and install it with checkinstall. Soon after Software&Updates warned there is an update for Vim. But after the installation, Vim path is altered and another build take its ...
1
vote
1answer
30 views

logcheck sending smbd: pam_unix(samba:session): session opened/closed messages

Fresh Debian install. Samba standalone server. logcheck installed. Getting lots of these messages via emails, how to suppress any idea? Thanks a lot in advance. Jan 6 02:04:05 debian smbd: ...
0
votes
1answer
37 views

Usage of nc with timeouts in ms

I'm using nc in a Debian environment: # dpkg -l | grep netcat ii netcat-traditional 1.10-41+b1 # cat /etc/debian_version 9.4 Its help page describe the behavior of the -w flag: -...
0
votes
0answers
12 views

Unable to find any visible networks in Kali Linux (VirtualBox). Tried multiple solutions. How do I solve this? [duplicate]

I have Kali Linux installed from offensive security site. The virtualbox image was downloaded. It initially said that no wireless adapter found. I used compact-wireless-2010-06-26 to solve that. Now, ...
0
votes
0answers
23 views

mmc0 warning on SD card bootup of linux

I get the following warning on debian linux (kernel 4.18.8) bootup of my microchip sama5d3 board: mmc0: unrecognised SCR structure version 4 mmc0: error -22 whilst initialising SD card after spewing ...
1
vote
1answer
54 views

Partition alignment 8 TB seagate Ironwolf

I have a Seagate disk that I am trying to get partition aligned. I've tried this command in parted: sudo parted /dev/sda mklabel gpt sudo parted -a opt /dev/sda mkpart primary ext4 0% 100% Get this ...
0
votes
0answers
54 views

Add Prime OS (Android_x86_x64) to grub menu

I have debian dual boot with windows and try to install prime os also, while install it i didn't install it's grub because i have debian grub, but after installation i can't found it in grub . ...
0
votes
0answers
24 views

How to resolve “Unable to correct problems, you have held broken packages” error in Debian 9?

I am trying to install software-properties-common on my Debian 9. But i get the error which states The following packages have unmet dependencies: software-properties-common : Depends: python3-...
0
votes
0answers
17 views

ACL permissions / group not getting permissions

I am trying to get ACL permissions to work the easy way by allowing groups specific access on files and folders. However my system is ignoring group permissions entirely. My setup: Debian 8 user ...
1
vote
1answer
70 views

Client based routing on a gateway

I have a network gateway (Debian) with two interfaces: eth0 and tun0. In general all traffic from all clients is routed through tun0. I would like to change that in the following way: client a‘s ...
1
vote
1answer
22 views

Can I add a directory as prefix for my configuration files in Nginx?

I have a development environment with a simple Debian image whilst I also use a Jetware EC2 optimised Debian image for my staging environment. The Jetware filesystem is mounted under the /jet, hence ...
0
votes
0answers
35 views

“make xconfig” raises a Qt error

When I call make xconfig in my linux kernel source directory, I get the following error scripts/kconfig/qconf Kconfig Gtk-Message: Failed to load module "canberra-gtk-module" Qt: Session management ...
0
votes
1answer
17 views

How can I avoid that the configuration of the provided debian image for beagle bone black will hinder load of gadget drivers?

I used an given ArchLinux on a BeagleBone Black and used on test environment the gadget drivers(g_printer, g_serial) as I encounter driver problems with some wifi dongles. The drivers where not ...
0
votes
0answers
30 views

Why does my CD drive pop open randomly?

I have Debian 9 and at random times my CD drive pops open. Sometimes it pops open while browsing on Firefox, and sometimes it pops open while I'm just moseying around my desktop. A few times it even ...
2
votes
1answer
28 views

Rsyslog exclude $programname from syslog

I get duplication on a remote rsyslog server: Even though I've configured a catch for clamav logs from mail servers - I still get the logs appearing in syslog # Configuration for Mail ClamAV logs in ...
-1
votes
0answers
46 views

How do I find what Debian version I am using? [duplicate]

I am using Kali Linux 2018.3. I need to install some packages which requires me to know the version of Debian I am using. Is there any command to find that out? Update: By Debian version I meant ...
3
votes
1answer
92 views

Importing keys from keyring.debian.org fail

Updating repositories with apt update fails since the public keys of several signatures are not available. $ sudo apt update Get:1 http://security.debian.org/debian-security stretch/updates InRelease ...
4
votes
2answers
324 views

chown: missing operand after ‘root:users’

I try to change owner to root:users recursively below a directory, if owner is other than root:users. cd /dir/ find . \( ! -user root -o ! -group users \) -print0 | xargs -0 chown -vc root:users I ...
2
votes
1answer
37 views

Problem with dual booting Debian on Windows 10

I don't see an option to boot from my flash drive in advanced startup. I tried to download the bootable file from UNetbootin. I selected the distribution option and selected Debian and ...
1
vote
0answers
26 views

No sound in Debian 9 for most of the start ups of the system (sound card is recognized)

I installed Debian 9 64-bit a couple days ago in a Compaq Presario desktop. Everything was going ok until I found that there was no sound. Initially this was solved with a reboot. Unfortunately in ...
2
votes
1answer
36 views

What does ebtables.service do?

On Fedora, the firewalld package requires ebtables. Installing firewalld on Debian also installs ebtables by default, although it is a recommendation and not a hard requirement. Fedora does not ...
1
vote
1answer
112 views

What parts of Debian base install requires python2, python3, perl, bluetooth?

I was looking to set up a small server installation and did the most minimal Debian 9.6 install the installer would let me do. This install has stuff like Python2, Python3, Perl, bluetooth, Wi-Fi, ...
2
votes
2answers
36 views

USB drive with configured Debian

Is there a way where I could install needed apps on Debian, configure it and save this image to the USB stick so that I could easily and fast install my desired environment any time on any machine?
0
votes
1answer
55 views

Dell Latitude 5590 SD Card reader is not recognized

I have a DELL Latitude 5590 Notebook with Debian 9 and kernel version 4.20.0 installed. Unfortunately the onboard sd card reader does not work. The reader is following model: Realtek Semiconductor ...
0
votes
0answers
18 views

Artefact on top-left corner of the screen while logging into console

After some update (probably xorg) of my Debian testing, when I log in to console I have the following artefact on my top-left corner: It is also visible when logging into GNOME 3. How do I fix this?
2
votes
0answers
38 views

Screen brightness on X220 with Fn keys does not work below some threshold

I have a Thinkpad X220 and am running Debian 9 stable with kernel Linux version 4.9.0-8-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9....
3
votes
1answer
180 views

How to automatically permanently ban IP addresses?

Currently I have been using iptables on a new Debian server running Asterisk. Every day I have been checking auth.log for IP addresses and manually doing iptables -A INPUT -s IPA.DRE.SS.0/24 -j DROP ...
-1
votes
1answer
57 views

Installation of debian file [closed]

I have a set of dll files and I converted those into zip file and made it as .deb file, now I want to install this file in ubuntu. How to install this?
1
vote
1answer
20 views

Missing packages and repos setting up webmin on VPS

I'm just trying to set up webmin as the first thing on a new VPS, I'm familiar with Ubuntu (it's my main work machine). This is what's on the VPS Description: Debian GNU/Linux 8.5 (jessie) ...
2
votes
0answers
54 views

Idle timeout for NFS share mounted with systemd automount

What I want to do? I want to configure my /etc/fstab so that my NFS share was: mounted automatically when accessed (auto-mount on-demand), unmounted automatically after specified idle timeout (x-...
1
vote
0answers
50 views

Cannot install Deepin 15.8 on SSD

I tried to install Deepin 15.8 on my 120GB WD SSD but after installation, every time I try to boot it, it gives me this: error: attempt to read or write outside of disk hd0 error: please load kernel ...
1
vote
1answer
33 views

Create a service with a custom command to check status with systemd

I have a script that sets some iptables rules (/bin/myrules). I start it with systemd using this unit file myrules.service: [Unit] Description=My Rules [Service] Type=oneshot ExecStart=/sbin/...
2
votes
2answers
128 views

How to enable or disable Apache modules in a distro-agnostic way?

I usually work with Debian/Ubuntu as a basis for Apache and recently learned that commands like a2enmod MOD or a2dismod MOD are Debian-specific. Is there a global / distro-agnostic way (maybe with ...
0
votes
1answer
25 views

Microsoft's Windows kills Debian grub after each start

I’m experiencing a trouble with my dual-boot windows and Debian ASUS PC. Everything worked fine until a weeks ago when I entered into MS-windows after some months that I didn’t. The PC then booted ...
0
votes
1answer
47 views

How to use free space on USB flash drive after 'dd' of debian installer?

I have an 32GiB USB flash drive. I wrote Debian Live image to USB flash drive by "dd". Now on USB flash drive 27 GiB free space. I want to use this free space.
0
votes
0answers
18 views

How do you open KVM or Whonix Gateway/Workstation in debian 9 command line?

I can start Whonix-Gateway using this command: virsh start Whonix-Gateway However, I cannot open it from the command line. How would I do that without using GUI? Further how does one open the KVM ...
0
votes
0answers
53 views

Trouble installing fuse on Debian stretch Docker image [closed]

I am attempting to fuse a dir in a Docker image using gcsfuse. I am using a Debian stretch image, and having trouble working with the fuse package. I have attempted to install fuse both via apt-get ...
2
votes
1answer
118 views

What is the “official” way to install LPD without CUPS?

I'd like to install LPD (Line Printer Daemon) without installing a full CUPS. LPD alone is much-much-much smaller than CUPS. It's for Raspbian (Debian on Raspberry). In Debian, 2 equivalent packages ...
3
votes
1answer
56 views

Debian 8 Jessie errors on all MariaDB mirrors : Signature by key 199369E5404BD5FC7D2FE43BCBCB082A1BB943DB uses weak digest algorithm (SHA1)

I've inadvertently stepped into "update hell". I updated a number of dependencies trying to install the Gerbera media server. In the process several existing services stopped running, including ...
2
votes
0answers
20 views

fq_codel not working on saturated link?

I'm setting up a test to saturate a link between two machines with a gig router in between them, then run fq_codel on Debian Buster and see if my ping times can improve (what I think fq_codel is ...
0
votes
3answers
45 views

Bash: shell script create variables? [duplicate]

I'm trying to have a bash script create a variable and have the variable persist in the terminal until the terminal closes (not permanently). I thought export was what I needed but it didn't work. #!/...
0
votes
0answers
49 views

How can I use “Ctrl” key as both mod key and for regular tasks like ^A, ^C, ^V, ^L etc. in i3 WM?

I recently installed i3 WM in my Debian-based Linux distribution and it is really good. On the first start of i3 WM, I configured Mod key as Windows key and after some time I changed it toAlt. But ...