debian

Write image to current root-partition

Write image to current root-partition I’m currently playing with building disk images (based on Debian) for a raspberry-like computer. My current workflow looks like: create disk image (about 16GB uncompressed; or 3GB compressed) power-down the target system eject the SDcard on the target system insert the SDcard into the build computer dd the image onto …

Total answers: 3

Light program (mini MTA?) for system mail (only sending/relay via external server with unattended-upgrades, cron, smartmontools, etc.)

Light program (mini MTA?) for system mail (only sending/relay via external server with unattended-upgrades, cron, smartmontools, etc.) I’ve come across different names in different places: Light MTA, Remote MTA, Smarthost, etc. Generally, I do not want to install a full-fledged mail server (such as sendmail, postfix, exim), but only send notifications/emails using an existing external …

Total answers: 2

Unattended-Upgrades configuration for custom repo only

Unattended-Upgrades configuration for custom repo only OS: LMDE 5 (based on Debian 11 Bullseye) To keep the system tidy, I use separate files to overrides the original distribution/developer configuration files wherever possible. This also prevents problems when the developer makes changes to the original config and keeps my settings safe. etc… For Unattended-Upgrades, the original …

Total answers: 1

Reboot into new OS image Remotely

Reboot into new OS image Remotely I have a few old rpi 3b+ still running stretch which i would like to upgrade to either bullseye or buster. They are all remote and i access them via AnyDesk or reverse ssh tunnels as a backup. I have attempted to simply upgrade into buster/bullseye on a rpi …

Total answers: 1

Reorder of launching Systemd services

Reorder of launching Systemd services OS: Debian 11 Bullseye Context: The Zerotier application adds the zerotier-one.service system service and creates a virtual network interface (when it works). The sshd server default listens to all addresses 0.0.0.0 Until then, everything is fine with me Now I am introducing custom config in /etc/ssh/sshd_config.d/my-sshd.conf add ListenAddress 192.168.10.10 that …

Total answers: 2

Debian+Gnome Remove Libreoffice

Debian+Gnome Remove Libreoffice Is there no way to remove libreoffice* without removing gnome? If i type sudo apt purge libreoffice* It automatically also wants to remove gnome Is there a solution to this? Asked By: user82375897897928347 || Source Removing the LibreOffice packages only entails removing the gnome metapackage, not GNOME as a whole. Metapackages are …

Total answers: 1

Debian apt issue (not found and deb12u1)

Debian apt issue (not found and deb12u1) I wanted to install texmaker the other day but I ran into an issue : it downloaded 500mb but it told me it could not find a few dependencies, for instance Err : 4 http://deb.debian.org/debian/pool/main/t/texlive-bin/texlive-binaries_2022.20220321.62855-5.1_amd64.deb 404 Not Found [IP : …. 80] I looked it up on the …

Total answers: 1

Debian preseed installation is failing if there a previous OS installed

Debian preseed installation is failing if there a previous OS installed I am trying to automate the install of Debian 12. It is working correctly when I wipe the disk off using a live cd but I want the preseed iso to wipe the disk off instead and continue with installation. When there is already …

Total answers: 1

Debian bookworm – Is VDPAU really enabled

Debian bookworm – Is VDPAU really enabled New install of Debian bookworm on a system featuring an AMD Radeon RX 6600 using the amdgpu driver. I installed vdpauinfo (sudo apt install vdpauinfo) and found a problem that is discussed in the Arch wiki. > vdpauinfo display: :0 screen: 0 Failed to open VDPAU backend libvdpau_nvidia.so: …

Total answers: 1

Install i3gaps on Debian (Raspberry Pi OS)

Install i3gaps on Debian (Raspberry Pi OS) I decided to install i3WM on my Raspberry Pi 400 with Raspberry Pi OS (Debian 11 bullseye aarch64). The only missing part is i3gaps/i3-gaps, but I can’t install it with "sudo apt install". Is there any other way to install it? Asked By: Martin || Source Debian bookworm’s …

Total answers: 1

How to reduce time to wait systemd service?

How to reduce time to wait systemd service? I have a systemd service that change mac address every boot to wifi adapter. Systemd service works fine. I want the service not wait 1m 30sec when the wifi adapter is not plug in the usb. How can I do that? [Unit] Description=macchanger on %I Wants=network-pre.target Before=network-pre.target …

Total answers: 1

How to update time zone list in Linux (Debian)?

How to update time zone list in Linux (Debian)? I’m going to set time zone to my locale on Debian. The DST has been removed in my region since the last year (2022, Sep.), but it’s apparently not updated in Debian time zone list. What is the best approach to set the proper time zone …

Total answers: 1

Why the process still can be listed after killing them?

Why the process still can be listed after killing them? List all process running vlc: debian@debian:~$ ps aux |grep vl[c] debian 14482 0.1 2.2 2882968 136428 ? Sl 10:19 0:02 vlc -I telnet –telnet-host 192.168.31.167 –telnet-port 4212 –telnet-password admin debian 15174 0.2 2.4 2881576 145368 ? Ssl 10:32 0:03 vlc -d -I telnet –telnet-host 192.168.31.167 …

Total answers: 1

wlan0 interface is missing

wlan0 interface is missing I am trying to get WIFI access on my DE10 nano board which is running debian buster. The kernel version is 5.10.50-lts. The wifi device i am using is the RT5370 chipset. The issue is that the wlan0 device is not visible with ifconfig -a. The output is shown below: ifconfig …

Total answers: 1

cannot mount vfat partition after running efibootmgr

cannot mount vfat partition after running efibootmgr I have created partition on my USB disk with parted parted /dev/sdb mklabel gpt mkpart boot fat32 0% 1024MB set 1 esp on set 1 boot on then I formatted the partition mkfs.vfat -F 32 /dev/sdb1 mounted and copied my files finally, I ran: efibootmgr –create –disk /dev/sdb …

Total answers: 2

rescue image with ext4magic or extundelete

rescue image with ext4magic or extundelete Some rescue operations and similar need to be done with the the drive or volume unmounted. Previously I have downloaded an .iso of GParted which I put on a USB stick and booted up from it into a basic gui from which it was possible to rearrange the partitions …

Total answers: 1

How to `import FreeCAD` in CLI (python)

How to `import FreeCAD` in CLI (python) How can I import FreeCAD from the python console? I’m trying to write a script that can manipulate a given FreeCAD file, but I can’t even get FreeCAD imported into the python console on a system where FreeCAD is installed. user@disp7637:~$ sudo dpkg -l | grep -i freecad …

Total answers: 1

modprobe: ERROR: could not insert 'efivarfs': No such device

modprobe: ERROR: could not insert 'efivarfs': No such device when I run efibootmgr command: efibootmgr –create –disk /dev/sdb –part 1 –loader /EFI/syslinux/syslinux.efi –label "Syslinux" –unicode I get this error: EFI variables are not supported on this system. when I try to load the module efivarfs, I get following error: modprobe efivarfs modprobe: ERROR: could not …

Total answers: 1

Is it safe to use /dev/disk/by-id/ instead of /dev/sda?

Is it safe to use /dev/disk/by-id/ instead of /dev/sda? I am currently using a simple way to back up the drive dd if=/dev/sda of=/dev/sdb. However, before each operation, I have to check fdisk -l to see if sda and sdb have been swapped during boot. This is quite inconvenient and error prone. Is using symbolic …

Total answers: 1