New answers tagged

0 votes

how to do partition in linux

I would recommend installing GParted (https://gparted.org/). It's a complex piece of software but it will let you customize your hard drives as you like. Please, don't forget to read the documentation ...
1 vote

Debian /bin/sh in a Docker container never seems to look at .profile

I sent this question to the Debian users mailing list. It was pointed out to me that the text does describe the behavior correctly. Here are a few things that tripped me up: The text says "When ...
  • 153
0 votes

How can I force SOCKS proxy(Danted) to open UDP port

Just in case, in addition to @anonnecroguest's answer: The Dante SOCKS server supports five commands that can be used in the rule statements (bind, connect, udpassociate, bindrepy, udpreply). ...
  • 378
0 votes

Debian Systemd boot logs - show on boot

If you have the plymouth package installed (= providing a splash screen at boot), you could run plymouth-set-default-theme details; update-initramfs -u. Try this first to see if it provides the sort ...
  • 72.5k
1 vote
Accepted

Specto Missing from Debian 11

It’s no longer available because it depends on the obsolete gnome-python library (and more generally, the obsolete Python 2 ecosystem); it was removed from Debian in January 2018 and isn’t available ...
1 vote

How to configure APT Pinning to prevent installation of bash Release Candidate

According to apt_preferences manpage, regular expressions need to be surrounded by slashes. If I correct my file for APT Pinning (prevent installation of RC version for bash), it works ! /etc/apt/...
  • 121
1 vote

Debian package rules file debhelper question

If you want to benefit from debhelper, you need to build from a source package, instead of building a binary package directly: drop the debian symlink to DEBIAN rename DEBIAN to debian rename ...
2 votes

mkfs ext4 on Debian 11 - inconsistent resize_inode results on filesystem creation

Theresize_inode feature only works on filesystems up to 16TiB in size. After that, the meta_bg feature is used when storing group descriptors, so resize_inode is no longer needed/usable.
  • 1,331
2 votes
Accepted

Fix grub after debian upgrade

1.) Download this ISO and Rufus it to a pen drive. 2.) Boot up from the pen drive and follow the instructions. *.) If that doesn't fix it automatically generate a detailed report and come back here to ...
  • 46
0 votes

How do I resolve "The name was not provided by any .service files" when connecting Galaxy Tab A via USB?

I was having a similar error with a OnePlus 9 Pro: "Unhandled error message: The name :1.308 was not provided by any .service files" I believe this answer worked for me also, but I would ...
0 votes

How to set `chattr +i` for my `/etc/resolv.conf `?

Booting to a live cd or usb linux install, then browsing to resolv.conf on the hard drive allows the standard syntax for chattr to be implemented.
3 votes
Accepted

Bug warning with aptitude upgrade #1019855 & #1019564

You can see the bug details in the Debian BTS: 1019564 and 1019855. The libc6 bug only affects fourth-generation Intel systems (Haswell), so if your CPU isn’t a Haswell CPU you can ignore it. There ...
0 votes

radeon errors: GPU lockup: ring 0 stalled for more than x msec

I get radeon 0000:04:00.0: ring 0 stalled for more than 10240msec on my [AMD/ATI] RV620 GL [FirePro 2450] when I run the Opera web browser under Ubuntu 20.04.5 LTS for a few minutes. No problems ever ...
0 votes

Valid network configs for eth0 and wlan0

I make assumption that your device use modern Debian. If that is the case I suggest to switch to use modern systemd-networkd. Configuration syntax is different. I noticed that old ifupdown system you ...
0 votes

Secondary IP on one interface (Debian 8)

Try to use virtual interface: auto eth0 allow-hotplug eth0 eth0.1 iface eth0 inet static address 192.168.0.10 netmask 255.255.255.0 gateway 192.168.0.1 iface eth0:1 inet static ...
2 votes
Accepted

How to run command when user push ctrl+c?

X11 clipboards can be monitored. This only applies to X11 and not console copy and paste nor tmux nor anything else. So portability might be dubious and you may need to monitor all three clipboards, ...
  • 33k
1 vote
Accepted

Interface name in /etc/network/interfaces replaced with another interface name after reboot

