Skip to main content

New answers tagged

0 votes

dmesg with / without sudo on Debian / Mint

For Ubuntu 22.04, please look inside /etc/sysctl.d/10-kernel-hardening.conf for kernel.dmesg_restrict=0.
iPAS's user avatar
  • 101
1 vote
Accepted

How can i move Flatpak installed apps to another disk?

I found a really good solution. Solved my problem and reduced the storage in my root folder by 17 GB. The solution was to create a link to the folder containing all the Flatpak apps on another disk: ...
Neto Araujo's user avatar
0 votes

Why does querying xrandr briefly freeze the screen?

Use --current --current Return the current screen configuration, without polling for hardware changes.
Mehdi's user avatar
  • 1
0 votes

How to undo e.g. a move operation in Thunar on Debian?

Thunar 4.18+ does undo with Ctrl+z
rylax's user avatar
  • 11
0 votes

How to view the systemd-xdg-autostart-generator generated files?

The file is automatically created by systemd-xdg-autostart-generator.  It looks at the .desktop files in these two locations and then creates a .service file used by systemd.  You would want to edit ...
Juts's user avatar
  • 13
1 vote

Can Linux OpenVPN server be accessed with Windows 10 Build-in VPN?

The built-in Windows client doesn't support OpenVPN. However it should be possible to use IPsec VPN to connect them. You'll need StrongSWAN (or a current alternative) on the Linux server. (I've not ...
Chris Davies's user avatar
1 vote

Long running program started from cron

Your method would work assuming the locking is done well. As an alternative, have you considered using systemd to manage the server with an automatic restart if/when the service exits?
doneal24's user avatar
  • 5,249
0 votes

SSH tunnel error for root: sys_tun_open: failed to configure tunnel (mode 1): Operation not permitted

funny i fell here, i had the same issue by trying to do port forwarding via ssh. Actually, after a moment, i just changed the directive 'GatewayPorts' to "yes" and decommented it, and that ...
Virgil Ftbn's user avatar
0 votes

How to change the order of the network cards (eth1 <-> eth0) on linux

the accepted solution by Athabaska Dick https://unix.stackexchange.com/a/10299/59604 did not work for me (debian 11). none of these blacklisted modules where loaded after boot (/etc/modules ignored?). ...
Booker B's user avatar
0 votes

what are the steps to run Grub Hook Script in Debian 12.5

You can take a look at : https://askubuntu.com/questions/599813/run-a-script-after-every-grub-update Which provide a detailed answer. Check that rsync is installed and /etc/grub.d/90_copy_to_boot_efi2 ...
TaigaVI's user avatar
1 vote

Removing Gradle with all dependencies

I have solved problem using Synaptic Package Manager: File > History > select date --> copy and create list of installed packages. Then using command: sudo apt purge $(awk '{print $1}' <...
minto's user avatar
  • 535
0 votes

Debian libpangoft2-1.0.so.0 undefined symbol hb_glib_script_from_script

I encountered the same issue today.  It took me a day to figure out the cause.  I manage dependencies using vcpkg.  On my Ubuntu system, there are two versions of libharfbuzz installed: 8.5.0 and 9.0....
Ershat's user avatar
  • 1
0 votes

What is the proper way to boot Debian 12 Install CB from GRUB? Can't detect install Media

I am using Kubuntu so I downloaded Debian live kde. I have a data partition (hd1,5) with an /ISO folder, so that is my path. Parts of entry from older gparted ISO boot and from grub inside ISO. This ...
oldfred's user avatar
  • 650
0 votes

Removing Gradle with all dependencies

sudo apt autoremove will remove all packages that were installed to satisfy a dependency, if there are no packages still depending on them. Here's a simplified example. One installs package A, which ...
waltinator's user avatar
  • 5,259
1 vote
Accepted

How to extract song lyrics from an m4a subtitle stream?

They are, mostly likely, chapter markers. I was looking for bin_data initially, but everything I'd find was: Stream #0:1(eng): Data: bin_data (tx3g / 0x67337874) But finding this post gave me a ...
JayCravens's user avatar
0 votes

No CPU Information with dmidecode in VirtualBox on Linux Environment

Upon further investigation, I've identified that the issue with obtaining detailed CPU information using the dmidecode command in VirtualBox is due to how VirtualBox manages and exposes hardware ...
Samadhan Fuke's user avatar
2 votes
Accepted

apt(-get) install: keep automatically/manually installed state

The only way to do this is to add the --only-upgrade flag: sudo apt install --only-upgrade libgstreamer-plugins-base1.0-0=1.24.5-1 This won’t mark the package as manually installed, but also won’t ...
Stephen Kitt's user avatar
1 vote

Error during "apt-get full-upgrade": Missing libcrypt.so.1 library preventing libc6 configuration

You need to install libcrypt1: sudo apt install libcrypt1 If apt doesn’t work, try wget http://deb.debian.org/debian/pool/main/libx/libxcrypt/libcrypt1_4.4.33-2_amd64.deb sudo dpkg -i libcrypt1_4.4....
Stephen Kitt's user avatar
-2 votes

Error during "apt-get full-upgrade": Missing libcrypt.so.1 library preventing libc6 configuration

Try the following steps to resolve your issue: Edit /var/lib/dpkg/info/libc6:amd64.postinst using any text editor and search for set -e and comment this line. Try to fix the broken packages using apt-...
Ahmad Abuhasna's user avatar
0 votes

How can I un-taint my DKIM config after exim upgrade?

Through Google I ended up here after upgrading my debian buster to bullseye (after extended security support ended), which upgraded Exim to 4.94. The 'Tainted filename' errors occured on lookup for ...
Jean-Pierre Deckers's user avatar
4 votes

Rescuing ZFS after Debian upgrade

Note the mountpoint of rpool/ROOT/debian in the zfs get mountpoint listing: NAME PROPERTY YALUE SOURCE rpool mountpoint /sysroot local rpool/ROOT mountpoint none local rpool/ROOT/debian mountpoint / ...
telcoM's user avatar
  • 101k
0 votes

How to disable "Text Copied" pop up when copying text (Debian 12)

Install dconf Editor: sudo apt-get install dconf-editor Open dconf Editor from your applications menu. Navigate to the following path: /org/gnome/desktop/notifications/application/gnome-shell/. Look ...
Rouuufa's user avatar
  • 64
0 votes

Display Conky folder size as a bar

You can, but you need a script that can express the size as a percentage. The execbar documentation reads: ${execbar(height),(width)command} Same as exec, except if the first value returned is a ...
terdon's user avatar
  • 245k
3 votes

How to keep device firmware updated when I installed it manually?

You may never install firmware related packages or updated firmware files and use you computer as long as you want. It's solely up to you. From a security standpoint it makes sense to install updated ...
Artem S. Tashkinov's user avatar
1 vote

I have a package I can't seem to uninstall (Debian)

It sounds like you have root/shell access to it, some things you can try (as root): apt-get purge chatty # it's more thorough dpkg-query -S chatty # if it were installed, where? In that source ...
Alex North-Keys's user avatar
0 votes

version `XCRYPT_2.0' not found after Update Debian 10 to Debian 12

You need to upgrade libcrypt1. Since apt doesn’t work, try wget http://deb.debian.org/debian/pool/main/libx/libxcrypt/libcrypt1_4.4.33-2_amd64.deb sudo dpkg -i libcrypt1_4.4.33-2_amd64.deb If wget ...
Stephen Kitt's user avatar
1 vote

apt: Query installed packages from a specific source

Print all installed packages available from a given source, matched by architecture and version number #!/bin/bash fqdn=$1 comm -12 \ <(dpkg-query --show --showformat='${binary:Package}\t${...
Frank Kusters's user avatar
-1 votes

Forgot to install the desktop environment while installing debian 12

<drunk/still-sleeping answer or both> Enjoy the life-changing experience. Install ratposion so You can watch n0rp or browse graphical docs. Start using VTs. Never ever code an app with any ...
Vorac's user avatar
  • 3,115
1 vote

Linux swap usage

Or you could simply disable SWAP altogether. It's not like 1GB is of any use for a 16GB server. I've been saying this for decades now but SWAP is not necessary. It can be enabled/used when you know ...
Artem S. Tashkinov's user avatar
3 votes

Azure VM (Debian 11.9) root directory 100% full...but its not!

Since rebooting doesn't resolve the issue it's not deleted files that are still held open. I suspect you've covered the used disk with one of your other mount points. This snippet of code will report ...
Chris Davies's user avatar
1 vote

How to increase number of workspaces in Debian 12?

Normally I press (alt)+(ctr)+(up-arrow) and the system show us all the working-spaces at the same time. Now it is possible to: select a working-space remove a working-space (pressing the (x) in the ...
JJoao's user avatar
  • 12.3k
1 vote

Why is Linux in ChromeOS Flex reporting wrong number of CPU sockets?

This isn't Linux reporting that, it's lscpu. I'd invite you to ask a new question actually describing the problems and asking for help with them – you're probably the wrong lead here. Anyways, lscpu ...
Marcus Müller's user avatar
1 vote
Accepted

Debian passwd package sources - Unable to find patch that modifies passwd utility options

So i finally found where is the "problem". I thought that this -s/--stdin options is part of passwd utility for years (i am new to serious Linux understaning). Actually it was implemented ...
designerrr's user avatar
5 votes
Accepted

How to POSIX-ly ignore "warning: command substitution: ignored null byte in input"?

If the question is how to ignore the warnings or errors that the shell outputs when you try to do something not supported such as here a command substitution with a command that outputs NULs in the ...
Stéphane Chazelas's user avatar
1 vote

Debian: ZFS installation error: Module zfs not found in directory /lib/modules/4.19.0-14-amd64

You need the linux headers for your current kernel version. are linux-headers-$(uname -r) and zfs-dkms installed? you'd need those... Source: AllKind on Github If your linux headers are not ...
lucidbrot's user avatar
  • 227
0 votes
Accepted

How to load firmware for WiFi AX211 in debian trixie?

I got it to work now, thanks to writing this question! The main issue was that I did not pay enough attention to the exact format the dmesg output mentioned it was looking for. To summarize: Goal Here'...
lucidbrot's user avatar
  • 227
3 votes

How to POSIX-ly ignore "warning: command substitution: ignored null byte in input"?

The error message you are getting is from the shell.  To ignore/suppress it, you need to redirect stderr for the shell.  When you do rpi_model_name=$(cat /sys/firmware/devicetree/base/model 2>/dev/...
G-Man Says 'Reinstate Monica''s user avatar
2 votes

How to clone boot partition in another drive and make it bootable?

You need to tell the UEFI firmware of your computer that there is a bootloader on that partition! efibootmgr -c -d /dev/sdb (not sdb1!) would do that. However, questionable whether you really want ...
Marcus Müller's user avatar
7 votes

How to POSIX-ly ignore "warning: command substitution: ignored null byte in input"?

Ignoring or explicitly deleting an unknown number of zero bytes without understanding where they come from seems like a bad idea! So, let's actually look at where that comes from and in which cases we ...
Marcus Müller's user avatar
1 vote

Remove lvm volumes after fresh Debian install

Use the fdisk utility to create a new partition table. This will wipe the old partitions along with the LVMs. Use sudo fdisk /dev/sda to make changes to the partitions in this drive, type p to print ...
GingerLinger's user avatar
2 votes

How to POSIX-ly ignore "warning: command substitution: ignored null byte in input"?

This worked for me on Raspberry Pi 4 with Debian 12 Bookworm, and it should be a portable solution (adhering to POSIX). We can translate all of the NULL characters with an empty string, effectively ...
Vlastimil Burián's user avatar
1 vote

Remove lvm volumes after fresh Debian install

These were not actual volumes but just device mappers. Either way that caused commands to think the disk is in use. I've listed the device mapper entries with dmsetup info and then deleted them via e....
bibac's user avatar
  • 121
2 votes

Remove lvm volumes after fresh Debian install

Nothing here says they are in use somehow – they're just there. And just like say, partitions on an MS-DOS partitioned hard drive, they are detected. Neat, actually! Check the output of sudo vgs – you ...
Marcus Müller's user avatar
1 vote

Debian 8 Jessie KEYEXPIRED 1587841717

I found @cjlittle's answer useful, but I wanted to see if it would be possible to go further and avoid using [trusted=yes], specifically, to verify packages using the expired keys. apt-get uses gpgv ...
mephi42's user avatar
  • 111
2 votes

How to extract files from EXT2 filesystem

This looks pretty broken. It's extremely unlikely that someone labeled their file system with a single non-ASCII character. And it's impossible that they set the revision to a negative gigantic number....
Marcus Müller's user avatar
2 votes

when is .bashrc read?

The reading of ~/.bashrc is described two paragraphs down from what you are reading. It is read when Bash is started as an interactive non-login shell. To have ~/.bashrc read by the login shell, you ...
Kaz's user avatar
  • 8,585
0 votes

Optimizing storage usage in Proxmox + CEPH cluster

Wow! You have yourself a real treasure trove of equipment there. Proxmox is made so that the individual node is inconsequential to the overall operation. The more nodes you have the more true that is. ...
kentt's user avatar
  • 11
2 votes
Accepted

Rename mounted home directory

First of all, make sure you can log in as root. (This account doesn't rely on /home.) Not sudo but a real login. Then you can proceed. It's probably best not to use the GUI here: Comment out the line ...
Chris Davies's user avatar
1 vote

Rename mounted home directory

Comment out the home mount. Reboot and login as root. Make your changes. Reboot again and login as an ordinary user with /home containing the desired files.
J_H's user avatar
  • 876
1 vote

No sound in Debian 12 on laptop, pipewire problem?

Following suggestion by @TelcoM, there was the question whether chipset is supported rather than a sound server problem. lspci -nnk -d 8086:51ca 00:1f.3 Multimedia audio controller [0401]: Intel ...
Joce's user avatar
  • 212

Top 50 recent answers are included