prompt stringlengths 1 63.6k | completion stringlengths 1 53.1k |
|---|---|
I'm attempting to store the LUKS password for LVM encryption/FDE in a TPM2 as part of unattended boot for a server, i.e. allowing a server with a LUKS encrypted root filesystem to boot without a user having to manually enter the password. Since this seems to always come up, the threats I'm trying to defend against are an attacker removing a hard drive from the server and mounting its filesystem elsewhere, as well as an attacker altering kernel parameters passed from Grub to use e.g. init=/bin/sh. Clearly there are other threats this approach does not defend against which I will simply declare out-of-scope. Also: I'm not particularly interested in e.g. PCR hardening so much as getting anything to work at all. I'm working with the following TPM2 device: Code: Select all# systemd-cryptenroll --tpm2-device=list PATH DEVICE DRIVER /dev/tpmrm0 MSFT0101:00 tpm_tis I've attempted a few different methods, all unsuccessfully: - systemd-cryptenroll - tpm2-initramfs-tool - clevis Of those, systemd-cryptenroll seems it's probably the best approach and one I seem to have partially working, at least. With the `tpm2-tools` package installed I am seemingly able to enroll my LUKS password into my TPM: Code: Select all# systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+7 /dev/sda3 🔐 Please enter current passphrase for disk /dev/sda3: [...] New TPM2 token enrolled as key slot 1. So that much seems to work, but what I'm having trouble with is adding TPM support to initramfs and configuring my crypttab to use the TPM. I've seen a lot of recommendations of dracut for this. I've tried the following: Code: Select allapt-get install dracut dracut --add tpm2-tss -f I also modified my /etc/crypttab to change the last entry from "luks,discard" to "luks,tpm2-device=auto". I've also tried just "luks,tpm2-device=auto" as well as "luks,discard,tpm2-device=auto" and just "tpm2-device=auto". With dracut, after grub launches Linux, where it would ordinarily prompt for a password it just sits there with a cursor before dropping to an emergency shell. I've also tried to add TPM support via initramfs-tools instead, modifying /etc/initramfs-tools/modules to add tpm_tis, and then running update-initramfs -u, but it complains: Code: Select allcryptsetup: WARNING: sda3_crypt: ignoring unknown option 'tpm2-device' I get the same warning when the system boots, followed by a password prompt. This seems relevant: https://groups.google.com/g/linux.debia ... MQ5A?pli=1 Any suggestions? | bascule wrote: 2024-03-12 18:39 After posting this, I managed to get things working by this guide which works using dracut and actually removing the entry from /etc/crypttab: https://blog.fernvenue.com/archives/deb ... ecryption/ Still curious if anyone has opinions on this approach or others. Your OP was very detailed, could you do the same for the solution rather than just posting a link? I am curious in this as I use a hidden keyfile as I think most others do. |
There is a bad bug that bit me on two AMD nvidia machines. The debian bug # is 722217. For the details see the bug report. In general, what happens is that during a libc6 update, the update gets a seqfault and doesn't complete. It leaves libc6 in a halfway installed state so many things are broken. The usual tricks like atp-get -f install and dpkg --configure -a do not work because of the state libc6 is in they segfault also. I was able to manually run a libc6 postinstall script manually on one of the machines to get libc6 upgraded and fix the breakage. I have not been able to fix the other machine though. Details of what I have tried and the state of the system are in the bug report. Does anyone have any ideas to help me get the machine fixed? I would hate to have to reinstall everything. | well, i don't run sid or proprietary packages for that reason. Might be helpful to others to post your sources.list and show people how you got in that situation. You can probably fix it, but I don't think poking a lot of commands at it right now is the way to go. If you do reinstall, go with stable unless you like the pain. |
E.g. Code: Select allevemu-event /dev/input/event2 --type EV_KEY --code 58 --value 1 ( Caps Lock ) works only in console , not as a .desktop file , as a .sh file , in KRunner ( Alt-F2 ) , why ? How to ? | Can you provide strace output for both cases? |
Hi, Since my last full install of Debian Bookworm, I have had a small problem with accessing /dev/sda7 which is my /usr partition. Somehow, this partition was mounted on /media/stuart/_usr instead of /usr as it should have been. This meant that at every boot up I had to supply my password in order to access the partition. I got fed up with this and, using KDE Partition Manager, I edited the mount point for /dev/sda7 so that it should have mounted on /usr. What I had not realised was that /etc/fstab used UUID codes for the various partitions. This UUID code for /dev/sda7 was then lost. When the system boots, it displays the following at the start of the boot text. [ ... ] systemd[1]: Failed to find module 'autofs4' [UNSUPP] Starting of proc-sys-fs-binfmt_misc.automount - Arbitrary File Formats File System Automount Point Unsupported Steps I have taken I booted into recovery mode. I used "blkid" to recover the uuid of/dev/sda7 (/usr). Using Vi, I manually edited /etc/fstab to re-enter the the details for /dev/sda7, using spaces between the various fields. I based the layout of this entry on those for the other partitions already listed in the file. The result of the above is that the system is still not booting to the password/login screen. The only entry in /etc/fstab that has a different format from the other entries therein is that for the optical drive /dev/sr0 which has the following form. Code: Select all/dev/sr0 /media/cdrom0 udf,iso9660 0 0 Could this be the cause of the above noted failure ? It can be clearly seen that this entry does not use a UUID code. Also, when I used "blkid" this did not produce any details at all for /dev/sr0. I just noticed that on webpage https://askubuntu.com/questions/154180/ ... e%20end%3A user MahendraUnlimited states that "Please note, UUID is used only when Disk is GPT. Incase of MBR Disk, use /dev/sdaX ." However, I am using an MSDOS-based partition setup which also uses UUID codes for the various partitions. I know that I should show the current contents of /etc/fstab. However, that is not an option at this time. This posting was generated using a computer in the local library. Stuart | MahendraUnlimited is a moron. You can use UUID or Label or /dev/sdX (although X may be assigned different on different boots, so one of the persistent names is preferred). What happens if you comment it out, so /dev/sda7 doesn't get mounted? |
Hi there I'm new to Debian and to this forum. I have a problem with Firefox under XFCE, with amdgpu driver, the video playback is randomly stroboscopic for a fraction of second. I have a previous Linux system installed on the same machine, using an old Firefox 96 which is not affected. The problem appeared when I installed the latest Firefox release. I thought it was due to my outdated system, so I've installed Debian 12 on another drive, unfortunately I have the same problem using latest Firefox ESR. It seems to be a regression somewhere between Firefox 96 and 128. I think Wayland became the default with Firefox 121, then I wonder if I need to set an environment variable or a setting in about:config to get a better rendering with Xorg. Any clue would be greatly appreciated because I have no idea how I can troubleshoot such a problem. Thanks in advance. | Hello and welcome! XFCE in stable Debian still uses xorg. You can use browser you like, but note Debian security covers only firefox-esr and chromium. You could install inxi, and run Code: Select allarto@dell:~$ inxi -GSAx System: Host: dell Kernel: 6.1.0-10-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 Desktop: Xfce v: 4.18.1 Distro: Debian GNU/Linux 12 (bookworm) Graphics: Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915 v: kernel arch: Gen-7.5 bus-ID: 00:02.0 Device-2: Sunplus Innovation Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-1.6:3 Display: server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 resolution: 1366x768~60Hz API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics (HSW GT1) direct-render: Yes Audio: Device-1: Intel Haswell-ULT HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:03.0 Device-2: Intel 8 Series HD Audio vendor: Dell 8 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 API: ALSA v: k6.1.0-10-amd64 status: kernel-api Server-1: PulseAudio v: 16.1 status: off arto@dell:~$ Use code tags as i did in above example, black square at the top line, which starts with B. |
Hello friends For a laptop HP Pavilion g4-1387la was installed Debian 12 Desktop The ethernet and wifi connections are possible. But when only the WIFI is used (no ethernet cable connected) exists the problem that the internet speed is very slow. I put the same WIFI connection settings according with other laptops in the same LAN, all of them based with other Linux distributions. Of course the ipv4 is unique The wireless card is as follows (let me know if you need more data - pls indicate me the command execute to share the info): Code: Select alllspci -vq | grep -i wireless 02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4313 802.11bgn Wireless Network Adapter (rev 01) Subsystem: Hewlett-Packard Company BCM4313 802.11bgn Wireless Network Adapter I had a similar problem about a WIFI connection through PeppermintOS based on Debian according with: Impossible to do Wifi connection - password never accepted The point is that theoretically the solution is install: * firmware-b43-installer * firmware-b43legacy-installer Now, according with the 2 following links both appear on the contrib repo * Package firmware-b43-installer * Package firmware-b43legacy-installer Thus the goal is get both packages to be installed. To accomplish this goal was done the following tasks: In the /etc/apt/sources.list.d directory was executed the nano debian-backports.list command and was added the following line: Code: Select alldeb http://deb.debian.org/debian bookworm-backports main contrib non-free-firmware Finally was executed the apt update command. And for complete information, as follows the content of the /etc/apt/sources.list file Code: Select all#deb cdrom:[Debian GNU/Linux 12.8.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20241109-11:05]/ bookworm contrib main non-free-firmware deb http://deb.debian.org/debian/ bookworm main non-free-firmware deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware deb http://security.debian.org/debian-security bookworm-security main non-free-firmware deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware # bookworm-updates, to get updates before a point release is made; # see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware Now, I executed the following set of commands (just in case the OS was restarted): apt install Code: Select allroot@mjordan-hp:~# apt install firmware-b43-installer Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package firmware-b43-installer root@mjordan-hp:~# apt install firmware-b43legacy-installer Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package firmware-b43legacy-installer root@mjordan-hp:~# apt search Code: Select allroot@mjordan-hp:~# apt search firmware-b43-installer Sorting... Done Full Text Search... Done root@mjordan-hp:~# apt search firmware-b43legacy-installer Sorting... Done Full Text Search... Done root@mjordan-hp:~# apt search -t bookworm-backports Code: Select allroot@mjordan-hp:~# apt search -t bookworm-backports firmware-b43-installer Sorting... Done Full Text Search... Done root@mjordan-hp:~# apt search -t bookworm-backports firmware-b43legacy-installer Sorting... Done Full Text Search... Done root@mjordan-hp:~# apt-cache search -t bookworm-backports Code: Select allroot@mjordan-hp:~# apt-cache search -t bookworm-backports firmware-b43-installer root@mjordan-hp:~# apt-cache search -t bookworm-backports firmware-b43legacy-installer apt install -t bookworm-backports Code: Select allroot@mjordan-hp:~# apt install -t bookworm-backports firmware-b43-installer Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package firmware-b43-installer root@mjordan-hp:~# apt install -t bookworm-backports firmware-b43legacy-installer Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package firmware-b43legacy-installer root@mjordan-hp:~# BTW was used -t bookworm-backports according with the How to enable Debian 12 Backports repository tutorial and because was declared deb http://deb.debian.org/debian bookworm-backports .... in the custom .list file. I mean the bookworm-backports part Thus so far is not possible install these two packages How to reach that goal? | Code: Select allrto@dell:~$ aptitude search firmware-b43 p firmware-b43-installer - firmware installer for the b43 driver p firmware-b43legacy-installer - firmware installer for the b43legacy driver arto@dell:~$ arto@dell:~$ cat /etc/debian_version 12.9 arto@dell:~$ Both are in stable's repositery. Good change they already are in your system, as Debian 12 installs needed firmwares. |
Semi-Emergency. What has happened to cause this rebooting problem? For the last 5 to 10 boot times, Debian 12 boots and I get to the login. Enter credentials. Cinnamon Desktop comes on-screen. All is working. Then, screen goes blank. System reboots. Does not power down. Reboots. Same as before. Some days, OS works normally. 30Sep24, over an hour of reboots. I've run journalctl -xb and see nothing related (warnings about bluetooth). As this is a dual boot Win10 and Debian 12 laotop, even Windows shut down (and rebooted into the default Debian). I've tried the earlier linuz-6.1.0-25-amd64, too. No joy. I have run an grub-update. In one instance of boot time and dropping to "C" and getting a grub prompt, on exiting I was taken to an initramfs prompt. Could not exit that and CTRL-ALT-DEL to reboot out of that. Journal msg (red color) mce: [Hardware Error]: CPU 0: Machine check 0: bank 4: f600000000070f0f TSC 0 ADDR fe900608 Processor 2: 730f01 time 1730198846 socket 0 apic 0 microcode 7030106 I have my /home on an external device. I'm happy to reinstall Debian. My question is, how do I get the new (newer) install to wipe sda5 ( which is /) and sda6 (which is /home), reinstall Debian 12. and not overlook the Windows partitions, efi, etc.? I read that the new Deb installer does not have os-prober set "ON" by default. This newer, 7 year old laptop, does not have a CMOS battery on the motherboard. The RTC runs from the main laptop battery, which holds, at this time, about an 84% charge. The OS seems stable for now 15:18 UTC. I'll stay online, as long as the OS will be stable. Thank you, Linux/Debian Community PS OS offline 15:36 UTC. I have photos of normalcy -xb. I’ll transcribe them and post here after transcription. | JeSuisFlaneur wrote: 2024-10-30 15:19 Semi-Emergency. What has happened to cause this rebooting problem? …even Windows shut down … Journal msg (red color) mce: [Hardware Error]: CPU 0: Machine check 0: bank 4: f600000000070f0f … What you and mce have described is a failing hardware issue. Try running memtest86 for several passes to see if RAM has gone bad. |
Hello When downloading an application to the Downloads Folder, does it have to be extracted prior to the command sudo apt install <filename>? Should the prompt changed directory to Downloads first? Thanks | You need to run the command from the directory containing the .deb file (or type the full path to the file). From the download directory (sudo or root): Code: Select allapt install ./filename.deb Don't forget the ./ it tells apt to look in the current directory. Also be sure the file is compatible with Debian. Lots of .deb files on the internets are created for Ubuntu and may not work. If the application is available in the Debian repository, it is far preferable to install from there than some website download. |
I'm playing around with cryptsetup looking to get authenticated encryption configured on a spare drive. I am hitting an issue when updating the initramfs. I created a quick VM installing debian 12.2.0 and ran the below to test getting the same issue. Imagine I'm very likely doing something quite wrong here as this is my first time trying to enable authenticated encryption instead of just luks2 alone. Looking around I don't see much on the topic outside of articles/docs describing similar steps to what I performed below. Any advice or wisdom is appreciated ^.^ Code: Select allroot@Burner:~# cryptsetup --version cryptsetup 2.6.1 flags: UDEV BLKID KEYRING KERNEL_CAPI Code: Select allroot@Burner:~# lsb_release --all No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm Code: Select allroot@Burner:~# uname -a Linux Burner 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux Code: Select allroot@Burner:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 32G 0 disk ├─sda1 8:1 0 31G 0 part / ├─sda2 8:2 0 1K 0 part └─sda5 8:5 0 975M 0 part [SWAP] sdb 8:16 0 1G 0 disk Code: Select allroot@Burner:~# cryptsetup luksFormat --type luks2 --integrity hmac-sha256 /dev/sdb WARNING! ======== This will overwrite data on /dev/sdb irrevocably. Are you sure? (Type 'yes' in capital letters): YES Enter passphrase for /dev/sdb: Verify passphrase: Wiping device to initialize integrity checksum. You can interrupt this by pressing CTRL+c (rest of not wiped device will contain invalid checksum). Finished, time 00m04s, 941 MiB written, speed 218.5 MiB/s Code: Select allroot@Burner:~# cryptsetup luksDump /dev/sdb LUKS header information Version: 2 Epoch: 3 Metadata area: 16384 [bytes] Keyslots area: 16744448 [bytes] UUID: 3382b1d1-1881-46b6-ac9b-1cf71b910bb0 Label: (no label) Subsystem: (no subsystem) Flags: (no flags) Data segments: 0: crypt offset: 16777216 [bytes] length: (whole device) cipher: aes-xts-plain64 sector: 512 [bytes] integrity: hmac(sha256) Keyslots: 0: luks2 Key: 768 bits Priority: normal Cipher: aes-xts-plain64 Cipher key: 512 bits PBKDF: argon2id Time cost: 13 Memory: 1048576 Threads: 4 Salt: ca a7 fc 77 0f 8f 85 8a 5f 5c 8a 50 13 77 c1 c4 cb bd 8b 7a 89 0b 02 d5 c0 99 3c 1a 72 31 89 88 AF stripes: 4000 AF hash: sha256 Area offset:32768 [bytes] Area length:385024 [bytes] Digest ID: 0 Tokens: Digests: 0: pbkdf2 Hash: sha256 Iterations: 98698 Salt: 37 09 c4 b3 87 d6 30 ac 80 c6 a1 48 a5 f9 4d c3 ce 00 76 b7 05 e6 7a 09 a9 ff 3f d9 a0 76 0b bc Digest: e0 71 b2 83 d2 0f 02 f7 7c 74 f8 65 6f d9 d3 e2 e9 6c cb 11 0e 7f b6 f6 4b 12 6e 88 e8 4f a4 db Code: Select allroot@Burner:~# cryptsetup luksOpen /dev/sdb crypt-test Enter passphrase for /dev/sdb: Code: Select allroot@Burner:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 32G 0 disk ├─sda1 8:1 0 31G 0 part / ├─sda2 8:2 0 1K 0 part └─sda5 8:5 0 975M 0 part [SWAP] sdb 8:16 0 1G 0 disk └─crypt-test_dif 254:0 0 941M 0 crypt └─crypt-test 254:1 0 941M 0 crypt Code: Select allroot@Burner:~# blkid /dev/sdb /dev/sdb: UUID="3382b1d1-1881-46b6-ac9b-1cf71b910bb0" TYPE="crypto_LUKS" Code: Select allroot@Burner:~# cat >> /etc/crypttab <<EOF > crypt-test UUID=3382b1d1-1881-46b6-ac9b-1cf71b910bb0 none luks,initramfs > EOF Code: Select allroot@Burner:~# update-initramfs -u -k all update-initramfs: Generating /boot/initrd.img-6.1.0-26-amd64 cryptsetup: ERROR: crypt-test: Source mismatch cryptsetup: WARNING: Couldn't determine cipher modules to load for crypt-test (kernel crypto API format isn't supported yet) update-initramfs: Generating /boot/initrd.img-6.1.0-13-amd64 cryptsetup: ERROR: crypt-test: Source mismatch cryptsetup: WARNING: Couldn't determine cipher modules to load for crypt-test (kernel crypto API format isn't supported yet) | Turns out the cryptsetup ERROR/WARNING spat out by update-initramfs functionally means nothing and can be ignored(At least from what I can tell). Exit code is 0. With the above plus the below I rebooted, got a prompt for unlock, boot continued after passphrase entry, and I verified the unlocked disk. If the below is missing it will complain at boot after attempted unlock about the kernel missing dm-integrity. Hope this helps for anyone else confused about this error. Code: Select allroot@Burner:~# cat >> /etc/initramfs-tools/modules <<EOF dm-integrity EOF |
Hi! My system is Debian Stable, installed from Xfce Live. My question is about deb-src in /etc/apt/sources.list. I decided to try backports-kernel, and followed these instructions: https://forums.debian.net/viewtopic.php?t=159363 According to this, "New(ish) hardware may also require more current firmware. Check if a backports version is available and install it. If not, it is normally safe to install newer firmware packages from Testing or Unstable but do not add those as sources. Rather download the required package and install manually." Have I understood correctly that it means adding "deb-src"-line? If so, can I get explanation why not? What harm can it cause? Because when I was about to modify my sources list, I found out that those both lines were there already, and I confirmed that by default install from Xfce Live Stable creates list like this: # See https://wiki.debian.org/SourcesList for more information. deb http://deb.debian.org/debian bookworm main non-free-firmware deb-src http://deb.debian.org/debian bookworm main non-free-firmware deb http://deb.debian.org/debian bookworm-updates main non-free-firmware deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware deb http://security.debian.org/debian-security/ bookworm-security main non-free-firmware deb-src http://security.debian.org/debian-security/ bookworm-security main non-free-firmware # Backports allow you to install newer versions of software made available for this release deb http://deb.debian.org/debian bookworm-backports main non-free-firmware deb-src http://deb.debian.org/debian bookworm-backports main non-free-firmware So should I remove the last entry, and if yes, then why is it added by default? Thank you in advance! | deb-src lines are there to enable installing source packages of software. You would only need that if you compile Debian packages from sources. Most people don't do that so only require the deb lines to install deb packages which are already compiled. If you don't compile software from Debian sources, just comment out the deb-src lines with a # eg.: Code: Select all# deb-src http://deb.debian.org/debian bookworm main non-free-firmware Doing that will save a little time when running apt update. |
Aptitude has stopped working on one of my debian boxes: Code: Select allfrank@chunky:/var/log$ aptitude search foo terminate called after throwing an instance of 'Xapian::DatabaseNotFoundError' terminate called recursively Aborted It's a headless debian 12 server with no gui istalled. Already tried purging and reinstalling aptitude. No joy. Any suggestions? Frank | Hello, welcome to the forums! Please do not crosspost. If you do, at least post the link to your other post on each of the sites so people do not waste their limited time on questions that have already been asked and answered. You were given a lead on the other site, you should have reported it, your answer gives an interesting clue. Do the following: Code: Select all#> mv /var/lib/apt/lists/ /var/lib/apt/lists-SAVE/ #> aptitude update Does this solve your problem? Please do not delete /var/lib/apt/lists-SAVE/ yet. Note that it is not necessarily a good thing to have apt-xapian-index installed, you may as well uninstall it. note: please use code tags for terminal outputs, I fixed it for you this time. If only the search function is affected, please update the title of your first post accordingly, i.e. [Software] Aptitude search stopped working |
Has anyone connected these bluetooth earbud, if so how? | I have not those, but use bluetooth headphones almost every day. Start here: https://wiki.debian.org/BluetoothUser Report back if you still have issues. |
my /work filesystem had reached the limit of 1000G of memory in use. I then started to delete a number of large files and got the number down to about 800G but over time, it kept increasing again at a rate of about a gigabyte per minute so now it has reached 1000G again. I have tried to track down the problem using “du -cks” but did not manage to find anything out of the ordinary. How to diagnose this? | First, get the terms right. You mean storage, not memory. Code: Select alljournalctl --disk-usage Depending on your setup, may require root. Something is complaining, and is spamming logs. |
Hello, I have installed Debian 12 using debootstrap and when GRUB loads the kernel and the initramfs, it gets an OOM, even though I have plenty more RAM (24GB). The kernel then panics and I get the following message: Code: Select allKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) I am getting the same errors when trying to boot up a Bookworm GNOME Live OS from a DVD. I have searched the internet and found a similar bug on Ubuntu's bugtracker: https://bugs.launchpad.net/oem-priority/+bug/1842320 In some cases, if the users’ initramfs grow bigger, then it’ll likely not be able to be loaded by grub2. The kernel takes up 8MB, and I made my initramfs around 20-30MB (stock settings go to 75MB). | Hello, SaltyRhino95857 wrote: 2024-10-14 10:58 [..] The kernel then panics and I get the following message: Code: Select allKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) I would say that the previous message is not an evidence of a grub OOM error, it simply says that the kernel cannot mount the root file system (it could not be the initramfs). SaltyRhino95857 wrote: 2024-10-14 10:58 [..] I made my initramfs around 20-30MB (stock settings go to 75MB). Perhaps the initramfs is missing something (e.g. the kernel modules to access the disk containing the root file system). Perhaps, you may share a screen recording of the boot sequence after passing the debug parameter to the kernel. Hope this help. |
Hello, I am kind of new to linux and I am using debian 12 as my server OS. When I try to sudo apt update I get this message: Code: Select allrens@ServerRens:~$ sudo apt update [sudo] password for rens: Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian bookworm-updates InRelease Hit:3 http://security.debian.org/debian-security bookworm-security InRelease Ign:4 http://deb.debian.org/debian -backports InRelease Err:5 http://deb.debian.org/debian -backports Release 404 Not Found [IP: 151.101.38.132 80] Hit:6 https://download.docker.com/linux/debian bookworm InRelease Reading package lists... Done E: The repository 'http://deb.debian.org/debian -backports Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. | Hello, welcome! Correct your sources.list according to Debian Backports ›› Instructions Your problem occurs because you copied a line that uses a variable. When this variable is not assigned, it does not work. Code: Select all$> echo "deb https://deb.debian.org/debian ${codename}-backports main contrib non-free non-free-firmware" deb https://deb.debian.org/debian -backports main contrib non-free non-free-firmware $> codename="bookworm" $> echo "deb https://deb.debian.org/debian ${codename}-backports main contrib non-free non-free-firmware" deb https://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware note: please use code tags for terminal outputs, I fixed it for you this time. |
I am seeing an alert after updating the UEFI dbx to version 190 on my starlabs lite mkIII laptop as following: UEFI Secure Boot Forbidden Signature Database This updates the dbx to the latest release from Microsoft which adds insecure versions of grub and shim to the list of forbidden signatures due to multiple discovered security updates. And it poits those CVEs as issues: CVE-2020-7205 CVE-2020-15707 CVE-2020-15706 CVE-2020-15705 CVE-2020-14311 CVE-2020-14310 CVE-2020-14309 174059 CVE-2020-14308 CVE-2020-10713 Should I be worried? | Hello, What is your system? Code: Select all$> cat /etc/debian_version Code: Select all$> uname -a Code: Select all$> apt list shim-signed What do you mean by gnome firmware? |
Greetings, Laptop running Debian 11 Code: Select all$ cat /etc/debian_version 11.7 /etc/apt/sources.list Code: Select alldeb http://deb.debian.org/debian bullseye main contrib non-free deb http://deb.debian.org/debian bullseye-updates main contrib non-free deb http://deb.debian.org/debian bullseye-backports main contrib non-free deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free I stopped doing updates/upgrade due to lack of space on / Recently resized / +2Gb Code: Select all$ sudo apt update Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian bullseye-updates InRelease Hit:3 http://deb.debian.org/debian bullseye-backports InRelease Hit:4 http://security.debian.org/debian-security bullseye-security InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 76 packages can be upgraded. Run 'apt list --upgradable' to see them. Code: Select all$ sudo apt upgrade $ sudo apt upgrade -y Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: amd64-microcode base-files curl firefox-esr firefox-esr-l10n-ar firefox-esr-l10n-ast firefox-esr-l10n-be firefox-esr-l10n-bg firefox-esr-l10n-bn firefox-esr-l10n-bs firefox-esr-l10n-ca firefox-esr-l10n-cs firefox-esr-l10n-cy firefox-esr-l10n-da firefox-esr-l10n-de firefox-esr-l10n-el firefox-esr-l10n-en-gb firefox-esr-l10n-eo firefox-esr-l10n-es-ar firefox-esr-l10n-es-cl firefox-esr-l10n-es-es firefox-esr-l10n-es-mx firefox-esr-l10n-et firefox-esr-l10n-eu firefox-esr-l10n-fa firefox-esr-l10n-fi firefox-esr-l10n-fr firefox-esr-l10n-ga-ie firefox-esr-l10n-gl firefox-esr-l10n-gu-in firefox-esr-l10n-he firefox-esr-l10n-hi-in firefox-esr-l10n-hr firefox-esr-l10n-hu firefox-esr-l10n-id firefox-esr-l10n-is firefox-esr-l10n-it firefox-esr-l10n-ja firefox-esr-l10n-kk firefox-esr-l10n-km firefox-esr-l10n-kn firefox-esr-l10n-ko firefox-esr-l10n-lt firefox-esr-l10n-lv firefox-esr-l10n-mk firefox-esr-l10n-mr firefox-esr-l10n-nb-no firefox-esr-l10n-ne-np firefox-esr-l10n-nl firefox-esr-l10n-nn-no firefox-esr-l10n-pa-in firefox-esr-l10n-pl firefox-esr-l10n-pt-br firefox-esr-l10n-pt-pt firefox-esr-l10n-ro firefox-esr-l10n-ru firefox-esr-l10n-si firefox-esr-l10n-sk firefox-esr-l10n-sl firefox-esr-l10n-sq firefox-esr-l10n-sr firefox-esr-l10n-sv-se firefox-esr-l10n-ta firefox-esr-l10n-te firefox-esr-l10n-th firefox-esr-l10n-tr firefox-esr-l10n-uk firefox-esr-l10n-vi firefox-esr-l10n-zh-cn firefox-esr-l10n-zh-tw intel-microcode libcurl3-gnutls libcurl3-gnutls:i386 libcurl4 libcurl4:i386 usb.ids 76 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 9,062 kB/121 MB of archives. After this operation, 782 kB of additional disk space will be used. Err:1 http://deb.debian.org/debian bullseye/main amd64 base-files amd64 11.1+deb11u10 404 Not Found [IP: 151.101.130.132 80] Err:2 http://deb.debian.org/debian bullseye/non-free amd64 amd64-microcode amd64 3.20230808.1.1~deb11u1 404 Not Found [IP: 151.101.130.132 80] Err:3 http://deb.debian.org/debian bullseye/main amd64 curl amd64 7.74.0-1.3+deb11u12 404 Not Found [IP: 151.101.130.132 80] Err:4 http://deb.debian.org/debian bullseye/main i386 libcurl4 i386 7.74.0-1.3+deb11u12 404 Not Found [IP: 151.101.130.132 80] Err:5 http://deb.debian.org/debian bullseye/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u12 404 Not Found [IP: 151.101.130.132 80] Err:6 http://deb.debian.org/debian bullseye/non-free amd64 intel-microcode amd64 3.20240514.1~deb11u1 404 Not Found [IP: 151.101.130.132 80] Err:7 http://deb.debian.org/debian bullseye/main amd64 libcurl3-gnutls amd64 7.74.0-1.3+deb11u12 404 Not Found [IP: 151.101.130.132 80] Err:8 http://deb.debian.org/debian bullseye/main i386 libcurl3-gnutls i386 7.74.0-1.3+deb11u12 404 Not Found [IP: 151.101.130.132 80] Ign:9 http://deb.debian.org/debian bullseye/main amd64 usb.ids all 2024.01.20-0+deb11u1 Err:9 http://deb.debian.org/debian bullseye/main amd64 usb.ids all 2024.01.20-0+deb11u1 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/b/base-files/base-files_11.1%2bdeb11u10_amd64.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/non-free/a/amd64-microcode/amd64-microcode_3.20230808.1.1%7edeb11u1_amd64.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/curl_7.74.0-1.3%2bdeb11u12_amd64.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/libcurl4_7.74.0-1.3%2bdeb11u12_i386.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/libcurl4_7.74.0-1.3%2bdeb11u12_amd64.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/non-free/i/intel-microcode/intel-microcode_3.20240514.1%7edeb11u1_amd64.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/libcurl3-gnutls_7.74.0-1.3%2bdeb11u12_amd64.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/libcurl3-gnutls_7.74.0-1.3%2bdeb11u12_i386.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/u/usb.ids/usb.ids_2024.01.20-0%2bdeb11u1_all.deb 404 Not Found [IP: 151.101.130.132 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Code: Select allsudo apt upgrade --fix-missing Got me through a bunch of em, leaving 9 that won't update Code: Select all$ sudo apt list --upgradable Listing... Done amd64-microcode/oldstable 3.20230808.1.1~deb11u1 amd64 [upgradable from: 3.20230719.1~deb11u1] base-files/oldstable 11.1+deb11u10 amd64 [upgradable from: 11.1+deb11u7] curl/oldstable 7.74.0-1.3+deb11u12 amd64 [upgradable from: 7.74.0-1.3+deb11u11] intel-microcode/oldstable 3.20240514.1~deb11u1 amd64 [upgradable from: 3.20230214.1~deb11u1] libcurl3-gnutls/oldstable 7.74.0-1.3+deb11u12 amd64 [upgradable from: 7.74.0-1.3+deb11u11] libcurl3-gnutls/oldstable 7.74.0-1.3+deb11u12 i386 [upgradable from: 7.74.0-1.3+deb11u11] libcurl4/oldstable 7.74.0-1.3+deb11u12 amd64 [upgradable from: 7.74.0-1.3+deb11u11] libcurl4/oldstable 7.74.0-1.3+deb11u12 i386 [upgradable from: 7.74.0-1.3+deb11u11] usb.ids/oldstable,oldstable 2024.01.20-0+deb11u1 all [upgradable from: 2023.01.16-0+deb11u1] And..... Code: Select all$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: amd64-microcode base-files curl intel-microcode libcurl3-gnutls libcurl3-gnutls:i386 libcurl4 libcurl4:i386 usb.ids 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 9,062 kB of archives. After this operation, 2,012 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Err:1 http://deb.debian.org/debian bullseye/main amd64 base-files amd64 11.1+deb11u10 404 Not Found [IP: 151.101.130.132 80] Err:2 http://deb.debian.org/debian bullseye/non-free amd64 amd64-microcode amd64 3.20230808.1.1~deb11u1 404 Not Found [IP: 151.101.130.132 80] Err:3 http://deb.debian.org/debian bullseye/main amd64 curl amd64 7.74.0-1.3+deb11u12 404 Not Found [IP: 151.101.130.132 80] Err:4 http://deb.debian.org/debian bullseye/main i386 libcurl4 i386 7.74.0-1.3+deb11u12 404 Not Found [IP: 151.101.130.132 80] Err:5 http://deb.debian.org/debian bullseye/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u12 404 Not Found [IP: 151.101.130.132 80] Err:6 http://deb.debian.org/debian bullseye/non-free amd64 intel-microcode amd64 3.20240514.1~deb11u1 404 Not Found [IP: 151.101.130.132 80] Err:7 http://deb.debian.org/debian bullseye/main i386 libcurl3-gnutls i386 7.74.0-1.3+deb11u12 404 Not Found [IP: 151.101.130.132 80] Err:8 http://deb.debian.org/debian bullseye/main amd64 libcurl3-gnutls amd64 7.74.0-1.3+deb11u12 404 Not Found [IP: 151.101.130.132 80] Ign:9 http://deb.debian.org/debian bullseye/main amd64 usb.ids all 2024.01.20-0+deb11u1 Err:9 http://deb.debian.org/debian bullseye/main amd64 usb.ids all 2024.01.20-0+deb11u1 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/b/base-files/base-files_11.1%2bdeb11u10_amd64.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/non-free/a/amd64-microcode/amd64-microcode_3.20230808.1.1%7edeb11u1_amd64.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/curl_7.74.0-1.3%2bdeb11u12_amd64.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/libcurl4_7.74.0-1.3%2bdeb11u12_i386.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/libcurl4_7.74.0-1.3%2bdeb11u12_amd64.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/non-free/i/intel-microcode/intel-microcode_3.20240514.1%7edeb11u1_amd64.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/libcurl3-gnutls_7.74.0-1.3%2bdeb11u12_i386.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/libcurl3-gnutls_7.74.0-1.3%2bdeb11u12_amd64.deb 404 Not Found [IP: 151.101.130.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/u/usb.ids/usb.ids_2024.01.20-0%2bdeb11u1_all.deb 404 Not Found [IP: 151.101.130.132 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? I'm fresh out of ideas... Suggestions and comments welcome Hope someone can help | I'm in AU and never had a problem using deb.debian.org I checked a couple of the packages that failed to download and they are not the current versions in the repo eg.: intel-microcode should be 3.20240813.1~deb11u1 whereas your post shows 3.20240514.1~deb11u1 is failing to download. Did you run apt update before apt upgrade? |
I have no use to i386 programs anymore. I tried to remove all i386 packages but can't remove all. Code: Select allroot@ic2:~# apt-get remove --purge `dpkg --get-selections | awk '/i386/{print $1}'` Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: gcc-12-base:i386* libc6:i386* libcrypt1:i386* libgcc-s1:i386* WARNING: The following essential packages will be removed. This should NOT be done unless you know exactly what you are doing! libcrypt1:i386 libc6:i386 (due to libcrypt1:i386) libgcc-s1:i386 gcc-12-base:i386 (due to libgcc-s1:i386) 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. After this operation, 13.0 MB disk space will be freed. E: Removing essential system-critical packages is not permitted. This might break the system. Why I get that error and warning message? How to force removing? Why it is dangerous? | Hello, akuankkis wrote: 2024-10-11 14:50 I get this error message and I have only those 4 i386 packages installed. Code: Select allroot@ic2:~# dpkg --remove-architecture i386 dpkg: error: cannot remove architecture 'i386' currently in use by the database Perhaps, there's is still some package installed: sources / dpkg / 1.22.11 / src / main / main.c Code: Select all[..] static int arch_remove(const char *const *argv) { const char *archname = *argv++; struct dpkg_arch *arch; struct pkg_hash_iter *iter; struct pkginfo *pkg; if (archname == NULL || *argv) badusage(_("--%s takes exactly one argument"), cipaction->olong); modstatdb_open(msdbrw_readonly); arch = dpkg_arch_find(archname); if (arch->type != DPKG_ARCH_FOREIGN) { warning(_("cannot remove non-foreign architecture '%s'"), arch->name); return 0; } /* Check if it's safe to remove the architecture from the db. */ iter = pkg_hash_iter_new(); while ((pkg = pkg_hash_iter_next_pkg(iter))) { if (pkg->status < PKG_STAT_HALFINSTALLED) continue; if (pkg->installed.arch == arch) { if (in_force(FORCE_ARCHITECTURE)) warning(_("removing architecture '%s' currently in use by database"), arch->name); else ohshit(_("cannot remove architecture '%s' currently in use by the database"), arch->name); break; } } pkg_hash_iter_free(iter); dpkg_arch_unmark(arch); dpkg_arch_save_list(); modstatdb_shutdown(); return 0; } [..] Perhaps this happens because some i386 packages cannot be removed; from your first post: Code: Select allWARNING: The following essential packages will be removed. This should NOT be done unless you know exactly what you are doing! libcrypt1:i386 libc6:i386 (due to libcrypt1:i386) libgcc-s1:i386 gcc-12-base:i386 (due to libgcc-s1:i386) I suspect the libc6:i386 package cannot be removed, resulting in other packages not being removed. Is the amd64 version installed? Hope this helps. |
I'm inclined to privacy on the 'net. I'ld like to setup an AI LLM ChatBot on Debian. The website: Make Use Of, has a paper on installing AI via Docker. I looked at the wiki for Docker. I looked at the Docker.com website and I cannot understand what is does for me. Yea, I get it is a container for the AI stuff. If you have any experience using Docker, drop me a reply. How much resource(s) does Docker use? Thank you, Debian Community. | The Docker is really handy tool even for single user and can be a lifesaver. In my case, I use it for running Microsoft SQL server on my laptop for some small Django projects. Docker significantly simplified MSSQL configuration under Linux. Once I installed Docker and downloaded the MSSQL container, it was ready to go. The old way installing and configuring MSSQL was a pain and no longer supported by Microsoft on modern Linux system. Footprint in my case is very small and does not impact overall performance even on old laptops with chip Celeron processors. It comes down to running two processes in background - containerd and docker. I ran docker on Bookworm and Trixie without any issues. I think you should definitely try Docker. You will love it. I hope this answers your question. |
Hello, With vi editor, I wrote : Code: Select allStatus;;Identif;type;master;;en;fr;es;it;pt-pt;de;ru;nl;el;pl;ja;zh-hans ok;taxo;0186;gender;;;without;sans;sin;senza;sem;ohne;без;zonder;χωρίς;bez;せずに;无 ok;taxo;0187;gender;;;feminin;féminin;femenino;femminile;feminino;weiblich;женский;vrouw;θηλυκό;kobieta;女性;女 ok;taxo;0188;gender;;;masculin;masculin;masculino;maschile;masculino;männlich;мужской;man;αρσενικό;mężczyzna;男性;男 ok;taxo;0189;gender;;;neutral;neutre;neutro;neutro;neutro;neutral;нейтрально;neutraal;ουδέτερο;neutralny;ニュートラル;中性 ok;taxo;0190;gender;;;to define;à définir;para definir;definire;para definir;zu definieren;определить;definiëren;να καθορίσουν;określenie;定義する;定义 ok;taxo;0191;gender;;;indeterminate;indéterminé;indeterminado;indeterminato;indeterminado;unbestimmt;неопределенный;onbepaald;ασαφής;nieokreślony;不定の;不定 With cat or more or less I got : Code: Select all��Status;;Identif;type;master;;en;fr;es;it;pt-pt;de;ru;nl;el;pl;ja;zh-hans ok;taxo;0186;gender;;;without;sans;sin;senza;sem;ohne;157;zonder;�����;bez;[0Z0k0;�e ok;taxo;0187;gender;;;feminin;f�minin;femenino;femminile;feminino;weiblich;65=A:89;vrouw;������;kobieta;sY'`;sY ok;taxo;0188;gender;;;masculin;masculin;masculino;maschile;masculino;m�nnlich;<C6A:>9;man;��������;m|czyzna;7u'`;7u ok;taxo;0189;gender;;;neutral;neutre;neutro;neutro;neutro;neutral;=59B@0;L=>;neutraal;��������;neutralny;�0�0�0�0�0�0;-N'` ok;taxo;0190;gender;;;to define;� d�finir;para definir;definire;para definir;zu definieren;>?@545;8BL;defini�ren;�� ����������;okre[lenie;�[�Y0�0;�[IN N�[n0;o;0191;gender;;;indeterminate;ind�termin�;indeterminado;indeterminato;indeterminado;unbestimmt;=5>?@545;5==K9;onbepaald;������;nieokre[lony; I don't understant what cat | grep output : Code: Select allcat babel_gender.csv | grep e grep: (entrée standard) : fichiers binaires correspondent With locale as : Code: Select allLANG=fr_FR.UTF-8 LANGUAGE=fr_FR.UTF-8 LC_CTYPE="fr_FR.UTF-8" LC_NUMERIC="fr_FR.UTF-8" LC_TIME="fr_FR.UTF-8" LC_COLLATE="fr_FR.UTF-8" LC_MONETARY="fr_FR.UTF-8" LC_MESSAGES="fr_FR.UTF-8" LC_PAPER="fr_FR.UTF-8" LC_NAME="fr_FR.UTF-8" LC_ADDRESS="fr_FR.UTF-8" LC_TELEPHONE="fr_FR.UTF-8" LC_MEASUREMENT="fr_FR.UTF-8" LC_IDENTIFICATION="fr_FR.UTF-8" LC_ALL=fr_FR.UTF-8 Help will be appreciate Thanks Bertrand | Hello, What is the question ? Please use code tags for log files. This time I did i for you. |
I am running Debian 12 with nVidia proprietary drivers installed from the official nVidia repository for Debian. I have SecureBoot enabled on my system and have set up automatic module signing via DKMS, as described in this reddit thread. This worked well until I updated the drivers from 560.35.03 to 565.57.01, following the recent security advisories. It seems like signing the nVidia modules no longer works and my system no longer boots into graphic mode, with errors reported from nvidia-persistencd service. Trying to sign a module manually by calling: Code: Select all/usr/src/linux-headers-6.1.0-26-amd64/scripts/sign-file sha256 /root/.mok/MOK.priv /root/.mok/MOK.der /lib/modules/6.1.0-26-amd64/updates/dkms/nvidia-current-drm.ko results in: Code: Select allAt main.c:298: - SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67 - SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75 sign-file: /lib/modules/6.1.0-26-amd64/updates/dkms/nvidia-current-drm.ko I note that there are no errors reported when (re)installing the nVidia driver packages, as if they were omitted or as if the module signing was not even attempted. Also, I can sign VirtualBox modules just fine, so it is not a general module signing problem, but rather specific to nVidia. The only way I can boot into graphic mode is by disabling SecureBoot in the BIOS. Help appreciated. | Hello, Perhaps this earlier discussion will help you (suspect that the PEM signing key is not in the format expected by the building process of the kernel): Help with compiling a signed vanilla kernel |
Hi! during the installation process I used the whole drive to install debian 12 as it wont let me partition the drive for some reasons that I do not know. Now I have the whole 1TB as my root drive. Is it possible to shrink it or maybe add new partition to it for my data? I tried using gparted it won't let me. If you can point me to the right direction I really appreciate it. Thanks. | Hello, You can boot Debian from a Debian DVD Live ISO and use the gparted utility to resize partitions to your liking. -- note: moved to "General Questions" sub-forum. |
Over the last few weeks, I've noticed a crackling sound from the speakers. It is not continuous and seems to mainly happen when [but not only] I am browsing. It may even occur more when I am on X or WhatsappWeb, or it may just be my imagination. I have googled and youtubed for answers but nothing has fixed it. I have switched to Pop-Os and Ubuntu 24.04LTS and same thing happens. Has anyone else had this issue and been able to fix it? | Which attempts exactly have you tried? |
I have a ProtonDrive "cloud" account. I am trying to make a first copy of my /home to the cloud and thereafter sync objects. For weeks I've been reading what the Internet has to offer on this subject. I've not been able to learn what to do. I have not come to understand whether rclone, rsync or ssh are best. Whether they must be used in combination with each other. Most of the how-to(s) on the 'net expect the reader to have a better basic understanding of what to do. Below is an example of what I read and cannot understand. That is from the https://linux.die.net/man/1/rsync rsync manual. Code: Select all -L, --copy-links transform symlink into referent file/dir --copy-unsafe-links only "unsafe" symlinks are transformed So, one of the questions for this noob is: do I need to use Code: Select all --copy-unsafe-links if some word processor document or spreadsheet has links in it? Maybe those links are out-of-date; I know some of mine are? How does this affect the copy. Yes, I apologize I know this is not a good question, I'm brought to a dead halt by my lack of knowledge. Sorry. Thank you, Debian Community. | They're talking about symlinks, not links to websites. A symlink (symbolic link) is what we'd call in Windows terms, a shortcut to a file. Your documents won't be affected. |
My system clock was wrong about some hours and minutes , But Debian Time ( As I set it Automatically from Internet ) was 25 minutes later ... So today I set-up my System time and logged in to Debian and now Debian is 3 hours and 50 minutes later and wrong ! I have enabled Location Services ( As default ) and Automatic Time Zone .... Should I change it manually ? Is it true ? Why Debian Internet services are wrong ? | Please post the output of Code: Select alltimedatectl |
The implicated files : viewable by the command : /var/log/wtmp : last /var/log/btmp ; lastb /var/log/lastlog : lastlog Maybe with unset , like unset LOGINFILE in /etc/bash.bashrc ? I put unset HISTFILE in it to not save the command history . | alienspy wrote: 2024-07-06 22:35 Code: Select all Make the above file immutable if you wish the system to stop storing this information permanently: # chattr +i /var/log/wtmp /var/log/btmp Note that man 1 last says The files wtmp and btmp might not be found. The system only logs information in these files if they are present. |
Hello. When trying to use audio effects VLC crashes: Code: Select all$ vlc VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) [000055c23abdc550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [000055c23ac8da40] qt interface error: cannot start Qt multiple times [00007f11c401c490] qt generic error: cannot start Qt multiple times [000055c23ac8da40] skins2 interface error: cannot instantiate dialogs provider [000055c23ac7da70] main playlist: playlist is empty [000055c23ac8da40] [cli] lua interface: Listening on host "*console". VLC media player 3.0.21 Vetinari Command Line Interface initialized. Type `help' for help. > Segmentation fault (core dumped) How can this be resolved? Maybe some additional information needs to be provided? | More information should be stored in mentioned core dump. And even more, when you install debugging symbols for VLC (and it will fail with them). |
Hi. I've been having problems attempting to login to a private docker registry hosted in one of my servers. Said server is running the lastest version of the registry v2 container and its using a self signed SSL certificate. I've used that server for a long time with no problems connecting from other servers running debian 11. I can login from this servers without any problem. Recently I started using some other servers running debian 12 that have the latest version of the docker.io package from the official repository (20.10.24+dfsg1-1+b3). The output of "docker version" is: Code: Select allClient: Version: 20.10.24+dfsg1 API version: 1.41 Go version: go1.19.8 Git commit: 297e128 Built: Thu May 18 08:38:34 2023 OS/Arch: linux/amd64 Context: default Experimental: true Server: Engine: Version: 20.10.24+dfsg1 API version: 1.41 (minimum version 1.12) Go version: go1.19.8 Git commit: 5d6db84 Built: Thu May 18 08:38:34 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.20~ds1 GitCommit: 1.6.20~ds1-1+b1 runc: Version: 1.1.5+ds1 GitCommit: 1.1.5+ds1-1+deb12u1 docker-init: Version: 0.19.0 GitCommit: Anyways, And whenever I attempt to login to my registry from any of these servers running debian 12 I get the following error message: Code: Select allError response from daemon: Get "https://myregistryhostname.com/v2/": x509: certificate has expired or is not yet valid: current time 2024-09-20T11:40:04-03:00 is after 2024-07-07T23:59:59Z The registry server certificate has not expired. I don't know where this date "2024-07-07T23:59:59Z" is coming from... I checked the logs from "journalctl -xu docker.service": Code: Select allSep 20 11:14:42 mypchostname dockerd[1643]: time="2024-09-20T11:14:42.292842519-03:00" level=debug msg="Calling HEAD /_ping" Sep 20 11:14:42 mypchostname dockerd[1643]: time="2024-09-20T11:14:42.294857569-03:00" level=debug msg="Calling GET /v1.41/info" Sep 20 11:14:43 mypchostname dockerd[1643]: time="2024-09-20T11:14:43.914240841-03:00" level=debug msg="Calling POST /v1.41/auth" Sep 20 11:14:43 mypchostname dockerd[1643]: time="2024-09-20T11:14:43.914381179-03:00" level=debug msg="form data: {\"password\":\"*****\",\"serveraddress\":\"myregistryhostname.com\",\"username\":\"myregusername\"}" Sep 20 11:14:43 mypchostname dockerd[1643]: time="2024-09-20T11:14:43.916570750-03:00" level=debug msg="hostDir: /etc/docker/certs.d/myregistryhostname.com" Sep 20 11:14:43 mypchostname dockerd[1643]: time="2024-09-20T11:14:43.916730791-03:00" level=debug msg="crt: /etc/docker/certs.d/myregistryhostname.com/ca.crt" Sep 20 11:14:43 mypchostname dockerd[1643]: time="2024-09-20T11:14:43.916842870-03:00" level=debug msg="cert: /etc/docker/certs.d/myregistryhostname.com/client.cert" Sep 20 11:14:43 mypchostname dockerd[1643]: time="2024-09-20T11:14:43.917113685-03:00" level=debug msg="key: /etc/docker/certs.d/myregistryhostname.com/client.key" Sep 20 11:14:43 mypchostname dockerd[1643]: time="2024-09-20T11:14:43.917144825-03:00" level=debug msg="attempting v2 login to registry endpoint https://myregistryhostname.com/v2/" Sep 20 11:14:44 mypchostname dockerd[1643]: time="2024-09-20T11:14:44.142658011-03:00" level=info msg="Error logging in to endpoint, trying next endpoint" error="Get \"https://myregistryhostname.com/v2/\": x509: certificate has expired or is not yet valid: current time 2024-09-20T11:14:44-03:00 is after 2024-07-07T23:59:59Z" Sep 20 11:14:44 mypchostname dockerd[1643]: time="2024-09-20T11:14:44.142785344-03:00" level=debug msg="FIXME: Got an API for which error does not match any expected type!!!: Get \"https://myregistryhostname.com/v2/\": x509: certificate has expired or is not yet valid: current time 2024-09-20T11:14:44-03:00 is after 2024-07-07T23:59:59Z" error_type=registry.fallbackError module=api Sep 20 11:14:44 mypchostname dockerd[1643]: time="2024-09-20T11:14:44.142857659-03:00" level=error msg="Handler for POST /v1.41/auth returned error: Get \"https://myregistryhostname.com/v2/\": x509: certificate has expired or is not yet valid: current time 2024-09-20T11:14:44-03:00 is after 2024-07-07T23:59:59Z" Sep 20 11:14:44 mypchostname dockerd[1643]: time="2024-09-20T11:14:44.142905847-03:00" level=debug msg="FIXME: Got an API for which error does not match any expected type!!!: Get \"https://myregistryhostname.com/v2/\": x509: certificate has expired or is not yet valid: current time 2024-09-20T11:14:44-03:00 is after 2024-07-07T23:59:59Z" error_type=registry.fallbackError module=api Sep 20 11:15:31 mypchostname dockerd[1643]: time="2024-09-20T11:15:31.990754228-03:00" level=debug msg="Calling HEAD /_ping" Sep 20 11:15:31 mypchostname dockerd[1643]: time="2024-09-20T11:15:31.991966986-03:00" level=debug msg="Calling GET /v1.41/info" Sep 20 11:15:33 mypchostname dockerd[1643]: time="2024-09-20T11:15:33.781924063-03:00" level=debug msg="Calling POST /v1.41/auth" Sep 20 11:15:33 mypchostname dockerd[1643]: time="2024-09-20T11:15:33.782146843-03:00" level=debug msg="form data: {\"password\":\"*****\",\"serveraddress\":\"myregistryhostname.com\",\"username\":\"myregusername\"}" Sep 20 11:15:33 mypchostname dockerd[1643]: time="2024-09-20T11:15:33.784386715-03:00" level=debug msg="hostDir: /etc/docker/certs.d/myregistryhostname.com" Sep 20 11:15:33 mypchostname dockerd[1643]: time="2024-09-20T11:15:33.784775856-03:00" level=debug msg="crt: /etc/docker/certs.d/myregistryhostname.com/ca.crt" Sep 20 11:15:33 mypchostname dockerd[1643]: time="2024-09-20T11:15:33.784983063-03:00" level=debug msg="attempting v2 login to registry endpoint https://myregistryhostname.com/v2/" Sep 20 11:15:33 mypchostname dockerd[1643]: time="2024-09-20T11:15:33.789371317-03:00" level=info msg="Error logging in to endpoint, trying next endpoint" error="Get \"https://myregistryhostname.com/v2/\": x509: certificate has expired or is not yet valid: current time 2024-09-20T11:15:33-03:00 is after 2024-07-07T23:59:59Z" Sep 20 11:15:33 mypchostname dockerd[1643]: time="2024-09-20T11:15:33.789451461-03:00" level=debug msg="FIXME: Got an API for which error does not match any expected type!!!: Get \"https://myregistryhostname.com/v2/\": x509: certificate has expired or is not yet valid: current time 2024-09-20T11:15:33-03:00 is after 2024-07-07T23:59:59Z" error_type=registry.fallbackError module=api Sep 20 11:15:33 mypchostname dockerd[1643]: time="2024-09-20T11:15:33.789484444-03:00" level=error msg="Handler for POST /v1.41/auth returned error: Get \"https://myregistryhostname.com/v2/\": x509: certificate has expired or is not yet valid: current time 2024-09-20T11:15:33-03:00 is after 2024-07-07T23:59:59Z" Sep 20 11:15:33 mypchostname dockerd[1643]: time="2024-09-20T11:15:33.789526638-03:00" level=debug msg="FIXME: Got an API for which error does not match any expected type!!!: Get \"https://myregistryhostname.com/v2/\": x509: certificate has expired or is not yet valid: current time 2024-09-20T11:15:33-03:00 is after 2024-07-07T23:59:59Z" error_type=registry.fallbackError module=api Sep 20 11:15:50 mypchostname dockerd[1643]: time="2024-09-20T11:15:50.965001805-03:00" level=debug msg="Calling HEAD /_ping" Sep 20 11:15:50 mypchostname dockerd[1643]: time="2024-09-20T11:15:50.965600374-03:00" level=debug msg="Calling GET /v1.41/info" Sep 20 11:15:52 mypchostname dockerd[1643]: time="2024-09-20T11:15:52.471505390-03:00" level=debug msg="Calling POST /v1.41/auth" Sep 20 11:15:52 mypchostname dockerd[1643]: time="2024-09-20T11:15:52.471704798-03:00" level=debug msg="form data: {\"password\":\"*****\",\"serveraddress\":\"myregistryhostname.com\",\"username\":\"myregusername\"}" Sep 20 11:15:52 mypchostname dockerd[1643]: time="2024-09-20T11:15:52.474120368-03:00" level=debug msg="hostDir: /etc/docker/certs.d/myregistryhostname.com" Sep 20 11:15:52 mypchostname dockerd[1643]: time="2024-09-20T11:15:52.474179431-03:00" level=debug msg="attempting v2 login to registry endpoint https://myregistryhostname.com/v2/" Sep 20 11:15:52 mypchostname dockerd[1643]: time="2024-09-20T11:15:52.478535095-03:00" level=info msg="Error logging in to endpoint, trying next endpoint" error="Get \"https://myregistryhostname.com/v2/\": x509: certificate has expired or is not yet valid: current time 2024-09-20T11:15:52-03:00 is after 2024-07-07T23:59:59Z" Sep 20 11:15:52 mypchostname dockerd[1643]: time="2024-09-20T11:15:52.478678097-03:00" level=debug msg="FIXME: Got an API for which error does not match any expected type!!!: Get \"https://myregistryhostname.com/v2/\": x509: certificate has expired or is not yet valid: current time 2024-09-20T11:15:52-03:00 is after 2024-07-07T23:59:59Z" error_type=registry.fallbackError module=api Sep 20 11:15:52 mypchostname dockerd[1643]: time="2024-09-20T11:15:52.478734756-03:00" level=error msg="Handler for POST /v1.41/auth returned error: Get \"https://myregistryhostname.com/v2/\": x509: certificate has expired or is not yet valid: current time 2024-09-20T11:15:52-03:00 is after 2024-07-07T23:59:59Z" Sep 20 11:15:52 mypchostname dockerd[1643]: time="2024-09-20T11:15:52.478764622-03:00" level=debug msg="FIXME: Got an API for which error does not match any expected type!!!: Get \"https://myregistryhostname.com/v2/\": x509: certificate has expired or is not yet valid: current time 2024-09-20T11:15:52-03:00 is after 2024-07-07T23:59:59Z" error_type=registry.fallbackError module=api There you can see multiple tries, configuring docker to accept the self signed certificate. Configuring client certificates. Without any certificate configuration at all. And I always get the same error. I even tried stopping my registry server entirely and get the same error. So the problem is clearly from the client side. I don't know if this is a bug with the docker.io package from the official repo. Or if there is some new configuration required for Debian 12 that I need to do. Also if I attempt to login to the official docker registry, it works fine. I just get the error if I pass another url. Any ideas what could be the problem? Thanks in advance. | Nevermind. It wasn't a problemn with Debian 11. I just misconfigured the proxy address... |
I'm using Debian GNU/Linux 12 bookworm (x86-64). The Debian repos don't include a later RClone, which is at 1.60. The most recent rclone is version 1.68. and it supports Proton Drive (from Protonmail.com), my target drive. Who can I contact about whether or when a more recent rclone will get into the repos? Thank you, Debian Community. | Hello, JeSuisFlaneur wrote: 2024-09-23 12:59 I'm using Debian GNU/Linux 12 bookworm (x86-64). The Debian repos don't include a later RClone, which is at 1.60. The most recent rclone is version 1.68. and it supports Proton Drive (from Protonmail.com), my target drive. Who can I contact about whether or when a more recent rclone will get into the repos? Thank you, Debian Community. You can ask maintainers of the package: https://tracker.debian.org/pkg/rclone |
I have a system with a netapp jbod sas array attached. The system wont boot if the array is attached. It hangs on "Welcome to grub". But it boots normally with the sas unplugged. And it works perfectly fine if I plug it in after the os is booted. I thought that maybe it was os-prober scanning all the disks, so I disabled it using GRUB_DISABLE_OS_PROBER=true, but that did not help. Any help or insight would be greatly appreciated! Debian GNU/Linux 12 (bookworm) 6.10.6+bpo-amd64 Broadcom / LSI SAS3008 PCI-Express Fusion-MPT SAS-3 | Hello, gnometsunami wrote: 2024-09-21 18:35 I have resolved this issue by upgrading to a newer broadcom 9500 hba. Thanks for reporting back. I'm glad you sorted it out. :) Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message (after other tags). Happy Debian ! :) |
Hello, The security vulnerability in the topic has been reported recently: | CUPS is a standards-based, open-source printing system, and `cups- | browsed` contains network printing functionality including, but not | limited to, auto-discovering print services and shared printers. | `cups-browsed` binds to `INADDR_ANY:631`, causing it to trust any | packet from any source, and can cause the `Get-Printer-Attributes` | IPP request to an attacker controlled URL. Due to the service | binding to `*:631 ( INADDR_ANY )`, multiple bugs in `cups-browsed` | can be exploited in sequence to introduce a malicious printer to the | system. This chain of exploits ultimately enables an attacker to | execute arbitrary commands remotely on the target machine without | authentication when a print job is started. This poses a significant | security risk over the network. Notably, this vulnerability is | particularly concerning as it can be exploited from the public | internet, potentially exposing a vast number of systems to remote | attacks if their CUPS services are enabled. At the time of writing this post, a fix is available for Debian Unstable via a package upgrade. — https://security-tracker.debian.org/tra ... 2024-47176 https://bugs.debian.org/cgi-bin/bugrepo ... ug=1082820 | Hello, In the Debian CVE is reported: Mitigations cover: For servers, stop and remove the cups-browsed package. For client/desktop systems: Remore 'cups' from the "BrowseRemoteProtocols" line in /etc/cups/cups-browsed.conf and restart the cups-browsed service. The attack starts with a rogue computer spoofing a fake network printer. The attacked host is running a CUPS server and allows the fake network printer to execute arbitrary code on the server when trying printing with the fake printer. So, the risk is higher for publicly opened networks with cups servers running. Private networks (i.e. behind a NAT) are at risk if authorized users (or intruders) set up a rogue computer for the attack inside the network. |
Hello, I'm new here and always trying to learn some more about linux/debian in general. A few days ago I attempted to upgrade to the 6.9.7 kernel backport. Surprisingly the process failed. It appears to be related to dkms failing to build the driver given by the package "v4l2loopback-dkms" with the 6.9 headers. The build fails and the problem is clear, it cannot resolve the function "strlcpy()". After looking it up this appears to be due to the kernel sometime around ~6.8 dropping it's usage (see here https://unix.stackexchange.com/question ... -1-2-fails). My question is to the state of my system after this hiccup. - The kernel was installed but not set as default, so I still boot with 6.7.12 (and can use the v4l2loopback driver just fine). However, 6.6.13 is now marked for removal. Is this correct? - I just upgraded some other packages and the dkms setup for the new kernel attempted to run again. Will this happen at every package install/upgrade? - Should I take any action? Thanks, And just in case, here's the dkms setup failure: Code: Select allSetting up linux-image-6.9.7+bpo-amd64 (6.9.7-1~bpo12+1) ... /etc/kernel/postinst.d/dkms: dkms: running auto installation service for kernel 6.9.7+bpo-amd64. Sign command: /lib/modules/6.9.7+bpo-amd64/build/scripts/sign-file Signing key: /var/lib/dkms/mok.key Public certificate (MOK): /var/lib/dkms/mok.pub Building module: Cleaning build area... make -j16 KERNELRELEASE=6.9.7+bpo-amd64 KERNEL_DIR=/lib/modules/6.9.7+bpo-amd64/build all...(bad exit status: 2) Error! Bad return status for module build on kernel: 6.9.7+bpo-amd64 (x86_64) Consult /var/lib/dkms/v4l2loopback/0.12.7/build/make.log for more information. Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. dkms: autoinstall for kernel: 6.9.7+bpo-amd64 failed! run-parts: /etc/kernel/postinst.d/dkms exited with return code 11 dpkg: error processing package linux-image-6.9.7+bpo-amd64 (--configure): installed linux-image-6.9.7+bpo-amd64 package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of linux-headers-6.9.7+bpo-amd64: linux-headers-6.9.7+bpo-amd64 depends on linux-image-6.9.7+bpo-amd64 (= 6.9.7-1~bpo12+1) | linux-image-6.9.7+bpo-amd64-unsigned (= 6.9 .7-1~bpo12+1); however: Package linux-image-6.9.7+bpo-amd64 is not configured yet. Package linux-image-6.9.7+bpo-amd64-unsigned is not installed. dpkg: error processing package linux-headers-6.9.7+bpo-amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-headers-amd64: linux-headers-amd64 depends on linux-headers-6.9.7+bpo-amd64 (= 6.9.7-1~bpo12+1); however: Package linux-headers-6.9.7+bpo-amd64 is not configured yet. dpkg: error processing package linux-headers-amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-image-amd64: linux-image-amd64 depends on linux-image-6.9.7+bpo-amd64 (= 6.9.7-1~bpo12+1); however: Package linux-image-6.9.7+bpo-amd64 is not configured yet. dpkg: error processing package linux-image-amd64 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: linux-image-6.9.7+bpo-amd64 linux-headers-6.9.7+bpo-amd64 linux-headers-amd64 linux-image-amd64 E: Sub-process /usr/bin/dpkg returned an error code (1) | It looks like apt is complaining about missing kernel headers. Did you install kernel headers when installing 6.9.7? I would recommend installing appropriate kernel headers and then reinstalling the 6.9.7 kernel. |
My computer Code: Select allSystem: Kernel: 5.10.0-32-amd64 arch: x86_64 bits: 64 compiler: gcc v: 10.2.1 parameters: BOOT_IMAGE=/vmlinuz-5.10.0-32-amd64 root=/dev/mapper/hostname--vg-root ro quiet crashkernel=384M-:128M Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 7 dm: SDDM Distro: Debian GNU/Linux 12 (bookworm) suddenly power cycled so I have listed current and previous journal boots: sudo journalctl --list-boots Then under previous boot displayed as boot -1 in previous command output, I have listed its most recent journal entries: sudo journalctl -b -1 -e Code: Select allOct 04 08:16:20 systemd[1689]: Starting tracker-miner-fs-3.service - Tracker file system data miner... Oct 04 08:16:20 tracker-miner-f[4120824]: Error opening readwrite database: database disk image is malformed Oct 04 08:16:20 tracker-miner-f[4120824]: tracker_db_interface_create_statement: assertion 'TRACKER_IS_DB_INTERFACE (db_interface)' failed Oct 04 08:16:20 tracker-miner-f[4120824]: Could not delete '.meta.isrunning': No such file or directory Oct 04 08:16:20 tracker-miner-f[4120824]: Could not create store/endpoint: Database version is too old: got version 0, but 27 is needed Oct 04 08:16:20 systemd[1689]: tracker-miner-fs-3.service: Main process exited, code=exited, status=1/FAILURE Oct 04 08:16:20 systemd[1689]: tracker-miner-fs-3.service: Failed with result 'exit-code'. Oct 04 08:16:20 systemd[1689]: Failed to start tracker-miner-fs-3.service - Tracker file system data miner. Oct 04 08:16:20 systemd[1689]: tracker-miner-fs-3.service: Scheduled restart job, restart counter is at 5. Oct 04 08:16:20 systemd[1689]: Stopped tracker-miner-fs-3.service - Tracker file system data miner. Oct 04 08:16:20 systemd[1689]: tracker-miner-fs-3.service: Start request repeated too quickly. Oct 04 08:16:20 systemd[1689]: tracker-miner-fs-3.service: Failed with result 'exit-code'. Oct 04 08:16:20 systemd[1689]: Failed to start tracker-miner-fs-3.service - Tracker file system data miner. Oct 04 08:16:32 plasmashell[2172139]: [2024-10-04 08:16:32.262] [ ] [debug] autosave: no needs to save file (no more entries under that boot) I have then tried command: tracker3 reset -s Code: Select all -s, --filesystem Remove filesystem indexer database -r, --rss Remove RSS indexer database -f, --file=FILE Erase indexed information about a file, works recursively for directories Then: tracker3 status Code: Select allCurrently indexed: 0 files, 0 folders Remaining space on database partition: 10.9 GB (9.36%) Data is still being indexed: Estimated less than one second left (later same command shown number of indexed files) Further checking journalctl output (sudo journalctl -rg tracker): Code: Select allsystemd[2213]: Started tracker-extract-3.service - Tracker metadata extractor. Anyone has idea please how that could happen and why it did not fix itself, did i fix it? If I need to run any command, please let me know. Thank you. | So you are running KDE but have a GNOME index program installed. It doesn't exist on my KDE system. Check if it's installed: Code: Select all$ apt list tracker* and delete it. I don't know if there will be any consequences but it seems to me to be useless. |
Hello all. I used to use Debian with Ext4 a while ago and migrated to MicroOS with btrfs. I use LUKS disk encryption. MicroOS is giving me problems with TPM2 decryption, so I want to mix it up and migrate to Debian (no gui for server) + BFTRS + Luks. To do this I'm installing it using debootstrap. The problem appears when I try to run a rootless podman container: Code: Select allError: unable to start container: crun: open executable: Permission denied: OCI permission denied. If I run the command with --log-level=debug, for example the following container: Code: Select all$ podman run --privileged --security-opt apparmor=unconfined --rm --log-level=debug --name test --group-add keep-groups --pid=host --ipc=host docker.io/traefik/whoami:latest I get the error: Code: Select allDEBU[0000] Received: -1 I have also tried the tags: Code: Select all--security-opt label=disable --security-opt seccomp=unconfined --security-opt unmask=all According to this website https://docs.earthly.dev/docs/guides/podman crun: open executable: Permission denied: OCI permission denied. This can happen if you attempt to run (or the ENTRYPOINT references) a binary without the execution permission. https://github.com/containers/podman/issues/9377 https://github.com/signalwire/freeswitch/pull/1748 But, if I use the Debian installer following this guide, same podman commands are working for me (although it is not the configuration I want). I don't understand what the problem is. The rootless user I use belongs to the sudo and dialout groups. I have tried disabling apparmor: Code: Select all$ sudo systemctl disable apparmor I have rebooted and checked: Code: Select all$ sudo aa-status apparmor module is loaded Can you tell me what I can check? I can open the 2 virtual machines in parallel, the one that works and the one that doesn't work | Hello, juanj wrote: 2024-09-27 15:42 [..] a while ago and migrated to MicroOS with btrfs. [..] I want to mix it up and migrate to Debian (no gui for server) + BFTRS + Luks. To do this I'm installing it using debootstrap. What do you want to "mix" ? |
Error : Code: Select alldebootstrap --components=main,contrib,non-free,non-free-firmware --exclude=firmware-nvidia-graphics --include=linux-image-amd64,firmware-linux,network-manager,systemd-timesyncd,systemd-ukify,systemd-boot testing /mnt/o konsole.txt (30.31 KiB) Downloaded 27 times debootstrap.log (105.97 KiB) Downloaded 42 times Success : Code: Select alldebootstrap --components=main,contrib,non-free,non-free-firmware --exclude=firmware-nvidia-graphics --include=linux-image-amd64,firmware-linux,network-manager,dbus,libpam-systemd,systemd-timesyncd,systemd-ukify,systemd-boot testing /mnt/o https://forums.debian.net/viewtopic.php?t=159997 Why does the 1st simplest code not work ? Is it a bug of debootstrap ? | Hello, As far I can verify, it seems debootstrap cannot install packages that depend on virtual packages [1][2][3]. In your previous post, the difference between the two commands is that the second one succeeds because it also includes (with --include) the following packages: dbus libpam-systemd I suspect that the previous two packages supply (with their dependencies) the dependencies of the following virtual packages: dbus-system-bus default-dbus-system-bus default-logind This is an except from your the debootstrap log: Code: Select alldpkg: error processing package polkitd (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: network-manager polkitd dpkg: dependency problems prevent configuration of network-manager: network-manager depends on default-dbus-system-bus | dbus-system-bus; however: Package default-dbus-system-bus is not installed. Package dbus-system-bus is not installed. dpkg: error processing package network-manager (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of polkitd: polkitd depends on default-dbus-system-bus | dbus-system-bus; however: Package default-dbus-system-bus is not installed. Package dbus-system-bus is not installed. polkitd depends on default-logind | logind; however: Package default-logind is not installed. Package logind is not installed. If you verify with apt: Code: Select all$ apt show default-dbus-system-bus Package: default-dbus-system-bus State: not a real package (virtual) Notice: Can't select candidate version from package default-dbus-system-bus as it has no candidate Notice: Can't select versions from package 'default-dbus-system-bus' as it is purely virtual Notice: No packages found $ apt show dbus-system-bus Package: dbus-system-bus State: not a real package (virtual) Notice: Can't select candidate version from package dbus-system-bus as it has no candidate Notice: Can't select versions from package 'dbus-system-bus' as it is purely virtual Notice: No packages found $ apt show default-logind Package: default-logind State: not a real package (virtual) Notice: Can't select candidate version from package default-logind as it has no candidate Notice: Can't select versions from package 'default-logind' as it is purely virtual Notice: No packages found Hope this helps. -- [1] Debian Bug report logs - #878961 debootstrap fails to resolve dependencies on virtual packages [2] Debian Bug report logs - #827602 libdirectfb-dev depends on libpng but fails to install it when installing libdirectfb-dev [3] Debian Bug report logs - #931760 doesn't pull perl-openssl-defaults in debootstrap |
Hi all, I have installed some specific packages by adding a source file to the apt configuration. However, after some time, I didn't want to use the source anymore. So, before removing the source, I want to know which packages I have installed from that source. I wounder if there is some command in the apt tools to query something like this: Code: Select allSELECT package FROM installed_packages WHERE source = 'src' Of course, I am not expecting an SQL query, but a command like the following: Code: Select allapt list-from-source src | Of course. Checking my notes: To get a list of packages installed from a specific repository just grep on apt-show-versions Code: Select allapt-show-versions | grep backport -------------------- List packages installed from non-Debian sources: Code: Select allapt list '?narrow(?installed, ?not(?origin(Debian)))' -------------------- Synaptic can also display sources of packages. |
I know it from another laptop with Debian 11 that it is in 11.10 now but this one is in 11.8 with all the updates done I have run Code: Select allsudo apt update && sudo apt upgrade and i check the version with Code: Select allcat /etc/debian_version This laptop was on the closet for many months and didn't receive the updates as they came out. Is there anything I can do? | What you just stated is what you do. Did you not try it? Do the 'apt update' as a single operation, see the results... debian_version is updated by base-files, so at this point you should have a candidate for upgrade. Random example showing an installed version and a newer candidate; Code: Select all$ apt policy base-files base-files: Installed: 12.4+deb12u1 Candidate: 12.4+deb12u5 Version table: 12.4+deb12u5 500 500 http://ftp.us.debian.org/debian bookworm/main i386 Packages *** 12.4+deb12u1 100 100 /var/lib/dpkg/status then 'apt upgrade' There is no issue missing months of updates while running stable or 'old stable', or even old old. |
I can't find the name of vi command package. I didn't find it in dpkg -S and apt-file. What is the /bin/vi command package? | I did not find it either. vim is in the repo, and it can be run compatible mode, when it behaves quite like vi. |
Is anyone successfully using debmirror with bookworm-proposed-updates? It downloads the packages just fine, but apt complains about not having contents files. Debmirror does get the contents files for all other sections, just not proposed-updates. I am using the get contents flag and have tried the different diff modes. | I have had this problem before, and although I am not really sure what caused it I simply added a section to my postmirror.sh file to make sure that the current file is downloaded when apt-mirror updates, this was easier (for me) than trying to trace the problem with the deb-mirror script. Code: Select allecho "Downloading bookworm Contents File (5)" if [ -f "/var/spool/apt-mirror/mirror/deb.debian.org/debian/dists/bookworm-updates/main/Contents-all.gz" ]; then rm /var/spool/apt-mirror/mirror/deb.debian.org/debian/dists/bookworm-updates/main/Contents-all.gz fi wget -q -P /var/spool/apt-mirror/mirror/deb.debian.org/debian/dists/bookworm-updates/main/ deb.debian.org/debian/dists/bookworm-updates/main/Contents-all.gz echo "Done" I also use this method to ensure latest files are downloaded for the other Contents-all.gz files, the Package.xz files, and the Translation-en.xz file, the echo statements are just to let me know if it ran and logs it to cron.log. HTH Doh! I just realised You are using debmirror and not apt-mirror, my apologies!!! |
Hi everyone, I’m trying to set up a battery charge threshold on Debian so that my laptop only charges up to 55% and starts charging again when it reaches 45%. (In order to maximize my battery life) I tried to do it with TLP but for SOME UNKNOWN REASON THAT BAFFLES ME! the battery would stop charging at completely random percentages. If anyone knows how to configure this, I would be very grateful for your advice. Detailed steps or any useful links would be very helpful. Thank you for your time! Note - I have a Thinkpad T14 Gen 1 AMD. | Hello In /etc/tlp.conf are these lines uncommented? Code: Select allSTART_CHARGE_THRESH_BAT0=45 STOP_CHARGE_THRESH_BAT0=55 and is the tlp service loaded and running Code: Select all$ sudo systemctl status tlp Are any similar services running, like upower? |
Hi Debian Folks, I’m interested in setting up zswap on my Debian system to enhance memory management. I’m not very familiar with the process and would greatly appreciate any detailed instructions or pointers you can provide. Note, I bricked my previous install trying to setup zswap, so I am being VERY careful. My laptop is a Tinkpad T14 Gen 1 AMD with 32GB RAM and brand new NVME Thank you in advance for your help and support! | Install 'zram-tools' and reboot. It is that easy. The config defaults are in /etc/default/zramswap. Or you can go with systemd-zram-generator. Not both. There is lots of history here in the forums on the subject. |
Hello, I'm really liking aptitude from the command line. the ncurses is nice also. but i wanted to find the reverse dependences of a package. currently there is Code: Select all?reverse-depType(pattern), ~R[depType:]pattern And depType are only Code: Select all depType can be “depends”, “predepends”, “recommends”, “suggests”, “breaks”, “conflicts”, or “replaces”. Am i missing something from the manual that i haven't read ? I know i can do apt rdepends package and it will find it easily but i would like to use aptitude Thanks | The Debian wiki knows all. https://wiki.debian.org/Aptitude Code: Select allaptitude search ~D<packagename> eg. for the package hello: Code: Select allaptitude search ~Dhello |
Hi, I just installed Debian 12 on my desktop pc (mostly for gaming) that has an AMD 7000 series GPU in it. As far as I understand, the GPU drivers for AMD are in the kernel. This leads to my questions about backporting. 1. I want to have as up to date GPU drivers as possible; is backporting the latest kernel the right option for me? 2. I want to have as up to date GNOME wayland session as possible, is this possible with backports? And lastly, I want to say that I am completely new to backporting so detailed answers on how to do these things would be appreciated, and if there are some other important backports I should do for gaming (mesa maybe?), please let me know. Thank you. | You can get already backported Debian kernels in backports.org, and safely install testing or Sid versions of firmware-amd-graphics. Not upstreams's xserver-xorg-video-amdgpu, though. IDK if that requires a newer Mesa, though. We have a somewhat newer backport of that on the MX Linux 23 Advanced Hardware Support Edition...you could run a Live Session of that ISO if plain Debian has trouble, just to test. GNOME is right out, too. A new version breaks too many other packages in Stable. |
I'm fairly new to Debian but not Linux. Each night I run a root cron job to backup critical files in my /home directory. I pipe the STDOUT to a backup.log file and the STDERR to a backup.err file. The files backup without any problems. I do, however, get the following msg in my backup.err file: /usr/bin/find: `/run/user/1000/doc': Permission denied. I've run this same backup on multiple distros but Debian is the only one which gives me this warning. I've done some searching on this file but nothing I've read so far matches this particular warning. I'd love to not show up in my .err file but I don't know what's causing it. Anyone have any ideas? Thanks in advance. | There should be no reason to run that manually. plocate runs a systemd timer to update every day. One needs to manually updatedb to see changes made after the daily update service is run. |
I just installed Chromium on Debian 12 (always used FF till now). When I try to run it as root it seems this is required: chromium --no-sandbox ... but then it complains that '--no-sandbox' is not supported (even tho it's required.) ... but it seems to run fine just the same. Running as a regular account I get this: $ chromium Authorization required, but no authorization protocol specified [5605:5605:0827/081107.955032:ERROR:ozone_platform_x11.cc(244)] Missing X server or $DISPLAY [5605:5605:0827/081107.955174:ERROR:env.cc(258)] The platform failed to initialize. Exiting. ... dunno why it complains about the X server, as noted, it runs as root. Only chromium triggers this. | @rayandrews Please give your topic a title to give an accurate idea what it is about, rather than just a vague prefix. I second the recommendation to not run it as root. |
I've been working with Linux for years. This is the first time that I've run into this problem. If I vi file test it does not contain nul characters. If I cat test > test1 and vi teset1 it does not contain nuls. But if I cat test |cut-k 270-290 > test3. The file test3 has a nul character between every ascii character. The field I'm trying to cut is 12/03/2024 which is 10 characters. But to get the entire date I have to cut 20 characters. Why am I all of a sudden getting all of these nuls in my output. | I'm glad you sorted it out. :) Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message (after other tags). Thanks. |
Ignore - I've got a complete local backup, now. | Moved to “General Questions” sub-forum. |
Dear Community, ever since a 'recent' update on my laptop, I noticed that tick_nohz_highres_handler appears towards the top of the list in powertop. Is this a known issue? Thanks in advance! | Hello, ChiefBigFeather wrote: 2024-07-05 12:17ever since a 'recent' update on my laptop, I noticed that tick_nohz_highres_handler appears towards the top of the list in powertop. What is your Debian version and installed kernel ? |
In the most recent distros of Linux, including Debian, the old parameters TMPDIR, TMP, TEMP and similar are no longer set. Are they no longer used? Has the location of temporary files for users and processes shifted to /var/run/user/<<UserID>> or to /var/tmp or to /run/user/<<UserID>>? Does it make any sense to set these environment variables? And if yes then what should be preferred? /var directory or /run directory? | Hello, Following on from @lindi's answer, this might be a useful addition: systemd - Using /tmp/ and /var/tmp/ /tmp/ and /var/tmp/ are two world-writable directories Linux systems provide for temporary files. The former is typically on tmpfs and thus backed by RAM/swap, and flushed out on each reboot. The latter is typically a proper, persistent file system, and thus backed by physical storage. This means: /tmp/ should be used for smaller, size-bounded files only; /var/tmp/ should be used for everything else. Data that shall survive a boot cycle shouldn’t be placed in /tmp/. If the $TMPDIR environment variable is set, use that path, and neither use /tmp/ nor /var/tmp/ directly. According to file-hierarchy specifications from freedesktop.org[1]: Runtime Data /run/ A "tmpfs" file system for system packages to place runtime data, socket files, and similar. This directory is flushed on boot, and generally writable for privileged programs only. Always writable. [..] /run/user/ Contains per-user runtime directories, each usually individually mounted "tmpfs" instances. Always writable, flushed at each reboot and when the user logs out. User code should not reference this directory directly, but via the $XDG_RUNTIME_DIR environment variable, as documented in the XDG Base Directory Specification. Hope this helps. -- [1] https://www.freedesktop.org/software/sy ... archy.html |
The latest kernel, 6.1.0.22, seems to have fixed the 'laptop not turning off completely' issue that I've been having. Where can I find out what was contained in the kernel update? | Here's the kernel changelog - https://mirrors.edge.kernel.org/pub/lin ... Log-6.1.22 Hope this helps - |
Hi friends.! Gome online accounts are not working since yesterday..! Remote access to Google Drive, mail Evolution nothing works….! My google accounts are all active, no account expiration, etc. Looking for information to solve this question, I did not find specific answers. I will be grateful for help.! Code: Select allSystem: Kernel: 6.1.0-23-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 Desktop: Cinnamon v: 5.6.8 tk: GTK v: 3.24.38 dm: LightDM Distro: Debian GNU/Linux 12 (bookworm) Machine: Type: Laptop System: ASUSTeK product: VivoBook 15_ASUS Laptop X507MA_X507MA v: 1.0 serial: <superuser required> Mobo: ASUSTeK model: X507MA v: 1.0 serial: <superuser required> UEFI: American Megatrends v: X507MA.310 date: 10/24/2019 Battery: ID-1: BAT0 charge: 26.6 Wh (100.0%) condition: 26.6/33.2 Wh (80.1%) volts: 10.8 min: 10.8 model: ASUSTeK ASUS Battery serial: N/A status: not charging CPU: Info: dual core model: Intel Celeron N4000 bits: 64 type: MCP arch: Goldmont Plus rev: 1 cache: L1: 112 KiB L2: 4 MiB Speed (MHz): avg: 2141 high: 2486 min/max: 800/2600 cores: 1: 1796 2: 2486 bogomips: 4377 Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Device-1: Intel GeminiLake [UHD Graphics 600] vendor: ASUSTeK driver: i915 v: kernel arch: Gen-9 ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:3185 Device-2: IMC Networks USB2.0 VGA UVC WebCam type: USB driver: uvcvideo bus-ID: 1-5:3 chip-ID: 13d3:5a01 Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X: loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 96 Monitor-1: eDP-1 model: ChiMei InnoLux 0x15f5 res: 1920x1080 dpi: 142 diag: 394mm (15.5") API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel UHD Graphics 600 (GLK 2) direct-render: Yes Audio: Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 00:0e.0 chip-ID: 8086:3198 API: ALSA v: k6.1.0-23-amd64 status: kernel-api Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse) Network: Device-1: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter vendor: Lite-On driver: ath9k v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 01:00.0 chip-ID: 168c:0036 IF: wlo1 state: up mac: <filter> Bluetooth: Device-1: Lite-On type: USB driver: btusb v: 0.8 bus-ID: 1-1:5 chip-ID: 04ca:3018 Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0 sub-v: 1 Drives: Local Storage: total: 465.76 GiB used: 83.56 GiB (17.9%) ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS545050B7E660 size: 465.76 GiB speed: 6.0 Gb/s serial: <filter> Partition: ID-1: / size: 91.11 GiB used: 11.68 GiB (12.8%) fs: ext4 dev: /dev/sda1 ID-2: /boot/efi size: 1.86 GiB used: 5.8 MiB (0.3%) fs: vfat dev: /dev/sda2 ID-3: /home size: 356.55 GiB used: 71.87 GiB (20.2%) fs: ext4 dev: /dev/sda4 Swap: ID-1: swap-1 type: partition size: 7.45 GiB used: 1.3 MiB (0.0%) priority: -2 dev: /dev/sda3 Sensors: System Temperatures: cpu: 54.0 C mobo: N/A Fan Speeds (RPM): cpu: 1100 Repos: Packages: pm: dpkg pkgs: 2331 Active apt repos in: /etc/apt/sources.list 1: deb http: //deb.debian.org/debian/ bookworm main non-free-firmware 2: deb-src http: //deb.debian.org/debian/ bookworm main non-free-firmware 3: deb http: //security.debian.org/debian-security bookworm-security main non-free-firmware 4: deb-src http: //security.debian.org/debian-security bookworm-security main non-free-firmware 5: deb http: //deb.debian.org/debian/ bookworm-updates main non-free-firmware 6: deb-src http: //deb.debian.org/debian/ bookworm-updates main non-free-firmware Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 1: deb [arch=amd64] https: //repo.skype.com/deb stable main Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https: //linux.teamviewer.com/deb stable main Info: Processes: 184 Uptime: 21m Memory: 3.65 GiB used: 2.05 GiB (56.2%) Init: systemd v: 252 target: graphical (5) default: graphical Compilers: gcc: 12.2.0 alt: 12 Client: Unknown python3.11 client inxi: 3.3.26 | Hello, It appears that there are no recent bugs filed against this package in the Debian Bug Tracking System for this issue and Debian Stable; the latest is two years old: Debian Bug report logs: Bugs in package gnome-online-accounts It may contain a suggestion and workaround that could be useful to you. |
We had a quick power flash last night. I have no idea if it has anything to do with the problem. Fully updated Debian 12. This morning I found that only root has sound. Root can use aplay to pay wavs, but regular users cannot. Anyone have how to proceed? Thanks. | Check pavucontrol to see if the correct output is configured. Do you see volume meters moving when playing audio? Check alsamixer to see if correct sound card is default and volumes are up and unmuted. |
The Dolphin default file search is not as good as the Krusader file search. Dolphin can download and use other file search modules. Is there a way to use the Krusader file search with Dolphin, or is there another file search module with features like Krusader? In the image, I search for c*.sh using Dolphin and Krusader. Dolphin is clearly not working while Krusader returns expected results and has SO many options for searching. | Krusader's search cannot be directly integrated with Dolphin, as they are separate file managers with their own search functionalities. However, you can enhance Dolphin's search features by using additional tools like Recoll or Tracker, or by using external command-line utilities such as find or grep for more complex searches. Also tools like Catfish are good when used alongside Dolphin. |
What is the actual difference between a Code: Select all-- Boot $BOOT_ID -- and plain Code: Select all-- Reboot -- in the journal? When searching, I could only find: https://github.com/systemd/systemd/blob ... tl.c#L2666 So "-- Boot" is added when /proc/sys/kernel/random/boot_id changes. But how does the "-- Reboot" make its way to the log? | What is your installed Debian version ? What is your installed systemd version ? What is your installed kernel version ? |
Code: Select allcd /media/a/820C-0936/EFI/boot;ukify build --linux=/boot/vmlinuz-6.9.12-amd64 --initrd=/boot/initrd.img-6.9.12-amd64 --cmdline='root=PATH=pci-0000:01:00.0-nvme-1-part1 rw nvidia-drm.modeset=1' -o bootx64.efi /media/a/820C-0936 is the ESP ( EFI system partition ) , pci-0000:01:00.0-nvme-1-part1 is the Debian OS partition . After reboot : Code: Select allALERT! PATH=pci-0000:01:00.0-nvme-1-part1 does not exist. Dropping to a shell! (initramfs) Also tried with '...' : Code: Select allcd /media/a/820C-0936/EFI/boot;ukify build --linux=/boot/vmlinuz-6.9.12-amd64 --initrd=/boot/initrd.img-6.9.12-amd64 --cmdline='root=PATH='pci-0000:01:00.0-nvme-1-part1' rw nvidia-drm.modeset=1' -o bootx64.efi same issue . Code: Select allcd /mnt/esp/EFI/boot;ukify build --linux=/mnt/os/boot/vmlinuz-6.9.12-amd64 --initrd=/mnt/os/boot/initrd.img-6.9.12-amd64 --cmdline='root=PARTUUID=2480d20c-4cf4-491c-bf3c-20dee2419c08 rw nvidia-drm.modeset=1' -o bootx64.efi works , you can see https://forums.debian.net/viewtopic.php ... 29#p805129 . | What about --cmdline='root=/dev/disk/by-path/pci-0000:01:00.0-nvme-1-part1 rw nvidia-drm.modeset=1'? |
Are there any shortcuts in vim kate mode that can be used to delete the previous word like ctrl+w bash and delete to the beginning of the line like ctrl+u? These shortcuts should work in vim insert mode. | amin11 wrote: 2024-07-24 09:16 to delete the previous word like ctrl+w bash why not ctrl+backspace |
Hi, I do not typically use a Linux O.S. But I have it on a Raspberry Pi where I have bitcoin core running. I logged in to my Raspberry Pi for the first time in about a year and fired up bitcoin core. After several seconds, I realized I hadn't updated the software first. It was about 1% into doing whatever it does (not downloading the blockchain, but the initial preparations when it first fires up, whatever that is. Don't remember). Anyway, I did the update and upgrade and I got this message: Code: Select allapt-listchanges: News cups (2.3.3op2-3+deb11u4) bullseye; urgency=medium This release addresses a security issue (CVE-2023-32360) which allows unauthorized users to fetch documents over local or remote networks. Since this is a configuration fix, it might be that it does not reach you if you are updating 'cups-daemon' (rather than doing a fresh installation). Please double check your /etc/cups/cupsd.conf file, whether it limits the access to CUPS-Get-Document with something like the following > <Limit CUPS-Get-Document> > AuthType Default > Require user @OWNER @SYSTEM > Order deny, allow > </Limit> (The important line is the 'AuthType Default' in this section) -- Thorsten Alteholz ‹debian@alteholz.de> Tue, 19 Sep 2023 21:20:27 +0200 I checked the cupsd.conf file and these are the only sections with CUPS-Get-Document: Code: Select all# Job-related operations must be done by the owner or an administrator... <Limit Create-Job Print-Job Print-URI Validate-Job> Order deny, allow </Limit> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document> Require user @OWNER @SYSTEM Order deny, allow </Limit> Code: Select all# Job-related operations must be done by the owner or an administrator... <Limit Create-Job Print-Job Print-URI Validate-Job> AuthType Default Order deny, allow </Limit> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document> AuthType Default Require user @OWNER @SYSTEM Order deny, allow </Limit> 1. What do I need to do here to make the system secure? 2. Did connecting Bitcoin Core for such a short time potentially compromise me in any way due to this bug? Thank you! | Hello, slipnslide wrote: 2024-08-11 22:37Thanks. Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message (after other tags, if any); for example:[Software] [Solved] Debian Bullseye: warning from apt-listchanges about CUPS update for security issue (CVE-2023-32360) Happy Debian ! :) |
Wonder if someone can help me? I have a debian headless install with an extra hard drive in it - this drive has a EXT4 fiel system on it but is only mounted when a script on a cron job is run to perform a backup. Since adding this drive I am getting a regular entry to the kernel log: sdc:sdc1 about every 5 minutes. This is annoying as it fills the kernel log. If I mount the file system at sdc1 then this log entry goes away - unmount it and it returns. Not sure how to go about fixing this? | Hello, What is your Debian version ? What is the kernel version ? What is the complete log entry ? What are the complete log entries before and after it ? |
hi there it's not for the first time that booting into Debian 12 on my PC got disrupted. There are 2 internal hard drives -- one with the aforesaid OS and the other used as a storage warehouse. So the PC started booting into that OS-less junk space coming up to a black screen as the result. I used update-grub and things came to normal. The same command didn't work this time and I have to choose the disk to boot from the bios menu which feels like fff... frustrating at times. Googling ends up at the discussions of the like issues in Ubuntu whose solutions I'm wary to follow. Could you help please? | Install the package boot-info-script, run it and post the output here. |
What is the default Screenshot directory? There has been a large data breech of US Citziens private information. It is suggested to everyone affected, to put a credit freeze on their private information. I use No-Script. One of the 3 credit reporting firms uses 12 Java scripts on their website. I'm trying to take a screenshot of what No-Script shows to report that to a Internet Privacy Researcher. I can instantiate the "Screenshot", but moving the mouse to the No-Script icon to show the java scripts on the webpage, causes Screenshot to go to the background. To not take a shot. I used the delay timer and maybe it took a shot, but I can't find where it is. | Pretty sure default directory is ~/Pictures/Screenshots. Hope this helps - |
I use Debian 11 Cinnamon and I compress and encrypt files with the pre installed programs using ''right click>compress'' from the list I select ''7z'', I expand ''other options'' and I enter a password. Screenshot from 2024-08-17 13-41-38.png (25.18 KiB) Viewed 1802 times Since the program does not specify: 1) What method of encryption it uses? Is it AES-256? 2) How secure is the file created from a brute force attack? | It is supposed to be AES-256. How secure can it be against brute force? With the right password, it can be very secure. https://www.hivesystems.com/blog/are-yo ... -the-green |
Hello everyone, I can't get my refind configuration to work properly. My goal is to use arch and debian in dual boot. The arch system is automatically recognized by refind and can be booted (and is used). The debian system is not recognized and whenever I try to create a manual entry for the debian system, I get the following error after selecting the debian entry in the boot menu: Code: Select allError: Not Found while loading vmlinuz-6.1.0-21-amd64 The corresponding entry in my refind.conf looks like this: Code: Select allmenuentry DaggerDebian { icon EFI/refind/icons/os_debian.png volume F736CA13-8DA0-400A-9FC0-A626E6A770A3 # according to the arch wiki this has to match either a filesystems LABLE, a PARTLABEL or a PARTUUID of the partition where the kernel image resides (not the UUID!) loader /vmlinuz-6.1.0-18-amd64 initrd /initrd.img-6.1.0-18-amd64 options "rw cryptdevice=UUID=431e411a-e641-4715-9d09-dd8cd56da209:daggerdebian-crypt:allow-discards root=/dev/mapper/daggerdebianvg-root quiet" # disabled } The boot partition for the debian system is /dev/nvme0n1p5 Code: Select allsudo blkid /dev/nvme0n1p5 /dev/nvme0n1p5: UUID="d24a13ee-c133-4a87-b9ff-c68ab0097d26" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="daggerdebian-boot" PARTUUID="f736ca13-8da0-400a-9fc0-a626e6a770a3" This is its content: Code: Select all❯ sudo mount /dev/nvme0n1p5 /mnt ❯ ls /mnt config-6.1.0-18-amd64 grub initrd.img-6.1.0-21-amd64 refind_linux.conf System.map-6.1.0-21-amd64 vmlinuz-6.1.0-21-amd64 config-6.1.0-21-amd64 initrd.img-6.1.0-18-amd64 lost+found System.map-6.1.0-18-amd64 vmlinuz-6.1.0-18-amd64 ❯ cat /mnt/refind_linux.conf "Boot daggerdebian System" "rw cryptdevice=UUID=431e411a-e641-4715-9d09-dd8cd56da209:daggerdebian-crypt:allow-discards root=/dev/mapper/daggerdebianvg-root quiet" I have one EFI partition (which is only an EFI partition) and seperate boot partitions (one for each system). The only difference between the boot partition of my arch system and the one of the debian system is that the boot partition of my arch system is formatted with FAT32 and the one of the debian system with ext4. But refind supports ext4 so I do not think that this should be an issue. I no longer have any idea why it shouldn't work. I would be very grateful for any help! | Hi, I don't know nothing about refind, but for what i see in your [menuentry DaggerDebian] diferent from the [wiki.arch.refind] is that the section volume should use "quote". |
I only have openssh-client here but it upgraded correctly. I have libssl3 3.0.13-1~deb12u1 installed already. What shows: Code: Select allapt policy libssl3 | For some reason your system is not finding the latest libssl3 (https://packages.debian.org/bookworm/libssl3) Comment out the deb-src lines in your sources.list and post the output of 'apt update'. |
As of today booting up shows an error message about failing to load kernel modules. I didn't install or update anything for a few days (and only a basic package to parse json about 4 days ago) and had no issues, so I'm very much in the dark what could have caused my problems. The primary issue is that my screen's resolution is wrong and can't be changed. Searching for the error message led me to try: Code: Select allsystemctl status systemd-modules-load.service Code: Select all● systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static) Active: failed (Result: exit-code) since Wed 2024-05-08 11:04:52 CEST; 9min ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 787 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) Main PID: 787 (code=exited, status=1/FAILURE) CPU: 51ms May 08 11:04:52 debian systemd-modules-load[792]: modprobe: ERROR: could not insert 'nvidia': Invalid argument May 08 11:04:52 debian systemd-modules-load[795]: modprobe: FATAL: Module nvidia-current-modeset not found in directory /lib/modules/5.10.0-29-amd64 May 08 11:04:52 debian systemd-modules-load[790]: modprobe: ERROR: ../libkmod/libkmod-module.c:990 command_do() Error running install command 'modprobe nvidia ; modprobe -i nvidia-current-modeset ' for module nvidia_modeset: retcode 1 May 08 11:04:52 debian systemd-modules-load[790]: modprobe: ERROR: could not insert 'nvidia_modeset': Invalid argument May 08 11:04:52 debian systemd-modules-load[796]: modprobe: FATAL: Module nvidia-current-drm not found in directory /lib/modules/5.10.0-29-amd64 May 08 11:04:52 debian systemd-modules-load[787]: Error running install command 'modprobe nvidia-modeset ; modprobe -i nvidia-current-drm ' for module nvidia_drm: retcode 1 May 08 11:04:52 debian systemd-modules-load[787]: Failed to insert module 'nvidia_drm': Invalid argument May 08 11:04:52 debian systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE May 08 11:04:52 debian systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. May 08 11:04:52 debian systemd[1]: Failed to start Load Kernel Modules. I tried to track down the issue further, but I can't make out what could work and what would at best do nothing or even make things worse. Could you please point me in the right direction? | Kernel 5.10.0-29-amd64 was a Bullseye security update 3 days ago. Possibly the nvidia module did not build correctly. Check your log in var/log/apt/history.log System info would be helpful. Post: Code: Select allinxi -CGSxxz inxi may need to be installed. Also show Code: Select allapt list -i linux-image-amd64 linux-headers-amd64 |
Hi As the steam-installer description says , I : dpkg --add-architecture i386 ( as root ) Reload in Synaptic Installed steam-installer via Synaptic I've this message : You are missing the following 32-bit libraries, and Steam may not run: libGL.so.1 I found libGL.so.1 in : /usr/lib/x86_64-linux-gnu/ /usr/lib/mesa-diverted/x86_64-linux-gnu/ /usr/lib/mesa-diverted/i386-linux-gnu/ So what's the issue ? Does anyone have Steam on Debian stable Gnome ? Thanks . | Do you have the i386 version of libgl1 and libgl1-mesa-dri installed? Code: Select allapt list libgl1 libgl1-mesa-dri Try: Code: Select allapt install libgl1-mesa-dri:i386 libgl1:i386 Then install steam. |
When updating to Debian 12 - bookworm, I noticed that the size of my Debian-installation was more than 30 Gb. My system runs headless and I have only 782 packages installed. After some investigation, I found taht the the problem was in /var/log/journal. The total was more than 20Gb. In order to remove most of the journal, I did “sudo journalctl --vacuum-time 1” And that helped a lot. Next I changed the configuration of journalctl: “sudo nano /etc/systemd/journald.conf”, where I unchecked only the following lines: SystemMaxUse=1G SystemMaxFileSize=1G SystemMaxFiles=25 When I do now: “sudo ls -al /var/log/journal/e32* | wc -l”, I always have only 5 files. Code: Select allfred44nl@Debian:~$ sudo ls -al /var/log/journal/e32* | wc -l 5 fred44nl@Debian:~$ When I do: sudo ls -al /var/log/journal/e32* I always have this: Code: Select allfred44nl@Debian:~$ sudo ls -al /var/log/journal/e32* totaal 65564 drwxr-sr-x+ 2 root systemd-journal 16384 23 jun 10:05 . drwxr-sr-x+ 3 root systemd-journal 4096 16 jun 13:34 .. -rw-r-----+ 1 root systemd-journal 8388608 20 jun 11:35 system.journal -rw-r-----+ 1 root systemd-journal 58720256 20 jun 11:37 user-1000.journal fred44nl@Debian:~$ The size of system.journal and user-1000.journal are always the same, only the date changes. Code: Select allfred44nl@Debian:~$ sudo ls -al /var/log/journal/e32* totaal 65564 drwxr-sr-x+ 2 root systemd-journal 16384 23 jun 10:05 . drwxr-sr-x+ 3 root systemd-journal 4096 16 jun 13:34 .. -rw-r-----+ 1 root systemd-journal 8388608 26 jun 10:22 system.journal -rw-r-----+ 1 root systemd-journal 58720256 26 jun 10:24 user-1000.journal fred44nl@Debian:~$ I do not understand where it goes wrong. I already commented the 3 lines with SystemMax out again, but that does not seem to help. Thanks for your help. | I don't think the 'ls' file size is actual. Code: Select all$ journalctl --disk-usage and maybe try '--vacuum-size=' instead of time |
Hi there. Every time a kernel update comes in, I have to run some commands from the terminal to get the graphics card to work properly. I would like to know if there is a way so that this does not have to be done manually, but is done automatically. I use Debian 12 stable, NVIDIA Driver Version: 390.157. Thank you. All the best. quique@debian11:~$ neofetch _,met$$$$$gg. quique@debian11 ,g$$$$$$$$$$$$$$$P. --------------- ,g$$P" """Y$$.". OS: Debian GNU/Linux 12 (bookworm) i686 ,$$P' `$$$. Kernel: 6.1.0-10-686 ',$$P,ggs. `$$b: Uptime: 12 mins `d$$' ,$P"' . $$$ Packages: 2035 (dpkg) $$P d$' , $$P Shell: bash 5.2.15 $$: $$. - ,d$$' Resolution: 1366x768 $$; Y$b._ _,d$P' FROM: GNOME 43.4 Y$$. `.`"Y$$$$P"' WM: Mutter `$$b "-.__ WM Theme: Adwaita `Y$$ Theme: Adwaita [GTK2/3] `Y$$. Icons: Adwaita [GTK2/3] `$$b. Terminal: gnome-terminal `Y$$b. CPU: AMD FX-8350 (8) @ 4,000GHz `"Y$b._ GPU: NVIDIA GeForce GT 730 `""" Memory: 1453MiB / 3252MiB | What commands? What errors do you get? Is your Debian a fresh install or upgraded from Bullseye? neofetch is suboptimal for system information. Install inxi and show (in code tags) Code: Select allinxi -CGSxz |
Hello, I am experiencing an issue with the package linux-image-6.1.0-18-amd64. After performing a sudo apt autoremove, there was an error in the removal process, and now dpkg is stuck. Consequently, I am unable to install any other packages, encountering the same error repeatedly. Code: Select allRemoving linux-image-6.1.0-18-amd64 (6.1.76-1) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-6.1.0-18-amd64 /etc/kernel/postrm.d/zz-update-grub: /usr/sbin/grub-mkconfig: 1: /etc/default/grub.d/99-zswap.cfg: splash: not found run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127 dpkg: error processing package linux-image-6.1.0-18-amd64 (--remove): installed linux-image-6.1.0-18-amd64 package post-removal script subprocess returned error exit status 1 dpkg: too many errors, stopping Errors were encountered while processing: linux-image-6.1.0-18-amd64 Processing was halted because there were too many errors. E: Sub-process /usr/bin/dpkg returned an error code (1) I have researched this issue and found that it is a known bug. I have also read through these forum topics in an attempt to resolve the problem: viewtopic.php?t=155208 viewtopic.php?p=774204#p774204 Despite following the advice and steps mentioned in these threads, I have not been able to fix the issue. Could anyone provide further assistance or suggest additional steps I can take to resolve this? Thank you in advance for your help. | RedGreen925 wrote: 2024-07-14 04:03 I would try. Code: Select allmv /etc/default/grub.d/99-zswap.cfg /tmp/99-zswap.cfg Then try to remove the kernel again with the offending file not there to cause the error. Or install the actual splash program to allow it to find the missing command, though I fail to see what a "Visualisation tool for Smoothed Particle Hydrodynamics simulation" has to do with Grub. I also doubt that this program installs a file in /etc/default/grub.d/ (I checked the package and nothing does that, it's a very simple package). It's more likely that something else installed this file (maybe it was installed manually). If you move the file to /tmp/, you may unintentionally lose it if you reboot. Move it to a safe place, e.g. Code: Select all#> mv -i /etc/default/grub.d/99-zswap.cfg /root/ Before doing this, could you please post the output of Code: Select all$> cat /etc/default/grub.d/99-zswap.cfg this might shed some light on the subject. |
Is an arbitrary waveform generator software https://en.wikipedia.org/wiki/Arbitrary ... _generator exist ? No result with Synaptic , googling " arbitrary waveform generator software " , I only found this https://digilent.com/shop/software/digilent-waveforms/ but no PC's audio output . Audacity has only sine , square , sawtooth , " square, no alias " , triangle waveforms . | This might be the place to look - https://wiki.linuxaudio.org/apps/start Good luck with the search |
Hi, I am setting up a new to me PC with Debian 12 bookworm cinnimon desktop, HP z840 2x E5-2630 V4, 64GB of Ram and RX 580 Graphics card. Everthing seems to work fine but I am reciving the following errors. I am running the latest bios M60 v02.61 03/23/2023. Any guidance how to proceed is appreciated. I googled the Code: Select alldmesg | grep -i "_PCT" 12.821946] ACPI: Invalid _PCT data [ 13.272812] ACPI: Invalid _PCT data [ 13.274892] ACPI: Invalid _PCT data [ 13.274933] ACPI: Invalid _PCT data [ 13.274965] ACPI: Invalid _PCT data [ 13.274996] ACPI: Invalid _PCT data [ 13.275027] ACPI: Invalid _PCT data [ 13.275057] ACPI: Invalid _PCT data [ 13.275087] ACPI: Invalid _PCT data [ 13.275117] ACPI: Invalid _PCT data [ 13.275148] ACPI: Invalid _PCT data ...Repeated a 121 times Code: Select alldmesg | grep -i "error" [ 13.000800] ACPI Error: Needed [Buffer/String/Package], found [Integer] 00000000c7187095 (20220331/exresop-557) [ 13.000807] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [OpcodeName unavailable] (20220331/dswexec-431) [ 13.000811] ACPI Error: Aborting method \_SB.WMIV.WVPO due to previous error (AE_AML_OPERAND_TYPE) (20220331/psparse-529) [ 13.000816] ACPI Error: Aborting method \_SB.WMIV.WMPV due to previous error (AE_AML_OPERAND_TYPE) (20220331/psparse-529) [ 13.001431] ACPI Error: Needed [Buffer/String/Package], found [Integer] 00000000e1526bb2 (20220331/exresop-557) [ 13.001433] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [OpcodeName unavailable] (20220331/dswexec-431) [ 13.001437] ACPI Error: Aborting method \_SB.WMIV.WVPO due to previous error (AE_AML_OPERAND_TYPE) (20220331/psparse-529) [ 13.001441] ACPI Error: Aborting method \_SB.WMIV.WMPV due to previous error (AE_AML_OPERAND_TYPE) (20220331/psparse-529) [ 13.002055] ACPI Error: Needed [Buffer/String/Package], found [Integer] 000000009d0a5d91 (20220331/exresop-557) [ 13.002058] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [OpcodeName unavailable] (20220331/dswexec-431) [ 13.002061] ACPI Error: Aborting method \_SB.WMIV.WVPO due to previous error (AE_AML_OPERAND_TYPE) (20220331/psparse-529) [ 13.002065] ACPI Error: Aborting method \_SB.WMIV.WMPV due to previous error (AE_AML_OPERAND_TYPE) (20220331/psparse-529) [ 13.002921] ACPI Error: Needed [Buffer/String/Package], found [Integer] 0000000042e23b50 (20220331/exresop-557) [ 13.002926] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [OpcodeName unavailable] (20220331/dswexec-431) [ 13.002931] ACPI Error: Aborting method \_SB.WMIV.WVPO due to previous error (AE_AML_OPERAND_TYPE) (20220331/psparse-529) [ 13.002939] ACPI Error: Aborting method \_SB.WMIV.WMPV due to previous error (AE_AML_OPERAND_TYPE) (20220331/psparse-529) [ 83.173020] traps: light-locker[20053] trap int3 ip:7f8b2a5cd7d7 sp:7ffe826f5930 error:0 in libglib-2.0.so.0.7400.6[7f8b2a58f000+8d000] Code: Select alldmesg | grep -i "Bug" [ 0.444537] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored [ 0.451280] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 12.547435] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System... [ 12.602291] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System. [ 12.818963] ACPI: [Firmware Bug]: BIOS needs update for CPU frequency support [ 12.819118] ACPI: [Firmware Bug]: BIOS needs update for CPU frequency support [ 12.819565] ACPI: [Firmware Bug]: BIOS needs update for CPU frequency support [ 12.819827] ACPI: [Firmware Bug]: BIOS needs update for CPU frequency support [ 12.820010] ACPI: [Firmware Bug]: BIOS needs update for CPU frequency support [ 12.820064] ACPI: [Firmware Bug]: BIOS needs update for CPU frequency support ...Reapeates 160 Times Code: Select allcpufreq-info Report errors and bugs to cpufreq@vger.kernel.org, please. analyzing CPU 0: no or unknown cpufreq driver is active on this CPU maximum transition latency: 4294.55 ms. analyzing CPU 1: no or unknown cpufreq driver is active on this CPU maximum transition latency: 4294.55 ms. analyzing CPU 2: no or unknown cpufreq driver is active on this CPU maximum transition latency: 4294.55 ms. analyzing CPU 3: no or unknown cpufreq driver is active on this CPU maximum transition latency: 4294.55 ms. analyzing CPU 4: ...Reapeates for all 40 threads | Hello, I saw that you marked the discussion as "Solved". Most likely, the "ACPI: Invalid _PCT data" error message is caused by the ACPI subsystem (in your computer's firmware/BIOS). This is the kernel function involved: static int acpi_processor_get_performance_control(struct acpi_processor *pr) Code: Select all[..] static int acpi_processor_get_performance_control(struct acpi_processor *pr) { int result = 0; acpi_status status = 0; struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; union acpi_object *pct = NULL; union acpi_object obj = { 0 }; status = acpi_evaluate_object(pr->handle, "_PCT", NULL, &buffer); if (ACPI_FAILURE(status)) { acpi_evaluation_failure_warn(pr->handle, "_PCT", status); return -ENODEV; } pct = (union acpi_object *)buffer.pointer; if (!pct || (pct->type != ACPI_TYPE_PACKAGE) || (pct->package.count != 2)) { pr_err("Invalid _PCT data "); result = -EFAULT; goto end; } /* * control_register */ obj = pct->package.elements[0]; if ((obj.type != ACPI_TYPE_BUFFER) || (obj.buffer.length < sizeof(struct acpi_pct_register)) || (obj.buffer.pointer == NULL)) { pr_err("Invalid _PCT data (control_register) "); result = -EFAULT; goto end; } memcpy(&pr->performance->control_register, obj.buffer.pointer, sizeof(struct acpi_pct_register)); /* * status_register */ obj = pct->package.elements[1]; if ((obj.type != ACPI_TYPE_BUFFER) || (obj.buffer.length < sizeof(struct acpi_pct_register)) || (obj.buffer.pointer == NULL)) { pr_err("Invalid _PCT data (status_register) "); result = -EFAULT; goto end; } memcpy(&pr->performance->status_register, obj.buffer.pointer, sizeof(struct acpi_pct_register)); end: kfree(buffer.pointer); return result; } [..] This kernel function calls the "ACPI's Processor Configuration and Control" feature of your computer's BIOS, but the latter returns an unexpected value: ACPI - Processor Configuration and Control Have you considered a BIOS upgrade? You may also play around with ACPI* kernel parameters to find one that fits your need, if any: The kernel’s command-line parameters How many cores are there in the CPU ? Hope this helps. |
In an attempt to fix an issue with the cinnamon desktop occasionally being corrupted when coming out of suspend I installed xfce4 . Everything went smoothly, except conky loads with a black box that only has barely visible blue separator lines, none of the data is displayed. Attempting to load conky from the command line results in: Code: Select allbryan@zed:~$ conky conky: X Error: type 0 Display 55b8235c3d40 XID 33554433 serial 106 error_code 3 request_code 20 minor_code 0 other Display: 55b8235c3d40 Aborted Any ideas? Thanks | bryanmc wrote: 2024-07-16 14:57 Works fine in cinnamon. Here's the conky.rc file... http://paste.debian.net/1323442 Try changing the own_window_type option. Check the conky website for options - https://conky.sourceforge.net/config_settings.html . Maybe try "normal". In KDE I have to use "dock". |
Hello I am using an RPi5 [Debian 12 - Bookworm]. I have a service created in /etc/systemd/system with the following lines: Code: Select allWorkingDirectory=/etc/lora_pkt_fwd ExecStart=/usr/local/bin/lora_pkt_fwd -c ./global_conf.json When I first reload the daemon then run the service : Code: Select allsudo systemctl daemon-reload sudo systemctl start lora_pkt_fwd.service it immediately returns to the prompt yet when I go into the binary folder (/etc/local/bin) and enter Code: Select alllora_pkt_fwd -c /etc/lora_pkt_fwd/global_conf.json the code runs. AND if I go to /etc/lora_pkt_fwd and copy the ExecStart line above the code runs also. Questions: 1. What do I need to do with the .service file to make this work? 2. What can I do to make it a daemon so that it runs in the background? Thanks | SOLVED: 1. typo...must have ./ before conf file 2. seems it is running in the background...systemctl status shows it |
Hi friends. I am asking for your help!.. Namely, I installed the Scribus program using synaptik. The program was installed but did not start immediately, the system showed that Code: Select allE: Failed to load http://deb.debian.org/debian/pool/main/q/qtbase-opensource-src/libqt5printsupport5_5.15.8%2bdfsg-11_amd64.deb 404 Not Found [IP: 2a04:4e42:9: :644 80] Packages with unsatisfied dependencies: scribus : Dependencies: libqt5printsupport5 (>= 5.14) but it is not installed E: Unsatisfied dependencies. Try 'apt --fix-broken install' without specifying the package names (or provide a solution). According to the recommendations, all actions were performed, but the problem was not solved due to the lack of access to Qt dependencies, which is also available information. https://www.reddit.com/r/linux4noobs/co ... ?rdt=38000 Debian writes that such packages are available for access!!. https://packages.debian.org/bookworm/libqt5core5a - Friends, help remove the Scribus program and restore system performance. Thanks in advance! | Did you run apt update first? You are trying to install libqt5printsupport5_5.15.8+dfsg-11 whereas current version is 5.15.8+dfsg-11+deb12u2 |
Hi, There's a new OpenSSH security flaw: Thousands of servers could be at risk due to major OpenSSH security flaw I'm just wondering if anyone has advice on required updates/patches for this on Debian? Cheers, bitrat | remote attacker may be able to trigger it It seems nothing found in the wild, may being the keyword. |
Debian 12 - full updated Chirp-next-20240618-x86_64.AppImage python3-suds ver 1.1.2-1 installed Command: ./Chirp-next-20240618-x86_64.AppImage Error: pkg_resources.DistributionNotFound: The 'suds' distribution was not found and is required by chirp Anyone know how I might fix this? Thanks | It looks like the app may be broken. Check it out - https://github.com/goldstar611/chirp-appimage/issues/9 |
I noticed that the package UFW had been removed from a server, but do not recall having manually removed it. Looking at the logs at /var/log/apt/history.log, I noticed this entry: Code: Select allStart-Date: 2024-06-24 18:56:55 Commandline: apt-get install -y iptables-persistent Requested-By: ealfonso (1000) Install: iptables-persistent:amd64 (1.0.20), netfilter-persistent:amd64 (1.0.20, automatic) Remove: ufw:amd64 (0.36.2-1) End-Date: 2024-06-24 18:57:06 I did request iptables-persistent to be installed. Does the log above indicate that the UFW removal was triggered by installing iptables-persistent? From the iptables-persistent package description: https://packages.debian.org/bookworm/ip ... persistent there doesn't appear to be a direct conflict with UFW, and according to this answer https://unix.stackexchange.com/a/647074/50978 UFW can be compatible with iptables-persistent. | disclaimer: I am not a firewall expert My understanding is that ufw is incompatible with persistent iptables rules but *is* compatible with nftables-persistent. I guess if you want to use ufw the thing to do would be to convert existing iptables rules to nftables rules. Fortunately iptables has a tool for that called iptables-translate. |
On Ubuntu/Linux Mint I used to be able to sync time from port 123/udp. What is it on Debian 12.5 xfce? | If you don't have an ntp daemon installed (like ntpsec), this should be supported by systemd-timesyncd. What gives Code: Select all$> systemctl status systemd-timesyncd.service ? |
I'm a subscriber of some Debian Mailing Lists, in particular the debian-security-announce list. It's the second time in less than two months that it occurs to me that Thunderbird warns me that a technical error was detected. Either the message has been corrupted, or the message has been modified by someone else. Each times, the message was issued by Moritz Muehlenhoff. In the meantime, I received other messages by Moritz Muehlenhoff and the signature was correct. But if I copy the message source (Ctrl+U or View -> Message Source) between -----BEGIN PGP SIGNED MESSAGE----- and -----END PGP SIGNATURE----- and then go to the website and again copy the same part of the message in another file, I get exactly the same file: Code: Select all$> sha512sum /tmp/secmesg-* f1ebd4c1a1984dbceecbdf9e05c608e1ba931eee818dc775fe493ebdf277bee81ac6ede687606d9e2da2394655cfbac02beb6d57fa19ec1ba4ef6ba4fd7e82ae /tmp/secmesg-mail f1ebd4c1a1984dbceecbdf9e05c608e1ba931eee818dc775fe493ebdf277bee81ac6ede687606d9e2da2394655cfbac02beb6d57fa19ec1ba4ef6ba4fd7e82ae /tmp/secmesg-site $> cat /tmp/secmesg-mail -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 - ------------------------------------------------------------------------- Debian Security Advisory DSA-5443-1 security@debian.org https://www.debian.org/security/ Moritz Muehlenhoff July 02, 2023 https://www.debian.org/security/faq - ------------------------------------------------------------------------- Package : gst-plugins-base1.0 CVE ID : not yet available Multiple multiple vulnerabilities were discovered in plugins for the GStreamer media framework and its codecs and demuxers, which may result in denial of service or potentially the execution of arbitrary code if a malformed media file is opened. For the oldstable distribution (bullseye), this problem has been fixed in version 1.18.4-2+deb11u1. For the stable distribution (bookworm), this problem has been fixed in version 1.22.0-3+deb12u1. We recommend that you upgrade your gst-plugins-base1.0 packages. For the detailed security status of gst-plugins-base1.0 please refer to its security tracker page at: https://security-tracker.debian.org/tracker/gst-plugins-base1.0 Further information about Debian Security Advisories, how to apply these updates to your system and frequently asked questions can be found at: https://www.debian.org/security/ Mailing list: debian-security-announce@lists.debian.org -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEtuYvPRKsOElcDakFEMKTtsN8TjYFAmShHA4ACgkQEMKTtsN8 Tja5bxAAgjo7MGD633UzSM+ipFEV87dcZqOTFRWECfR8QSZIm0Z4o6a3gK/ikwnn bUvf5b9Mvkbj7fyosaCKZa4HLbxxG9WQrnj42GBfabNouerIO+8/VylHA3pkyI+A BCXyYAlN81amT0/7w8pORz/1cP1X/x+mYtPsq+8yQBTISozs3gmJo+jCuYsfddJt eITv/YvcVrunaO5XJNcXUbTaMqjvIfQkeeT/0OR1F08eCbnb8SROQ4bLySXo1hC8 SmeYuI7jDcFatws6XWVjjsCG92KnX+2bMRnNP7ROR823RldgIJdoPw4R/0psenrq UzzhIKM5YwqcIkpwSVAUaQJ5238fabmk9lSygfRwqDffxcZhHTEfnGEz0RAI1QbX 5bLsHd2k9zZtfRUqlPOtYRznLakIEcmEq9WlUIPON6cL58wy0g3waXMue8fbtVws qG815WTNcnntTxj1F08Z8GuQTAkpyzaJ80nskIfbfL1Ei5C3jFGKBnqRwLuCQ8yN 0m3raWHXAtj1pt/Zow3KM/DGHyb0BC8n1iznGoRyrMLpWbYP64b7Q8ONeDkKjEwv 5mdpOfQGEiLCUyr3Zp7UO0GBwbwhQQoTzEWtRYwe59eIgxdIUQIff8Uh3spqcfRX PxNCDGZ8JD+mjKlOQtJlNokgqDk8lWBrv9H5Yqwc3YPtgo3xeZA= =zR0U -----END PGP SIGNATURE----- So I think that the message I received was not corrupted. I don't necessarily expect that someone can explain what's going on, but I would be interested in knowing whether or not this message was deemed corrupted in your Thunderbird. FYI, this is how I get the signature keys: - in the web browser I go to the Developers LDAP Search. A search by name gives me the fingerprint address. - in Thunderbird, I go to Tools -> OpenPGP Key Manager -> Edit -> Import Key(s) From URL and paste the address I previously found. | Thank you very much for your input @vng2022. I wonder what is the use of a feature that gives false alarms, it could validate corrupted messages as well. I'm still interested in Thunderbird behaviour testimonies. For the record, here is the complete procedure to verify the message with gpg. See man 1 gpg. I use wget, but you can use your browser, just be sure to use an https link. Code: Select all### fetches the key in base64 armoured ASCII (asc) format, saves it in /tmp/secsig.asc $> wget -O /tmp/secsig.asc https://db.debian.org/fetchkey.cgi?fingerprint=B6E62F3D12AC38495C0DA90510C293B6C37C4E36 ### converts the key in binary format, saves it in /tmp/secsig.gpg $> gpg -o /tmp/secsig.gpg --dearmor /tmp/secsig.asc ### verifies the file $> LANG="C.UTF-8" gpg --no-default-keyring --keyring /tmp/secsig.gpg --verify /tmp/secmesg-mail gpg: Signature made Sun Jul 2 08:41:18 2023 CEST gpg: using RSA key B6E62F3D12AC38495C0DA90510C293B6C37C4E36 gpg: Good signature from "Moritz Mühlenhoff <jmm@debian.org>" [unknown] gpg: aka "Moritz Mühlenhoff <jmm@inutil.org>" [unknown] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: B6E6 2F3D 12AC 3849 5C0D A905 10C2 93B6 C37C 4E36 ### or using gpgv $> LANG="C.UTF-8" gpgv --keyring /tmp/secsig.gpg /tmp/secmesg-mail gpgv: Signature made Sun Jul 2 08:41:18 2023 CEST gpgv: using RSA key B6E62F3D12AC38495C0DA90510C293B6C37C4E36 gpgv: Good signature from "Moritz Mühlenhoff <jmm@debian.org>" gpgv: aka "Moritz Mühlenhoff <jmm@inutil.org>" |
Hi All, Im running Debian 12.5 with the root account disabled during the install. I was trying to access information from amixer for headset detection and tried adding myself to the audio group with 'sudo usermod -G audio john' - I now all sudo command return that I am not in the sudoers file and has been reported to the administrator. Any advise to add my user back to the sudoers? Thanks in advance | jagauau wrote: 2024-06-16 03:30 sudo usermod -G audio john' One should always read the manual: man usermod wrote:G, --groups GROUP1[,GROUP2,...[,GROUPN]]] A list of supplementary groups which the user is also a member of. Each group is separated from the next by a comma, with no intervening whitespace. The groups must exist. If the user is currently a member of a group which is not listed, the user will be removed from the group. This behaviour can be changed via the -a option, which appends the user to the current supplementary group list. You just changed your group membership to only 'audio', so you're no longer in any others, including 'sudoers'. jagauau wrote: 2024-06-16 03:30Any advise to add my user back to the sudoers? If the root account is disabled and 'john' was the only user with sudo rights, you'll need to break into your own system... Not sure if the old 'init=/bin/sh' trick still works with this newfangled systemd thing, but so long as your / isn't encrypted you should be able to chroot in from a livecd to unlock the root account or fix your groups. Details on both methods should be easy enough to find on the 'net. Personally I think the locked root account thing the installer does is properly stupid (training people to 'sudo everything' for the sake of not remembering 2 passwords, when that's not at all what sudo is for), but it is what it is. |
Hi, I have fresh install of the stable release of latest Debian 12. It does not start into graphic environment (Debian desktop and GNOME marked for install during install). Just shows black screen with a slightly brighter black box. I can log into terminal on tty2. Trying to start graphic environment (startx) produces simply black screen with a mouse cursor. HW is quite old Intel Atom motherboard. However, I believe it should work because it was running another, modified (linuxcnc) install of Debian 12. I'm not advanced in Linux/Debian. Please help me debug the problem. Veiksmi, Jānis | Try booting debian live usb, does that work? |
Hi everyone, I use LibreOffice as a flatpak and I cannot save the changes of modified files in my Nextcloud. I access the my Nextcloud files thanks to webdav in Dolphin (online accounts in Plasma). I get an error message telling me that LibreOffice cannot create temporary save files in the directory. How can I solve that ? Thank you for your help! PS: On a side note, I am constantly asked to type in my session password to open files with LibreOffice in my Nextcloud, which is annoying. | You can specify the directory LO uses for temporary saves. Options ▸ LibreOffice ▸ Paths ▸ Temporary files Hope this helps - |
I use ImDisk Toolkit to setup a RAM Disk in Windows. I configure the program to create TEMP folders in the RAM Disk. I also configure my browsers to create their CACHE folders in the RAM. It's a way to reduce the wear and tear of the SSD. Additionally, I also use the RAM Disk to manipulate data, because it's faster and, again, spares my physical disks. The RAM Disk is dynamic, so it only eats my RAM when used, and all I have to do to reclaim the used memory is to delete the files. Some people also use RAM Disks with an audiophile purpose, and although I recognize it's an interesting approach, I don't bother. I'm currently studying this topic: viewtopic.php?p=800422 and also this webpage: https://www.linuxbabe.com/command-line/ ... disk-linux So, as far as I can see, the CACHE problem seems to be relatively easy to solve (at least in Firefox-based browsers). However, I'd be delighted if I could also use a RAM Disk to manipulate files, which I so in a daily basis, but it's not a trivial topic for a Linux beginner and any additional help would be appreciated. | Check this - [HowTo] Move browser profile and cache to RAM |
I recently updated from the 6.1.0-17-amd64-x86_64 kernel to the 6.1.0-22-amd64-x86_64 kernel. After rebooting the highest screen resolution I can get is 1024x68. I noticed a couple red warnings flashing by during the boot and will try to catch them next time. Does anyone have a suggestion on where to start looking. FWIW, 6.1.0-17 still boots correctly and runs my standard 1920 x 1080 resolution with no issues. | System information please. Install inxi and post: Code: Select allinxi -CGSxxz |
Hello. I'm trying to grow an unmounted partition to occupy the unallocated space after it but gparted won't take my adjustments. It says the minimum and maximum size are equal and do not include the unallocated space. The unallocated space is listed at 'free space following'. What am I overlooking? | KDAM71 wrote: 2024-07-01 17:42 Screenshot OK so it's an exfat partition. May be best to manage it from Windows. Reportedly even Windows Disk Management can't resize exFAT so you may need a third party partition utility. |
My existing grub still boots fine, but I wanted to make a few changes to the menu using 'grub-customizer' -- just renaming a few entries -- and I got this: I aborted the changes, rebooted (fine) then ran: Code: Select all% update-grub Generating grub configuration file ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-6.1.0-21-amd64 Found initrd image: /boot/initrd.img-6.1.0-21-amd64 Found linux image: /boot/vmlinuz-6.1.0-21-amd64 Found initrd image: /boot/initrd.img-6.1.0-21-amd64 Warning: os-prober will be executed to detect other bootable partitions. Its output will be used to detect bootable binaries on them and create new boot entries. Found Debian GNU/Linux 12 (bookworm) on /dev/sda1 Found Debian GNU/Linux 12 (bookworm) on /dev/sdb4 Found Debian GNU/Linux 12 (bookworm) on /dev/sdb5 Adding boot menu entry for UEFI Firmware Settings ... error: out of memory. error: syntax error. error: Incorrect command. error: syntax error. Syntax error at line 279 Syntax errors are detected in generated GRUB config file. Ensure that there are no errors in /etc/default/grub and /etc/grub.d/* files or please file a bug report with /boot/grub/grub.cfg.new file attached. ... I don't know what would have changed since /boot/grub/grub.cfg was formed (with no trouble), but an attempt to rebuild it, with nothing different that I know of, generates an error. What can I do? I don't know what to look for as far as errors. Line 279 is: ### END /etc/grub.d/48_custom ### ... and that's the last line in the file. If it's of any use that file is: Code: Select all#!/bin/sh cat <<EOF if [ -f \${config_directory}/custom.cfg ]; then source \${config_directory}/custom.cfg elif [ -z "\${config_directory}" -a -f \$prefix/custom.cfg ]; then source \$prefix/custom.cfg fi EOF ... if the UEFI Firmware is the issue here's that file: Code: Select all#!/bin/sh #THIS IS A GRUB PROXY SCRIPT '/etc/grub.d/proxifiedScripts/uefi-firmware' | /etc/grub.d/bin/grubcfg_proxy "+* -'UEFI Firmware Settings'~4e15a6547b9250de59821b594ecf5dee~ | grub-customizer was removed from Ubuntu and is due to be removed from Debian on June 3. Probably a good thing you bailed on the changes |
I have been trying to install docker desktop on my debian system but I have an error when installing qemu Code: Select allE: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-common_7.2%2bdfsg-7%2bdeb12u3_amd64.deb 404 Not Found [IP: 146.75.74.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-data_7.2%2bdfsg-7%2bdeb12u3_all.deb 404 Not Found [IP: 146.75.74.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-x86_7.2%2bdfsg-7%2bdeb12u3_amd64.deb 404 Not Found [IP: 146.75.74.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-arm_7.2%2bdfsg-7%2bdeb12u3_amd64.deb 404 Not Found [IP: 146.75.74.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-mips_7.2%2bdfsg-7%2bdeb12u3_amd64.deb 404 Not Found [IP: 146.75.74.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-ppc_7.2%2bdfsg-7%2bdeb12u3_amd64.deb 404 Not Found [IP: 146.75.74.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-sparc_7.2%2bdfsg-7%2bdeb12u3_amd64.deb 404 Not Found [IP: 146.75.74.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-misc_7.2%2bdfsg-7%2bdeb12u3_amd64.deb 404 Not Found [IP: 146.75.74.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-utils_7.2%2bdfsg-7%2bdeb12u3_amd64.deb 404 Not Found [IP: 146.75.74.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-block-extra_7.2%2bdfsg-7%2bdeb12u3_amd64.deb 404 Not Found [IP: 146.75.74.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system_7.2%2bdfsg-7%2bdeb12u3_amd64.deb 404 Not Found [IP: 146.75.74.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-gui_7.2%2bdfsg-7%2bdeb12u3_amd64.deb 404 Not Found [IP: 146.75.74.132 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? I tried 'apt install qemu-system' on its own which gave the same error I have tried 'apt update && apt upgrade' which didn't change anything I tried disabling the docker repository which yielded no results From what I can tell it seems to be trying to get a version of qemu which does not exist in the debian repositories but I don't know why apt update wouldn't fix this | The versions of the package you list above aren't the versions currently available in Bookworm. Did you try installing qemu-system after you did the apt update? |
Hi everyone, I need your help here. I'm trying to solve a boot issue and I'm quite lost. This morning I've restarted my Debian server because for applying a new kernel. But the system refused to boot showing this error : "Error 1962 : no operating system found" From what I've seen the error might be related to SATA cable or failing hard disk. I have two disks in mirror and doubted the issue was the disks. They are seen by the system, I can even mount them use a Live CD. So I looked for a grub issue or a UEFI issue. I've tried the debian live usb iso but it miss some tools like grub-install and I'm unsure how to use other tools :/ There were some hints it might be an issue with UEFI but until now it was working fine. Nevertheless I changed the mode UEFI mode to Legacy. That time the boot reached Grub but it ended in Grub rescue mode saying "error: disk 'mduuid/ba60d49b53e45326ba6fdb4c393e7420' not found" At that point, it's beyond my competences and the search I've made on Google didn't help me. My system is a Lenovo Thinkstation P500 My disks are two SSD disks in RAID - sda: CT1000MX500SSD1 - sdb: CT1000MX500SSD1 I can try to give you more information if you wish and give me the commands I should run. Many thanks for any insight. EDIT: I've been able to install boot repair, here is the result of the diagnosis > UEFI mode: https://paste.debian.net/hidden/a605c991/ > Legacy mode: https://paste.debian.net/hidden/dec6d8d2/ EDIT2: I've tried to mount my Linux Raid partition to the Live CD but I fail for /dev/sda1 which is "EFI System" normally. But mount complains it's a linux raid member partition. However, I do not find any /dev/md corresponding to /dev/sda1 & sdb1 I cannot attempt an grub-install / update-grub :/ EDIT3: I'm a little afraid of this: "GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again." Is it because EFI part is on Linux Raid? PS: do not consider the grub2 part on sdc, it can be ignored from my point of view as it's an old one. | sioban wrote: 2024-05-21 13:12 I've tried the debian live usb iso but it miss some tools like grub-install Not able to help much, as I have no experience with RAID, but can answer this question. It's simply a matter of installing the package in the live session. Set up an internet connection, then run sudo apt install grub-efi-amd64. Will bring in several dependencies. As I recall, no password is required to run the command. In case I remember incorrectly, the username in a live session = user and said user's password = live. |
Hello. I want to download manual from Web. I.e. all html files in https://dev.overpass-api.de/overpass-doc/en/ an in its sub-directories and nothing else. I have tried this my wget2.sh script: Code: Select all#!/usr/bin/sh /usr/bin/wget2 ‐‐debug --verbose \ --recursive ‐‐filter‐urls ‐‐regex‐type=pcre --wait=5 \ ‐‐accept‐regex='^https://dev\.overpass-api\.de/overpass-doc/en/.*\.html$' \ --reject-regex='^(?!https://dev\.overpass-api\.de/overpass-doc/en/).*' \ -- 'https://dev.overpass-api.de/overpass-doc/en/' but I have got these errors in output: Code: Select all./wget2.sh toASCII(‐‐regex‐type=pcre) failed (-314): A-label roundtrip failed toASCII(‐‐regex‐type=pcre) failed (-314): A-label roundtrip failed toASCII(‐‐accept‐regex=^https) failed (-314): A-label roundtrip failed toASCII(‐‐accept‐regex=^https) failed (-314): A-label roundtrip failed Failed to resolve ‐‐regex‐type=pcre (Name or service not known) Failed to resolve ‐‐accept‐regex=^https (Name or service not known) Failed to resolve xn--debug-fu3ba (Temporary failure in name resolution) Failed to resolve xn--filterurls-pt6eag (Temporary failure in name resolution) Failed to resolve ‐‐regex‐type=pcre (Name or service not known) Failed to resolve ‐‐accept‐regex=^https (Name or service not known) Failed to resolve xn--debug-fu3ba (Temporary failure in name resolution) Failed to resolve xn--filterurls-pt6eag (Temporary failure in name resolution) Failed to resolve ‐‐regex‐type=pcre (Name or service not known) Failed to resolve ‐‐accept‐regex=^https (Name or service not known) Failed to resolve xn--debug-fu3ba (Temporary failure in name resolution) Failed to resolve xn--filterurls-pt6eag (Temporary failure in name resolution) [3] Downloading 'https://dev.overpass-api.de/robots.txt' ... Please, what is wrong in my code? Why does it interpret my options as URL's? [I have tried to find NBSP character (code 0xA0), but nothing has been found in the script.] | Dai_trying wrote: 2024-01-30 08:53 Code: Select all-- 'https://dev.overpass-api.de/overpass-doc/en/' ^^ Could this be the issue? Good question but no, this only means that beyond -- the arguments are not interpreted as options (end of options). ruwolf wrote: 2024-01-30 05:17 [I have tried to find NBSP character (code 0xA0), but nothing has been found in the script.] It was a good guess. This happens a lot, I don't know why, maybe accidentally grabbing the AltGR key while pressing the space key. But in your case that's not the reason. Your file is full of this: Code: Select all$> cat -v <<<"‐‐filter‐urls" M-bM-^@M-^PM-bM-^@M-^PfilterM-bM-^@M-^Purls Code: Select all$> printf '%x' "\"‐" ### hexadecimal value of the character 2010 $> echo -e "\u2010" ### Unicode interpretation ‐ $> cat -v < <(echo -e "\u2010") ### cat --show-nonprinting M-bM-^@M-^P $> cat -v <<<"‐ -" M-bM-^@M-^P - $> printf '%x ' "\"‐" "\"-" 2010 2d Did you copy/paste your options from the Interweb? By the way, that's probably why wget2 says toASCII failled ruwolf wrote: 2024-01-30 05:17 Code: Select alltoASCII(‐‐regex‐type=pcre) failed (-314): A-label roundtrip failed |
Hi, I thought I have installed 2 systems in sync - but obviously they are not. I need the "linux-headers-6.1.0-21-amd64" for the Veeam-backup agent. Now on "Alice" everything is fine: On "Bob" - I want to install them as well but I get a message on the dependency of "linux-build-6.1" needs "(>= 6.1.90-1) but 6.1.76-1 is to be installed" Question: How can I resolve this ? Already tried: apt upgrade, full-upgrade, install --fix-broken, removed linux-build-6.1 & reinstall --> takes 6.1.76 again ... Thanks for your advice Gert | hausi wrote: 2024-05-29 12:40 Hi, Question: How can I resolve this ? Already tried: apt upgrade, full-upgrade, install --fix-broken, removed linux-build-6.1 & reinstall --> takes 6.1.76 again ... Thanks for your advice Gert Make the sources.list the same on both machines you are missing the security archive in the machine it will not install on. https://packages.debian.org/search?keyw ... ection=all Put something like this in the file then apt update and do the install command again and it should work. Code: Select all# security updates deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware #deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free |
I'm having trouble exporting and importing kerberos keys into openafs. My first problem is that when using `addprinc` and `ktadd` commands in `kadmin.local`, the encryption key type `-e` option appears to be ignored. For example when I try to add a key of type `des-cbc-crc:v4`, a key of type `aes256-cts-hmac-sha1-96` appears to be added instead: Code: Select all kadmin.local: ktadd -e des-cbc-crc:v4 -k /tmp/afs.ktab afs Entry for principal afs with kvno 4, encryption type aes256-cts-hmac-sha1-96 added to keytab WRFILE:/tmp/afs.ktab. Entry for principal afs with kvno 4, encryption type aes128-cts-hmac-sha1-96 added to keytab WRFILE:/tmp/afs.ktab. The same happens with addprinc, I try to specify `-e DES-CBC-CRC:md5` for the key type but this appears to be ignored and end up with a `aes128-cts-hmac-sha1-96` key: Code: Select all $ kadmin.local Authenticating as principal root/admin@EXAMPLE.COM with password. kadmin.local: addprinc -policy service -randkey -e DES-CBC-CRC:md5 afs WARNING: policy "service" does not exist Principal "afs@EXAMPLE.COM" created. kadmin.local: getprinc afs Principal: afs@EXAMPLE.COM Expiration date: [never] Last password change: Mon May 27 18:22:21 EDT 2024 Password expiration date: [never] Maximum ticket life: 0 days 10:00:00 Maximum renewable life: 7 days 00:00:00 Last modified: Mon May 27 18:22:21 EDT 2024 (root/admin@EXAMPLE.COM) Last successful authentication: [never] Last failed authentication: [never] Failed password attempts: 0 Number of keys: 2 Key: vno 1, aes256-cts-hmac-sha1-96 Key: vno 1, aes128-cts-hmac-sha1-96 MKey: vno 1 Attributes: REQUIRES_PRE_AUTH Policy: service [does not exist] kadmin.local: Additionally, when I try to import this key using `asetkey`, I get an unreadable error message: Code: Select all sudo asetkey add 4 /tmp/afs.ktab afs asetkey: unknown RPC error (-1765328203) for keytab entry with Principal afs@EXAMPLE.COM, kvno 4, DES-CBC-CRC/MD5/MD4 Reading the `asetkey` manpage I see a strong recommendation against using the `des-cbc-crc` key type and using the `rxkad-k5` extension instead: Code: Select all A modern AFS cell should be using the rxkad-k5 extension, or risks terribly insecure operation (complete cell compromise for $100 in 1 day). The keys used for rxkad-k5 operation are stored in the KeyFileExt. Cells not using the rxkad-k5 extension (i.e., stock rxkad) use keys of the des-cbc- crc encryption type, which are stored in the KeyFile. Reading further, the `KeyFileExt` man page says that trying to add `rxkad-k5` keys requires specifying a `krb5 encryption type number`, which is distinct from a string identifier: Code: Select all Using asetkey(8) to add rxkad-k5 keys to the KeyFileExt also requires specifying a krb5 encryption type number. Since the encryption type must be specified by its number (not a symbolic or string name), care must be taken to determine the correct encryption type to add. I'm stuck with a lot of related questions: 1. Why does `kadmin` appear to ignore my specified encryption type? 2. How do I determine if my openafs is using the `rxkad-k5` extension? I searched debian packages via `apt-cache search rxkad-k5` and `rxkad` and found nothing. 3. Since `aes256-cts-hmac-sha1-96` looks like a string identifier, how can I determine the "krb5 encryption type number" for this encryption in order to import it via asetkey? 4. I noticed `openafs-krb5` is a separate package from `openafs-{fileserver,dbserver,client}`. Is there a recommended way of managing openafs authentication on debian without setting up kerberos? 5. I found that `akeyconvert` claims to help importing keys `from the krb5 keytab format to the KeyFileExt format`. Should I be using `akeyconvert` to convert my `afs.keytab` key into openafs? | Hello, ealfonsoy wrote: 2024-05-28 00:03 After reading more about akeyconvert, it appears that it is the tool I needed to import keys into openafs. The tool expects to find the input krb5 key in /etc/openafs/server/rxkad.keytab and outputs the openafs-compatible key into /etc/openafs/server/KeyFileExt: Code: Select allsudo cp /tmp/afs.ktab /etc/openafs/server/rxkad.keytab sudo akeyconvert -all sudo asetkey list rxkad_krb5 kvno ? enctype ?; key is: ???????????????????????????????? rxkad_krb5 kvno ? enctype ?; key is: ???????????????????????????????????????????????????????????????? All done. Does this mean you have solved your problem? If so, please edit the title of your first post and mark it as [Solved]. ealfonsoy wrote: 2024-05-27 23:21 2. How do I determine if my openafs is using the `rxkad-k5` extension? I searched debian packages via `apt-cache search rxkad-k5` and `rxkad` and found nothing. You can use apt-file to search through package files. Code: Select all$> apt-file -i search "rxkad" heimdal-dev: /usr/share/man/man3/kafs_settoken_rxkad.3.gz libopenafs-dev: /usr/include/rx/rxkad.h libopenafs-dev: /usr/include/rx/rxkad_prototypes.h libopenafs-dev: /usr/lib/librxkad.a linux-headers-6.1.0-15-amd64: /usr/src/linux-headers-6.1.0-15-amd64/include/config/RXKAD linux-headers-6.1.0-15-rt-amd64: /usr/src/linux-headers-6.1.0-15-rt-amd64/include/config/RXKAD linux-headers-6.1.0-16-amd64: /usr/src/linux-headers-6.1.0-16-amd64/include/config/RXKAD linux-headers-6.1.0-16-rt-amd64: /usr/src/linux-headers-6.1.0-16-rt-amd64/include/config/RXKAD linux-headers-6.1.0-18-amd64: /usr/src/linux-headers-6.1.0-18-amd64/include/config/RXKAD linux-headers-6.1.0-18-rt-amd64: /usr/src/linux-headers-6.1.0-18-rt-amd64/include/config/RXKAD openafs-modules-dkms: /usr/src/openafs-1.8.9/include/rx/rxkad.h openafs-modules-dkms: /usr/src/openafs-1.8.9/include/rx/rxkad_convert.h openafs-modules-dkms: /usr/src/openafs-1.8.9/include/rx/rxkad_prototypes.h openafs-modules-dkms: /usr/src/openafs-1.8.9/include/rx/rxkad_stats.h openafs-modules-dkms: /usr/src/openafs-1.8.9/src/rxkad/crypt_conn.c openafs-modules-dkms: /usr/src/openafs-1.8.9/src/rxkad/fcrypt.c openafs-modules-dkms: /usr/src/openafs-1.8.9/src/rxkad/fcrypt.h openafs-modules-dkms: /usr/src/openafs-1.8.9/src/rxkad/private_data.h openafs-modules-dkms: /usr/src/openafs-1.8.9/src/rxkad/rxkad.h openafs-modules-dkms: /usr/src/openafs-1.8.9/src/rxkad/rxkad_client.c openafs-modules-dkms: /usr/src/openafs-1.8.9/src/rxkad/rxkad_common.c openafs-modules-dkms: /usr/src/openafs-1.8.9/src/rxkad/rxkad_prototypes.h openafs-modules-dkms: /usr/src/openafs-1.8.9/src/rxkad/sboxes.h openafs-modules-dkms: /usr/src/openafs-1.8.9/src/rxkad/stats.h openafs-modules-dkms: /usr/src/openafs-1.8.9/src/rxkad/tcrypt.c debian-security doesn't have "Contents" files, that's why we don't see the latest kernel. Code: Select allPackage: openafs-modules-dkms Source: openafs Version: 1.8.9-1 Installed-Size: 7.1 MB Maintainer: Benjamin Kaduk <kaduk@mit.edu> Architecture: all Depends ▼ dkms (>=3.0.3-4~), perl:any, libc6-dev Recommends ▼ openafs-client (>=1.8.9-1) Description-en: AFS distributed filesystem kernel module DKMS source AFS is a distributed filesystem allowing cross-platform sharing of files among multiple computers. Facilities are provided for access control, authentication, backup and administrative management. . This package contains the source for the AFS kernel module, packaged with appropriate configuration for DKMS to build new modules dynamically. Homepage: http://www.openafs.org/ Tag: admin::filesystem, admin::kernel, devel::lang:c, devel::library, implemented-in::c, role::devel-lib, role::program, role::source Section: kernel Priority: optional Filename: pool/main/o/openafs/openafs-modules-dkms_1.8.9-1_all.deb Size: 996 kB |
Hello, On Debian 12, I don't understand why this service does not write in the jjournal. Thanks in advance for any help. Code: Select all[Unit] Description = Essai 2 - 01/06/24 [Service] ExecStart=/usr/bin/echo aaa #StandardOutput=file:/tmp/service.log # Ok StandardOutput=journal # nothing with "journalctl -f" [Install] WantedBy=multi-user.target | Aki wrote: 2024-06-01 11:34 the journalctl command will only show all entries if it is run as superuser (we don't know what privileges your service is running as). if run as your user, you will not see messages from other users and the system. If user is a member of systemd-journal group they can see all journalctl messages when run as user. |
Just got an update for Thunderbird from 115.10.0 to 115.11.0 and now my calender is empty. Where are my data? I would not have expected THIS from Debian! Any help or workaround available? Thanks. Sorry... probably wrong forum here And one more sorry... everything seems to back by miracle. | Hello, juribel wrote: 2024-05-17 21:12 Sorry... probably wrong forum here Agreed. I moved it to the "General Questions" subforum. juribel wrote: 2024-05-17 21:12 And one more sorry... everything seems to back by miracle. Since I don't have any data, I created a test event. After the update the event was there. I don't know what happened to you, but I'm glad everything is fine now. |
Hello, I have a dual boot system (debian stable and testing). While booting the former I see the following message: Code: Select allJob dev-disk-by\x2duuid-19bactb9\x2d59dd\x2d4f 1a\x2da214\x2d82 7b696ede24 .device/start running The above lasts 1:30 min and then the boot continues. After that, I don't experience any issue it is just that waiting all that time is annoying. I tried editing the `resume` file located in `/etc/initramfs-tools/conf.d`. First deleting, then pasting the correct UUID of my swap partition but the result is the same. I don't have that issue on the testing installation (and if I recall correctly I hadn't had that problem before installing the testing system). Any suggestion will be appreciated. Thanks [EDIT] My apologies, the issue was in my `/etc/fstab/` file were the wrong (old) UUID was still present. I guess that when I installed the other system (testing) it formatted the swap partition and changed the UUID. Once I changed the UUID in the `fstab` the message was gone. | ssaull wrote: 2024-05-21 18:25I guess that when I installed the other system (testing) it formatted the swap partition and changed the UUID. Once I changed the UUID in the `fstab` the message was gone. Aaah, that old chestnut. During partitioning stage of installer you can set the swap partition to "Do not format" then add it to fstab after install is finished and rebooted. |
Hi folks, I sometimes compile some newer kernels for my machine (mainly just for testing purposes, as the bpo kernel works great). Now 2 things are unclear to me. I compile e.g. https://cdn.kernel.org/pub/linux/kernel ... 6.9.tar.xz) using the .config of an installed debian-stable kernel. On one day there is a security issue with this kernel. Its clear to me, that I will not get the security-fix by apt-get. But, whats the right way? Do I have to install a kernel-patch by hand, or is it possible to wait for - lets say - kernel 6.9.1 (and will security issues by fixed in the follow up kernel-version)? Thanks a lot! | mcdaniels wrote: 2024-05-16 20:40 Hi folks, I sometimes compile some newer kernels for my machine (mainly just for testing purposes, as the bpo kernel works great). Now 2 things are unclear to me. I compile e.g. https://cdn.kernel.org/pub/linux/kernel ... 6.9.tar.xz) using the .config of an installed debian-stable kernel. On one day there is a security issue with this kernel. Its clear to me, that I will not get the security-fix by apt-get. But, whats the right way? Do I have to install a kernel-patch by hand, or is it possible to wait for - lets say - kernel 6.9.1 (and will security issues by fixed in the follow up kernel-version)? Thanks a lot! You are correct the only apt fix you will get is from the Debian security team when they apply the various fixes they do and it gets built then installed from the repositories. If the kernel people patch it in the next version then that is how you get the fix by building and using that kernel otherwise it is a case of applying the patch yourself to get it done. You would need to follow the bug report for the security matter to see how it has been resolved to know which option you need to take. |
Hi folks, I have a little weird situation here (KDE), I can not figure out myself. I have woofers attachted to the back-side audiojack of my mainboard (recognized as Speakers USB Audio - Analog Stereo). They are working fine. Now, if I plug in headphones to my front audioconnector (normal connection - not USB), the connection itself is recognized, because the KDE-Mixer app is switching to Headphones USB Audio - Analog stereo. But the problem now is, that the output still is to hear via the attached woofers (on the back) and nothing is to hear via the headphones. The driver used for audio is: hid-generic,snd-usb-audio,usbhid I know that the hardware @ my mainboard is recognized as USB-device, which is not the problem here. My config: Code: Select allinxi -Fx System: Host: Bluebird Kernel: 6.6.13+bpo-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 Desktop: KDE Plasma v: 5.27.5 Distro: Debian GNU/Linux 12 (bookworm) Machine: Type: Desktop System: ASUS product: N/A v: N/A serial: N/A Mobo: ASUSTeK model: ROG STRIX B650-A GAMING WIFI v: Rev 1.xx serial: 231230966900002 UEFI: American Megatrends v: 2613 date: 04/12/2024 Audio: Device-1: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel v: kernel bus-ID: 1-5:2 Device-2: AMD Rembrandt Radeon High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 0f:00.1 Device-3: C-Media type: USB driver: hid-generic,snd-usb-audio,usbhid Device-4: ASUSTek USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-6:3 API: ALSA v: k6.6.13+bpo-amd64 status: kernel-api Server-1: PulseAudio v: 16.1 status: active (root, process) aplay -l Code: Select allaplay -l **** Liste der Hardware-Geräte (PLAYBACK) **** Karte 0: HDMI [HDA ATI HDMI], Gerät 3: HDMI 0 [XV340CK P] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 0: HDMI [HDA ATI HDMI], Gerät 7: HDMI 1 [HDMI 1] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 0: HDMI [HDA ATI HDMI], Gerät 8: HDMI 2 [HDMI 2] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 0: HDMI [HDA ATI HDMI], Gerät 9: HDMI 3 [HDMI 3] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 1: Generic [HD-Audio Generic], Gerät 3: HDMI 0 [HDMI 0] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 1: Generic [HD-Audio Generic], Gerät 7: HDMI 1 [HDMI 1] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 3: Audio [USB Audio], Gerät 0: USB Audio [USB Audio] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 3: Audio [USB Audio], Gerät 1: USB Audio [USB Audio #1] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 3: Audio [USB Audio], Gerät 2: USB Audio [USB Audio #2] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 3: Audio [USB Audio], Gerät 3: USB Audio [USB Audio #3] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 If you start pavucontrol and unplug/replug the headphones you can also see that "connected/disconnected" is shown, but there is no audio output. I also tried pipewire instead of pulseaudio. Same. As I was out of ideas I reinstalled Debian, which (normally) never is the solution / is not required cause it is not Windows This also does not help. More weird things (cause I don't know where to look for anymore, to solve this problem) If I boot e.g. Manjaro live CD (2023) all is working properly. If I attach the headphone, speakers are muted and headphones are working. If I unplug headphones, the speakers are working gain. I assume this might only be a little configuration-issue, Debian is not sorting out during installation. Any help is very welcome! Thanks a lot! | Have you tried looking in alsamixer? Code: Select all$ alsamixer Observe what happens when headphones are plugged in. There is a setting called Auto-Mute Mode. Is it disabled or enabled? Does changing the setting make any difference? |
I have been running debian for many years, and the initial partitions made to the disk are now no longer acceptable. I have a two TB disk that was partitioned 243MiB for /boot and the remainder for LVM. Over the past year or two kernel compiles run out of disk space on the boot partition. I have been limping along by moving the older initrd image off the boot partition before updating. I have plenty of free space in the LVM partition, and I would like to move a small portion (1G) to the boot partition. The disk uses MBR. The first partition is /dev/sdd1 using ext2 filesystem. The LVM file is lvm2 pv /dev/sdd5, which is wrapped in an extended filesystem /dev/sdd2. The LVM has two logical volumes, root & swap_1 I created a debian live cd and booted from it. I installed gparted and partitionmanager in the live cd. Some of the posts I found suggested that it might be possible to shrink the lvm in gparted or partitionmanager, but I did not find a way to do that. Instead I used the command line: Code: Select alllvresize --verbose --resizefs -L -1G /dev/mapper/euterpe--vg-root This seemed to do what I expected. But the unallocated space was "between" the two logical volumes. I moved the unallocated space to the end of the volume group by first determining where the logical volumes currently were located: Code: Select allpvs -v --segments This gave the starting addresses and sizes of the segments as well as the 256 block unallocated segment. Code: Select allpvmove --alloc anywhere /dev/sdd5:476614-476869 This took the last 1G of the swap_1 logical volume and moved it into the 1G gap, which made the last 1G free. I then used partitionmanager to shrink the sdd5 partition by 1G, and its containing sdd2 partition by 1G. This left me as pictured below Code: Select all# parted /dev/sdd print free Model: ATA ST2000DM006-2DM1 (scsi) Disk /dev/sdd: 2000GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 32.3kB 1049kB 1016kB Free Space 1 1049kB 256MB 255MB primary ext2 boot 256MB 257MB 1048kB Free Space 2 257MB 1999GB 1999GB extended 5 257MB 1999GB 1999GB logical lvm 1999GB 1999GB 2097kB Free Space 1999GB 2000GB 1075MB Free Space There is 2M of unallocated space under /dev/sdd2, which if I can't reclaim easily I will just ignore. I am guessing this is due to the sdd2 partition not being aligned, which I saw in a message. There is also 1G of space that is not part of any partition at the end. Here I am stuck. I think I have to move that 1G space from after /dev/sdd2 to before it so it is adjacent to /dev/sdd1 (the boot partition). I was hoping to use partitionmanager or gparted to move the /dev/sdd2 partition (and its contained /dev/sdd5 partition) down, which would in turn move the unallocated 1G of space up. But both partitionmanager and gparted have a lock on the sdd2 and sdd5 partitions. I found something that says you use "Deactivate" in gparted to allow the partition to be moved, but I am concerned that deactivate===data loss. I can't find any documentation on what "deactivate" does. So questions 1) Am I correct that the unallocated 1G currently located below partition /dev/sdd2 has to be moved above /dev/sdd2 and so next to /dev/sdd1 in order to expand /dev/sdd1 into the unallocated space? 2) Can this be done with gparted or partitionmanager without losing data? 3) Is deactivating the LVM partition in gparted the correct way to begin that process? | 1) Am I correct that the unallocated 1G currently located below partition /dev/sdd2 has to be moved above /dev/sdd2 and so next to /dev/sdd1 in order to expand /dev/sdd1 into the unallocated space?Yes. Expanding a partition requires that the unallocated space be adjacent to the partition you want to resize. 2) Can this be done with gparted or partitionmanager without losing data?A good backup is strongly recommended. A software, hardware or power failure during partitioning can trash your drive. Can you do it without data loss? Probably, but any data loss will most likely be catastrophic. 3) Is deactivating the LVM partition in gparted the correct way to begin that process?Yes, you need to remove the lock before repartitioning. Hope this helps - |
Hello, Is there any news on "delayed" 12.6 and related XZ exploit analyzing? Not really important, I'm just curious... Another question: I'm a little bit confused (maybe misunderstand policy). What is the reason of accepting 6.7.n Kernel into BW Backports after 6.7 has entered EOL state? Have a nice Debian, Leslie | Uptorn wrote: 2024-05-23 16:27Backports does not stipulate the uploader guarantee any kind of support or even continued uploads. As long as the package is newer by version number to the stable package. To add to this just a little bit I spent a fair bit of time in Debian's policy manual to see if there was any rule but I couldn't find anything even close. Folks are welcome to check the manual themselves if they like |
Hi guys! OK this is a stupid question - but feeling stupid today... The default images for debian are stored primarily in /usr/share/images/desktop-base.. These are just links.....are there actual images anywhere? bookie32 | Easy to find by just listing the directory contents: Code: Select all$ ls -l /usr/share/images/desktop-base/ total 0 lrwxrwxrwx 1 root root 18 Jul 12 2023 default -> desktop-background lrwxrwxrwx 1 root root 36 Apr 3 2021 desktop-background -> /etc/alternatives/desktop-background lrwxrwxrwx 1 root root 40 Apr 3 2021 desktop-background.xml -> /etc/alternatives/desktop-background.xml lrwxrwxrwx 1 root root 30 Apr 3 2021 desktop-grub.png -> /etc/alternatives/desktop-grub lrwxrwxrwx 1 root root 40 Apr 3 2021 desktop-lockscreen.xml -> /etc/alternatives/desktop-lockscreen.xml lrwxrwxrwx 1 root root 42 Apr 3 2021 login-background.svg -> /etc/alternatives/desktop-login-background So they are all linked to /etc/alternatives/ . But the rabbithole is deeper, they are also symlinks: Code: Select all$ ls -l /etc/alternatives/desktop* lrwxrwxrwx 1 root root 76 Apr 3 2021 /etc/alternatives/desktop-background -> /usr/share/desktop-base/active-theme/wallpaper/contents/images/1920x1080.svg lrwxrwxrwx 1 root root 67 Apr 3 2021 /etc/alternatives/desktop-background.xml -> /usr/share/desktop-base/active-theme/wallpaper/gnome-background.xml lrwxrwxrwx 1 root root 55 Apr 3 2021 /etc/alternatives/desktop-grub -> /usr/share/desktop-base/active-theme/grub/grub-16x9.png lrwxrwxrwx 1 root root 60 Apr 3 2021 /etc/alternatives/desktop-grub.sh -> /usr/share/desktop-base/active-theme/grub/grub_background.sh lrwxrwxrwx 1 root root 68 Apr 3 2021 /etc/alternatives/desktop-lockscreen.xml -> /usr/share/desktop-base/active-theme/lockscreen/gnome-background.xml lrwxrwxrwx 1 root root 57 Apr 3 2021 /etc/alternatives/desktop-login-background -> /usr/share/desktop-base/active-theme/login/background.svg lrwxrwxrwx 1 root root 46 Apr 3 2021 /etc/alternatives/desktop-plasma5-wallpaper -> /usr/share/desktop-base/active-theme/wallpaper lrwxrwxrwx 1 root root 37 Dec 13 18:17 /etc/alternatives/desktop-theme -> /usr/share/desktop-base/emerald-theme And voilà, there they are in /usr/share/desktop-base/active-theme/ |
The Floorp browser (flatpak) crashed, and I had to power cycle my laptop. And now Floorp won't start anymore I've rebooted the laptop and even tried the root account, but when I click the launcher, nothing happens. So I'm coming here in the hope for some help, because I don't know what to do next. This is my first "serious" issue. Some info: I'm running Debian 12 with all the latest updates on a lowly Lenovo clamshell laptop, and It has been working fine for about 6 months. I'm posting this from said laptop using the default Firefox browser, and all works just fine. fyi; Librewolf, also a flatpak, still works normally. Also; I'm using the xfce desktop. Note: I tried to start Floop from the command line. I got the command from the desktop launcher. Code: Select allwb@Debian12:~/Desktop$ ./Floorp.desktop ./Floorp.desktop: line 1: [Desktop: command not found ./Floorp.desktop: line 5: the: command not found ./Floorp.desktop: line 6: run: command not found wb@Debian12:~/Desktop$ | Why don't you use Firefox that is in the official repositories? Packages from official repositories have good compatibility. If Firefox is heavy for your laptop, use Falcon. Nowadays, adding external repositories and using snap and flatpack are promoted on many sites, which is stupid and unreasonable in many cases. As long as you can use alternatives that are in official repositories Do you get an error when you invoke the program in the terminal with the flatpak run command? If yes, add it to your first post |
Not sure what is going on so here are the details... Server: Debian Bookworm 12.5 Kernel 6.1.0-21-amd64 AMD Ryzen 7 CPU PC: Windows 10 AMD Ryzen 5 CPU 2.5G network with path being --> Server - Switch - Switch - PC Samba running on Server Server /etc/network/interfaces file: --------------------------------------------------- auto lo iface lo inet loopback auto bond0 iface bond0 inet static address 192.168.0.110 netmask 255.255.255.0 gateway 192.168.0.1 network 192.168.0.0 bond-mode 1 bond-primary eno1 bond-slaves eno1 enp6s0 ------------------------------------------------- So, on the PC I open a window to the folder where the 33G movie is and a destination window on the Server When drag & drop the file into the Server folder the pop-up window that shows transfer speed (with graph) averages 270MB/sec speed. Drag and drop the other direction, I get about 70MB/sec. Interesting think is it goes up to 120MB/sec or so, than gradually drops down to about 70MB/sec. With the 2 NIC's being bonded (Primary/Slave mode) ethtool bond0 shows this: ------------------------------------------------------------------------------------------------ Settings for bond0: Supported ports: [ ] Supported link modes: Not reported Supported pause frame use: No Supports auto-negotiation: No Supported FEC modes: Not reported Advertised link modes: Not reported Advertised pause frame use: No Advertised auto-negotiation: No Advertised FEC modes: Not reported Speed: 2500Mb/s Duplex: Full Auto-negotiation: off Port: Other PHYAD: 0 Transceiver: internal Link detected: yes ---------------------------------------------------------------------------------------------------------- Auto-Negotiation is enabled and on for the two 2.5G NIC's. Not sure what the deal is with the bonding, and have not getting rid of bonding yet. Here are screenshots. First is PC to Server, 2nd Server to PC: screenhunter_358.jpg (15.66 KiB) Viewed 755 times screenhunter_357.jpg (15.16 KiB) Viewed 764 times | I'm glad you sorted it out. :) Please, mark the discussion as "solved" by manually adding the text tag "[Solved]" to the beginning of the subject of the first post. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.