I am in the process of scripting Debian 11.5 server installation. I spend 5 days troubleshooting network configuration. I learned that Debian network use systemd-networkd today and old ifupdown is ...
0 votes

Interface IP details mentioned in /etc/network/interfaces file but restarting server makes interfaces assigned some random IP

Suggestion and explanation: Linux years ago have started to develop solution to old slow script based services management. The "systemd" faster smarter allowing for parallel service startup ....
0 votes
Accepted

Mount SMB share without specifying shared directory in remote path

In the "//192.168.1.x/SomeFolder", "SomeFolder" is not a folder. It is a name of a share. That is by design of SMB protocol. There is literally no way to do "//192.168.1.x/&...
  • 2,285
3 votes
Accepted

Debian 11 Bullseye and PHP7's End of Life - what happpens after 28 Nov 2022

I’m not sure this is documented anywhere in a generic way. In practice, the most likely outcome is that the PHP maintainers will try to continue providing security support on their own. You can see ...
0 votes

Migrate from Ubuntu to Debian and take the application data along

Late to the party, but this is something definitely doable. Pick Debian stable or testing release close to the Ubuntu release you are upgrading from. Add debian and debian-security (and perhaps debian-...
  • 741
0 votes

sudo apt-add-repository multiverse gives error Connection refused

I unfortunately don't have any answer for you, but I will add that I'm encountering the same problem while trying to add the deadsnake repo for python 3.10 on my Linux Mint box: sudo add-apt-...
  • 101
1 vote
Accepted

expanding ZFS raid-z vdev with newly added disks?

What am I doing wrong here? This feature is not available yet nor in your version nor in current openzfs version. https://github.com/openzfs/zfs/blob/master/man/man8/zpool-attach.8#L48
  • 498
1 vote

Unstable NIC: how to troubleshoot?

First, thank you to those who kindly offered to help - it spurred me on to doing some deeper debugging. I ran dmidecode quite a few times, and finally realised the problem: the card was inserted into ...
  • 421
0 votes

Running a BASH script via crontab causes ecryptfs volume to unmount

This is a known issue of ecryptfs-utils, here is the bug report: https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/259293 A workaround is to delete the following file: rm ~/.ecryptfs/auto-...
2 votes
Accepted

How to increase GNOME timed wallpaper repaint frequency?

It's feasible but changing your wallpaper 60 times a second is going to peg your CPU, a better solution would be for Gnome Shell to natively support animated backgrounds from a video stream. Anyhow, ...
  • 285
0 votes

DEBIAN : apt-get update : Certificate verification error

I post the screenshot as an answer so you can see it.
  • 11
0 votes

What's the difference between /usr/lib/systemd/system and /etc/systemd/system?

The runtime files in /run/systemd/system stem from the ability to make modifications to a process (unit) during the current boot without that change/modification persisting across a reboot. From ...
  • 1
0 votes

Persistent static routes on Debian 11

Suggestion: Check systemd network configuration using: networkctl -a status Check for failed services: systemctl --type=service --state=failed Consider using systemd over /etc/network/interfaces.  ...
1 vote

Unstable NIC: how to troubleshoot?

Suggestion: Check your configuration using systemd-networkd (the system that translate ifupdown). networkctl -a status Analise if it is what you intended (that command is part of systemd-networkd). ...
1 vote

zst compression not supported by apt/dpkg

To expand on @stephen-kitt's answer, this can also occur in Ubuntu when one adds a debian official repo like bookworm to /etc/apt/sources.list and then accidentally upgrades dpkg to the Debian version....
  • 111
1 vote

How to get default xfce4 color themes

I don't know the exact packages containing the themes you're interested in, but you may find some of them with apt-cache search xfce theme or apt-cache search gtk theme and similar searches. If you ...
  • 69.9k
0 votes

How to disable compression of initrd.img file of Debian Linux 10 buster

Stephen Kitt gave good advice, but it does not work now on Debian 11, because the -c flag is used when calling the compressor binary file, which breaks the cat operation. Also, a good solution would ...
  • 11
1 vote

DEBIAN : apt-get update : Certificate verification error

Here you have an explanation of what needs to be done: https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#repo-qg-apt-repo-manual-setup Basically you need to run this command: apt-key adv --...
  • 441
1 vote

systemd: finish the execution of custom shell script before starting nginx

You could use the ExecStartPre= option in a drop-in snippet configuration to add the option to Nginx service unit instead of using separate ones (or add Requires=shorewall.service to the nginx service ...
0 votes

Service start request repeated too quickly, refusing to start

When using the User= setting, there is no need to set the group (since it will be set to the users default group). DynamicUser=yes may be a suggestion instead of nobody user (systemd.exec(8)), which ...
1 vote

Debian 10 Read-Only filesystem Unattended Upgrades

To make a normally ro mount rw for the duration of the apt-daily-update, a systemd override can be implemented on the apt-daily-update.service. I use precisely this mechanism on a normally ro /boot ...
0 votes

The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file has an unsupported filetype

If you get this error in docker, the problem is that newer OSes use syscalls that are not passed through correctly by docker, which results in confusing error messages like the above. In that case the ...
1 vote
Accepted

Why k3s is still seeing swap on Debian Bullseye?

The swap activation probably happens early in the boot process while the system is still running on initramfs, so after removing the swap configuration items, you should have done a update-initramfs -...
  • 72.5k
1 vote

Using sessions created other than by login with systemd-homed?

It seems like you are not hashing your passwords inside your request. Maybe look at these JSON keys: pkcs11EncryptedKey and hashedPassword, maybe that will solve your problem
1 vote

Razer Pro Type Ultra Keyboard: How to use function keys without holding down fn key?

This worked for me on Ubuntu 20.04: Save the following lines at /etc/udev/hwdb.d/50-razer-pro-type-ultra.hwdb evdev:input:b*v1532p027B* KEYBOARD_KEY_c00e2=f1 KEYBOARD_KEY_c00ea=f2 ...
0 votes
Accepted

sys-kernel-debug, and logind service fail causing noticeable delay on logging in

Solved! Alright, although i wasn't able to fix everything yet im at a point where i consider the above to be fixed. The problem is easier to solve than i thought, so if you wonder around here i guess ...
  • 113
0 votes

Is there an /etc/network/interfaces option like wireless-ap except for a wpa-ssid/wpa-psk connection?

I think that the option that you are looking for is wpa-bssid. From (the surprisingly well hidden) /usr/share/doc/wpasupplicant/README.Debian.gz: Table of Common Options ======================= A ...
  • 88
0 votes

How can I look for a process that wake my machine up from suspend to RAM?

These are the options I know of from the top of my head: RTC alarm: cat /sys/class/rtc/rtc0/wakealarm Wake on LAN (WOL): ethtool … Power up on Keyboard/Mouse activity Power up after power loss Power ...
  • 5,022
0 votes

List packages on an apt based system by installation date

Put the below in your shell rc file. # list date and name of installation packages function lspkg_func { # Save the installation text to a variable. local installation_text=$(grep " ...
3 votes
Accepted

How do I view contents of initramfs.img in Debian-based distributions?

You should use lsinitramfs. For example, sudo lsinitramfs "/boot/initrd.img-$(uname -r)" will list the contents of the initramfs matching the currently-running kernel (assuming you’re using ...
0 votes

How do I automount usb drives in Linux (Debian)?

Same issue happened to me after upgrade from Stretch to Buster (headless Raspberry Pi Zero W). In my case, I am using /etc/fstab, so systemd automatically generates mount units from it. All my disks ...
  • 21
2 votes

Is there a tool for managing apt repositories that allows multiple versions of the same package?

In a comment, muru linked to a Q&A with several recommendations, among which was Aptly. I've used Aptly to manage a repository of Debian packages with older and newer versions of packages, all of ...
  • 1,692
1 vote

Time Limit execution of code for 30 days in Debian on RPI 4

The issues you have asked about is not UNIX/Linux specific, and belongs in your application. The application is delivered as part of a turnkey system so you have quite a lot of flexibility. What's not ...
  • 93.8k
0 votes

Time Limit execution of code for 30 days in Debian on RPI 4

There are some Solutions for this specific Problem. The most elegant way to solve it would be to create a script within your application. This script will start your actual Program/Code, whatever. You ...
  • 126

Top 50 recent answers are included