How to fix grub-efi, grub-efi-amd64, and grub-efi-amd64-signed errors? Xubuntu | Ubuntu version 26.04 [duplicate] https://askubuntu.com/questions/1567431/how-to-fix-grub-efi-grub-efi-amd64-and-grub-efi-amd64-signed-errors-xubuntu

I am a new linux user, so I am not too familiar with the mechanics of everything yet. I recently ran an update for xubuntu after receiving a notification for an available update which received several errors during the update and received an update failed notice. After this, I started receiving many bug report popups which in trying to look for solutions for, I noticed some errors in the terminal. I have tried many solutions such as updating and upgrading, reinstalling the desktop environment sudo apt-get -f install and sudo apt --fix-broken install, as well as sudo apt-get purge grub\*, sudo apt-get install grub-efi, sudo apt-get autoremove, sudo update-grub So far nothing has worked:

dpkg: error processing package grub-efi-amd64 (--configure):
 old grub-efi-amd64 package postinst maintainer script subprocess failed with exit status 128
dpkg: dependency problems prevent configuration of grub-efi:
 grub-efi depends on grub-efi-amd64; however:
  Package grub-efi-amd64 is not configured yet.

dpkg: error processing package grub-efi (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of grub-efi-amd64-signed:
 grub-efi-amd64-signed depends on grub-efi-amd64 | grub-pc; however:
  Package grub-efi-amd64 is not configured yet.
  Package grub-pc is not installed.

dpkg: error processing package grub-efi-amd64-signed (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro
r from a previous failure.
                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                    Errors were encountered while processing:
 grub-efi-amd64
 grub-efi
 grub-efi-amd64-signed
Error: Sub-process /usr/bin/dpkg returned an error code (1)
How do I get the `usg` (Ubuntu Security Guide) tooling in Ubuntu 26.04? https://askubuntu.com/questions/1567430/how-do-i-get-the-usg-ubuntu-security-guide-tooling-in-ubuntu-26-04

I ran USG under earlier version of Ubuntu but it does not appear to be available on 26.04. Is there a replacement? I see there is a compliance section on the security center but there is a big splash screen that says it is only recommended for certain hardneing requirements and everything is greyed out.

After a purge of nvidia drivers with an --autoremove, I've lost all mouse capability https://askubuntu.com/questions/1567428/after-a-purge-of-nvidia-drivers-with-an-autoremove-ive-lost-all-mouse-capabi

I struggled with a "black screen" boot on a computer using Ubuntu 24.04.3 LTS. I knew this was caused by a bad install of an nVidia driver. The details for anyone interested, are here. As this topic raises a different issue, I post it separately, not wishing my previous issue to "sprawl".

I could only solve this by installing another version in a small partition. This allowed me to see a grub menu from which I could do a temporary text-only boot. Here I issued the command

sudo apt-get purge --autoremove nvidia-*

which allowed me a normal boot back into my 24.04.3 system.

I should have left out that @#$% --autoremove

Now I find that I have no mouse or bluetooth capability. Even after reinstalling the nvidia driver, I had no mouse. Something was removed in the --autoremove that was necessary. Trying to figure out what that might be. I suppose I could look at logs and try to see what was removed. But what the heck am I looking for?

Computer is a Lenovo Thinkpad P16 with a nVidia RTX500 GPU.

AMD GPU crashes system under specific conditions https://askubuntu.com/questions/1567427/amd-gpu-crashes-system-under-specific-conditions

My AMD RX 580 2048sp (a card that was previously used in a windows machine without flaws) has a few quirks in my Kubuntu 26.04 LTS machine.

Firstly, it over heats easily, which was addressed but not fixed by having better coolers, slightly limiting power usage and having fan speed configured to spin fast at the slightest heat.

Secondly, the main problem: sometimes, under specific environments and conditions, the system crashes. Image will turn into one solid shade, audio will glitch and the system won't work until rebooting. I have no idea what causes this, as it isn't related to temperature or heavy proceeding loads, as it can run graphically demanding games for hours. My guess is that there is one specific visual FX that the GPU can't process and then crashes. My reasoning is founded in 2 examples; in an emulator I have, most shaders run fine, but some crash consistently; and in one game the system crashes in the same exact spot but never anywhere else.

I have tried installing the amdgpu drivers, but that has done nothing and updating the system over months hasn't done anything, and unsinstalling said amdgpu packages has also made no difference. One thing that is important to not is that the prior GPU in this same distro didn't crash.

Edit: I have tried replicating the crash by installing a game that consistently crashes at the same spot. It crashes, I marked the time it did, waited 10 minutes (to make sure the logs are readable as being form different times), and this is the syslog from when the game opened and when it crashed:

2026-06-02T17:21:27.431856-03:00 EmperorPenguin steam[10260]: [2026-06-02 17:21:27] Saving metrics to disk (/home/cdanlb/.steam/debian-installation/package/steam_client_metrics.bin)
2026-06-02T17:22:59.562805-03:00 EmperorPenguin steam[10260]: [2026-06-02 17:22:59] uninstalled manifest found in /home/cdanlb/.steam/debian-installation/package/steam_client_ubuntu12 (1).
2026-06-02T17:23:56.417529-03:00 EmperorPenguin steam[10260]: chdir "/home/cdanlb/.steam/debian-installation/steamapps/common/Ardenfall Demo"
2026-06-02T17:23:56.425315-03:00 EmperorPenguin steam[10260]: ERROR: ld.so: object '/home/cdanlb/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
2026-06-02T17:23:56.446436-03:00 EmperorPenguin steam[10260]: ERROR: ld.so: object '/home/cdanlb/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
2026-06-02T17:23:56.460727-03:00 EmperorPenguin steam[10260]: Game Recording - would start recording game 1837770, but recording for this game is disabled
2026-06-02T17:23:56.461357-03:00 EmperorPenguin steam[10260]: Adding process 12471 for gameID 1837770
2026-06-02T17:23:56.464043-03:00 EmperorPenguin steam[10260]: ERROR: ld.so: object '/home/cdanlb/.steam/debian-installation/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
2026-06-02T17:23:56.470215-03:00 EmperorPenguin steam[10260]: ERROR: ld.so: object '/home/cdanlb/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
2026-06-02T17:23:56.486306-03:00 EmperorPenguin steam[10260]: ERROR: ld.so: object '/home/cdanlb/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
2026-06-02T17:23:56.527906-03:00 EmperorPenguin steam[10260]: Adding process 12472 for gameID 1837770
2026-06-02T17:23:56.580033-03:00 EmperorPenguin steam[10260]: Adding process 12473 for gameID 1837770
2026-06-02T17:23:56.601262-03:00 EmperorPenguin steam[10260]: Adding process 12474 for gameID 1837770
2026-06-02T17:23:57.496060-03:00 EmperorPenguin steam[10260]: Adding process 12563 for gameID 1837770
2026-06-02T17:23:58.721421-03:00 EmperorPenguin steam[10260]: ProtonFixes[12563] INFO: Running protonfixes on "GE-Proton10-26", build at 2025-12-07 22:33:15+00:00.
2026-06-02T17:23:58.721502-03:00 EmperorPenguin steam[10260]: ProtonFixes[12563] INFO: Running checks
2026-06-02T17:23:58.721553-03:00 EmperorPenguin steam[10260]: ProtonFixes[12563] INFO: All checks successful
2026-06-02T17:23:58.723375-03:00 EmperorPenguin steam[10260]: ProtonFixes[12563] INFO: Using global defaults for "Ardenfall Demo" (1837770)
2026-06-02T17:23:58.723503-03:00 EmperorPenguin steam[10260]: ProtonFixes[12563] INFO: No global protonfix found for "Ardenfall Demo" (1837770)
2026-06-02T17:23:58.788766-03:00 EmperorPenguin steam[10260]: fsync: up and running.
2026-06-02T17:23:58.805139-03:00 EmperorPenguin steam[10260]: Adding process 12564 for gameID 1837770
2026-06-02T17:23:58.805706-03:00 EmperorPenguin steam[10260]: Adding process 12565 for gameID 1837770
2026-06-02T17:23:58.856666-03:00 EmperorPenguin steam[10260]: Adding process 12566 for gameID 1837770
2026-06-02T17:23:58.908007-03:00 EmperorPenguin steam[10260]: Adding process 12569 for gameID 1837770
2026-06-02T17:23:58.908665-03:00 EmperorPenguin steam[10260]: Adding process 12571 for gameID 1837770
2026-06-02T17:23:58.959760-03:00 EmperorPenguin steam[10260]: Adding process 12574 for gameID 1837770
2026-06-02T17:23:59.011128-03:00 EmperorPenguin steam[10260]: Adding process 12583 for gameID 1837770
2026-06-02T17:23:59.062379-03:00 EmperorPenguin steam[10260]: Adding process 12588 for gameID 1837770
2026-06-02T17:23:59.769769-03:00 EmperorPenguin steam[10260]: Adding process 12599 for gameID 1837770
2026-06-02T17:24:00.323858-03:00 EmperorPenguin steam[10260]: Adding process 12622 for gameID 1837770
2026-06-02T17:24:00.533211-03:00 EmperorPenguin steam[10260]: Adding process 12641 for gameID 1837770
2026-06-02T17:24:00.745408-03:00 EmperorPenguin steam[10260]: Adding process 12651 for gameID 1837770
2026-06-02T17:24:00.835748-03:00 EmperorPenguin steam[10260]: Fossilize INFO: Overriding serialization path: "/home/cdanlb/.steam/debian-installation/steamapps/shadercache/1837770/fozpipelinesv6/steamapprun_pipeline_cache".
2026-06-02T17:24:01.020145-03:00 EmperorPenguin kded6[1857]: Registering ":1.255/StatusNotifierItem" to system tray
2026-06-02T17:24:01.057251-03:00 EmperorPenguin kded6[1857]: Service  ":1.255" unregistered
2026-06-02T17:24:01.075966-03:00 EmperorPenguin kded6[1857]: Registering ":1.256/StatusNotifierItem" to system tray
2026-06-02T17:24:01.077626-03:00 EmperorPenguin kded6[1857]: Service  ":1.256" unregistered
2026-06-02T17:24:01.081164-03:00 EmperorPenguin kded6[1857]: Registering ":1.257/StatusNotifierItem" to system tray
2026-06-02T17:24:01.107321-03:00 EmperorPenguin kded6[1857]: Service  ":1.257" unregistered
2026-06-02T17:24:02.336885-03:00 EmperorPenguin steam[10260]: 06/02 17:24:02 minidumps folder is set to /tmp/dumps
2026-06-02T17:24:02.336961-03:00 EmperorPenguin steam[10260]: 06/02 17:24:02 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20260527212129)/tid(12793)
2026-06-02T17:24:02.337010-03:00 EmperorPenguin steam[10260]: 06/02 17:24:02 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(12793)
Terminal stopped after -append when trying to boot a QEMU https://askubuntu.com/questions/1567426/terminal-stopped-after-append-when-trying-to-boot-a-qemu

I am new to Ubuntu, and I'm trying to boot a QEMU:

$ qemu-system-arm \
  -M vexpress-a9 \
  -cpu cortex-a9 \
  -m 512M \
  -nographic \
  -kernel ~/embedded_lab1/output/zImage \
  -dtb ~/embedded_lab1/output/vexpress-v2p-ca9.dtb \
  -initrd ~/embedded_lab1/output/initramfs.cpio.gz \
  -append "console=ttyAMA0,115200 rdinit=/init mem=512M"

My terminal stopped working after -append. I can still terminate the QEMU, but I don't know how to do this. I already have zImage (ARMv7), vexpress-v2p-ca9.dtb and initramfs.

wifi driver not really comptaible with new ubuntu upgrade (26.04) https://askubuntu.com/questions/1567423/wifi-driver-not-really-comptaible-with-new-ubuntu-upgrade-26-04

When I power on my computer, recently upgraded to Ubuntu 26.04, it randomly restarts (usually when I download a file or send an email). After looking into the journalctl (and after asking AI), it seems like my WiFi driver isn't really happy about the update

My network controller is : Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01)

Do you have another solution than downgrading to Ubuntu 24.04 ?

The last lines of the log is

Jun 02 16:51:18 architect kdump-tools[784]:  * kdump-tools: saved vmcore in /var/crash/202606021651
Jun 02 16:51:18 architect kdump-tools[927]: saved vmcore in /var/crash/202606021651

Should I send the rest of the logs (since they contain a lot of data about WiFi and network...) ?*

Thanks in advance

sudo password rejected after modifying PAM configuration https://askubuntu.com/questions/1567422/sudo-password-rejected-after-modifying-pam-configuration

I have quite a big issue.
I tried to implement some more security to my vps so I ran

sudo lynis audit system

And then implemented some fixes. I think it comes frm one of these 2 changes

# in /etc/pam.d/common-password
password   requisite   pam_pwquality.so retry=3 minlen=12 
# (to which I added the following)
maxrepeat=3 ucredit=-1 lcredit=-1 dcredit=-1 ocredit=-1 difok=4 reject_username enforce_for_root
#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the
# traditional Unix authentication mechanisms.
#
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
# To take advantage of this, it is recommended that you configure any
# local modules either before or after the default block, and use
# pam-auth-update to manage selection of other modules.  See
# pam-auth-update(8) for details.

auth required pam_faillock.so preauth silent deny=5 unlock_time=900  <--- new line
auth [default=die] pam_faillock.so authfail deny=5 unlock_time=900   <--- new line


# here are the per-package modules (the "Primary" block)
auth    [success=1 default=ignore]  pam_unix.so nullok
# here's the fallback if no module succeeds
auth    requisite           pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth    required            pam_permit.so
# and here are more per-package modules (the "Additional" block)
auth    optional            pam_cap.so 
# end of pam-auth-update config

And now, when I try to type any sudo command I just get this without the possibility to type anything:

Sorry, try again.
Sorry, try again.
sudo: 3 incorrect password attempts

Non-DFS channel selection on a WiFi connection https://askubuntu.com/questions/1567421/non-dfs-channel-selection-on-a-wifi-connection

I'm using Ubuntu 22.04. I have a problem that I'm using Ezurio Sona IF573 wifi module, and I want to have internet connection and an AP at the same time. By looking at the datasheet I need to have both of these interfaces on the same channel. That is not an issue, and I have already done that.

The thing that I need to figure out is that I can't create the AP if I'm connected to any DFS channels, and I can't just use 2.4GHz; I need 5GHz. Is there a way that I can filter out which are the available non-DFS channels which I can connect to. I also don't want to just hard code the channels I can use.

dpkg configuration taking an infinite time [duplicate] https://askubuntu.com/questions/1567420/dpkg-configuration-taking-an-infinite-time

I tried to install texlive on my ubuntu 22.04.6 LTS by running:
sudo apt install texlive-full.

Everything was fine untill I got the message:

Running mtxrun --generate. This may take some time... done.
Pregenerating ConTeXt MarkIV format. This may take some time... 

and the installation seemed to be blocked: no progression for hours and on the system monitor app, the processor seemed to do almost nothing, as if there were no particular process running.

  1. I tried to stop the process using 'ctrl+C' but it was not responding

  2. I tried to kill the process (with the kill command), and it worked, but when I tried to use apt install again, I got the message

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
  1. I then ran sudo dpkg --configure -a, and fell in the initial situation: nothing progressing and left with the message
Running mtxrun --generate. This may take some time... done.
Pregenerating ConTeXt MarkIV format. This may take some time... 

The problem is that now each time I try to install anything with apt, I have to first kill the process so that apt or dpkg is not busy anymore, and then while running apt install or apt upgrade, I get the same initial situation.

  1. I tried to reboot my computer but it didn't fix the problem

  2. I freed some space on my laptop (I have now 32.1 Go of free space) but this changed nothing

  3. Following the advices on E: dpkg was interrupted... run 'sudo dpkg --configure -a', I tried to :

    1. Run sudo apt-get install -f then sudo dpkg --configure -a but nothing changed
    2. Delete the updates using cd /var/lib/dpkg/updates && sudo rm *, then try to update with sudo apt update && sudo apt upgrade, but nothing changed.

What should I do?

USB wifi stick recommendation after the QCA9377 https://askubuntu.com/questions/1567419/usb-wifi-stick-recommendation-after-the-qca9377

I was running LTS fine on a Dell Inspiron 3581. And installed full Ubuntu in separate partition. Both Boot.

Then sometime Apr 16-19 I read that the Qualcomm QCA 9377 stopped working.

Have read many articles - but not solved the issue with the software.

Unfortunately have to use my remaining Win PC. uSoft is bad, Linux should not join that club.

iPhone and iPad are great for other use.

MY QUESTIONS:

Will QCA9377 support be restored ?

Which USB Wifi gadgets would you recommend for future support ?

Obviously I cannot simply update a Ubuntu laptop with no wifi.

Currently rely on download via Win PC and USB sticks to move to Ubuntu machine.

A new Wifi Stick seems the easiest ?

Enough for now, Barry

Ubuntu 26.04 fingerprint settings page https://askubuntu.com/questions/1567416/ubuntu-26-04-fingerprint-settings-page

Fingerprint GUI issue: "Scan New Fingerprint" button does nothing.

I'm using Ubuntu 26.04, and I'm trying to add a fingerprint through Settings → Users → Fingerprint Login. When I click "Scan New Fingerprint", nothing happens in the GUI. There is no error message and no fingerprint scan prompt, however fingerprint enrollment works correctly from the terminal using fprintd-enroll, and I can also add or delete fingerprints manually through terminal commands.

enter image description here

Does this indicate a GUI bug, a fingerprint driver issue, or some problem with the Settings application? How can I troubleshoot this?

BackupPC fails to backup Clients running Kubuntu 26.04LTS https://askubuntu.com/questions/1567415/backuppc-fails-to-backup-clients-running-kubuntu-26-04lts

I have been using BackupPC for very many years. I have 2 backup systems (belt and braces) backing up about 25 clients of various sorts all running Linux in various flavours. All the backups use rsync for the backups,

Currently both BackupPCs are Raspberry Pi5s running RaspiOS. Both have the same problem, so I think the problem lies with the Clients, not the Hosts.

BackupPC is Version 4.4.0-8
rsync_bpc version 3.1.3.0

I recently changed the OS on my PC and Laptop to Kubuntu 26.04 (previously running Gentoo with BackupPC working fine) and have the same sudo settings as before. I have no Firewall running. I picked the main command out and issued it from the command line with -vvv added and I get this:

/usr/libexec/backuppc-rsync/rsync_bpc -vvv --bpc-top-dir /var/lib/backuppc --bpc-host-name scorpio --bpc-share-name / --bpc-bkup-num 24 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 6677154 --bpc-log-level 1 --bpc-attrib-new -e /usr/bin/ssh\ -l\ backuppc --rsync-path=/usr/bin/sudo\ \ /usr/bin/rsync --super --recursive --protect-args --numeric-ids --perms --owner --group -D --times --links --hard-links --delete --delete-excluded --one-file-system --partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats --timeout=72000 --exclude=/proc --exclude=/dev --exclude=/cdrom --exclude=/media --exclude=/floppy --exclude=/lost+found --exclude=/sys --exclude=/tmp --exclude=\*~\* --exclude=\*.iso --exclude=/home/francis/storage --exclude=.cache --exclude=.Trash\* 10.6.10.10:/ /

opening connection using: /usr/bin/ssh -l backuppc 10.6.10.10 "/usr/bin/sudo  /usr/bin/rsync" --server --sender -svvvlHogDtprxe.iLsfxC  (8 args)
protected args: --timeout=72000 --numeric-ids . /  (4 args)
sudo: A terminal is required to authenticate
rsync_bpc: connection unexpectedly closed (0 bytes received so far) [Receiver]
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 6677154 inode
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.3.0]
[Receiver] _exit_cleanup(code=12, file=io.c, line=226): about to call exit(12)

The ssh keys work fine using the client name or the IP address. I can ssh in without a password. I can run a simple rsync command from the host to the client and rsync a folder from /etc/ from the client, no problem. I have this in my sudoers file, same as all the other clients:

backuppc  ALL=(root) NOPASSWD: /usr/bin/rsync  --server --sender *

I have also tried this simpler version:

backuppc  ALL=NOPASSWD: /usr/bin/rsync

I have disabled %admin and %sudo and have User_Alias instead, but the error is the same. What is it about Kubuntu 26.04 that can be causing this?

Cusror lagging but fixed after suspending (24.04.4 LTS) https://askubuntu.com/questions/1567413/cusror-lagging-but-fixed-after-suspending-24-04-4-lts

After a recent update, the cursor started to lag significantly. I discovered that it can somehow be fixed by suspending the device.

I'm using Lenovo IdeaPad 5 Pro 16ACH6 with 24.04.4 LTS.

I was wondering if anybody is experiencing the same or the bug fix will be released soon?

my Ubuntu 26.04 desktop keeps logging me out and all programs shut off https://askubuntu.com/questions/1567410/my-ubuntu-26-04-desktop-keeps-logging-me-out-and-all-programs-shut-off

my Ubuntu 26.04 desktop keeps logging me out and all programs shut off. machine stays on. automatic screen blank is off and automatic suspend is off in power settings. why is this happening and how do i resolve this? ran sudo wtmpdb last -xn10 and this was results i got

ai       tty2         local            Tue Jun  2 05:04 - still logged in
ai       tty2         local            Tue Jun  2 04:10 - still logged in
ai       tty2         local            Tue Jun  2 04:10 - 04:10  (00:00)
ai       tty2         local            Tue Jun  2 04:05 - 04:10  (00:04)
ai       tty2         local            Tue Jun  2 03:42 - 04:05  (00:22)
ai       tty2         local            Tue Jun  2 03:36 - 03:42  (00:06)
ai       tty2         local            Tue Jun  2 03:32 - 03:34  (00:02)
ai       tty2         local            Tue Jun  2 03:15 - 03:32  (00:16)
ai       tty2         local            Tue Jun  2 02:47 - 03:07  (00:20)
ai       tty2         local            Tue Jun  2 01:50 - 02:47  (00:57)
Unable to install custom kernel https://askubuntu.com/questions/1567409/unable-to-install-custom-kernel

I was following this guide from canonical https://documentation.ubuntu.com/kernel/how-to/develop-customise/build-kernel/

i built the kernel and when linux-modules it was complaining about

$ sudo dpkg -i linux-modules-7.0.0-999-generic_7.0.0-999.22_amd64.deb 
(Reading database… 221824 files and directories currently installed.)
Preparing to unpack linux-modules-7.0.0-999-generic_7.0.0-999.22_amd64.deb…
Unpacking linux-modules-7.0.0-999-generic (7.0.0-999.22) over (7.0.0-999.22)…
dpkg: dependency problems prevent configuration of linux-modules-7.0.0-999-generic:
 linux-modules-7.0.0-999-generic depends on linux-main-modules-zfs-7.0.0-999-generic; however:
  Package linux-main-modules-zfs-7.0.0-999-generic is not installed.

dpkg: error processing package linux-modules-7.0.0-999-generic (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-modules-7.0.0-999-generic

even if i force install it later i get broken install and its actively trying to remove the custom kernel , am i missing something

Transparency effects on KDE Plasma 6.6.5 https://askubuntu.com/questions/1567408/transparency-effects-on-kde-plasma-6-6-5

so i already turned off that "Translucency" option in settings and set the look of my panel to "Opaque" but there is still some transparent elements
panel's popups and krunner to be specific
how do I turn off transparency for them?
here is krunner
and here is panel's popup

Issue with mouse and touchpad in Kubuntu 26.04 https://askubuntu.com/questions/1567407/issue-with-mouse-and-touchpad-in-kubuntu-26-04

I have an issue with my PC with Kubuntu 26.04. After a while my mouse starts to not work properly. The left-click button does not work, and even some keyboard keys like the Enter key don't work.

Specs:

   Operating system: Kubuntu 26.04 LTS
   KDE Plasma version: 6.6.4
   KDE Frameworks version: 6.24.0
   Qt version: 6.10.2
   Kernel version: 7.0.0-22-generic (64-bit)
   Graphics platform: Wayland
   Processors: 4 × Intel Core i3-6006U CPU @ 2.00GHz
   Memory: 8 GiB of RAM (7.6 GiB usable)
   Graphics processor: Intel HD Graphics 520
   Manufacturer: Dell
   Product Name: Inspiron 57704

Failure upgrading to 26.04 https://askubuntu.com/questions/1567406/failure-upgrading-to-26-04

I tried to upgrade from 25.10 to 26.04 several times, but the process was aborted nearing the end when almost all the files had downloaded. I am a digital "dummy". I do not understand why and do not know how to repair whatever is wrong. Images are attached of my system details and the download failure message.

System Details:

enter image description here

Could not download the upgrades:

enter image description here

Ubuntu 24.04.3 started booting to blank screen. How can I get a command line? https://askubuntu.com/questions/1567400/ubuntu-24-04-3-started-booting-to-blank-screen-how-can-i-get-a-command-line

I've been using Ubuntu 24.04.3 LTS on a Lenovo Thinkpad P16 with an Nvidia RTX3500 GPU. I'd been using the Kubuntu desktop with no issues.

I ran a lengthy maybe CPU-intensive process and came back to a black screen. I tried rebooting and powering off, to no avail.

I'm pretty sure NVidia is involved. The last thing I was able to "successfully" do was reinstall my NVidia driver. But no boot after that.

I can get into the BIOS config but find nothing useful there. I would like some way to get to a command line where I can fix something but none of the suggestions like Ctrl-Alt-F3 do anything.

UPDATE: I was asked if other questions were similar to mine. THEY ARE NOT.

My situation is different from these: it is a pure black screen boot. It is not a graphics issue. I my current situation, no input is possible. However, I know the system is running because I can achieve a reboot with the Alt-PrtSc-REISUB key combination.

What I am looking for is a way to force a command line from which I can purge the nvidia driver from the system to see if I can get a boot.

I have gotten this far:

I have managed to boot from a USB disk, mount the existing hard drive where I could change a file that would allow this to happen. Some webpages mention a chance to intervene in a GRUB menu. But I have no GRUB menu since it goes straight to boot without giving me a chance to intervene. And I don't know how to modify the grub configuration so that it will allow this.

Grub may not be the only way to force a command line. I am open to any others.

UPDATE 2:

Thanks to the useful input from @david below, I have found my way into grub. However, this is not helping much so far. I hoped I would find a way to log in. Or failing that, a way to configure a text-mode login for the computer. I've been all up and down the grub help listing and there is nothing there enabling the booting to a command line, the editing of grub config files (no vi, no nano, etc.) I found a source telling me how to boot from the grub console but won't this just get me back to where I already am, i.e. a non-functional graphical screen?

UPDATE 3:

At this point, I am convinced (unless someone can tell me otherwise) that there is nothing I can do on the grub menu that will let me edit anything on the grub config. This is apparently by design:

https://www.google.com/search?q=edit+grub+config+from+grub+command+line&oq=how+to+modift+grub+config+from+grub+command+line

So my next move seems to be one of two things:

  1. Live boot 26.04 from USB
  2. Actually install 26.04. I assume this will create a partition which I will keep small.

After either of these options

  • mount the partitions on the main drive
  • edit the grub config files to come up in text mode by default where I can fix my system and update grub.

I'm interested in feedback on either of these options.

Ubuntu 24.04 and 26.04 fail to boot with RTX 5050 — black screen issue https://askubuntu.com/questions/1566815/ubuntu-24-04-and-26-04-fail-to-boot-with-rtx-5050-black-screen-issue

I am unable to run Ubuntu properly with my NVIDIA RTX 5050 GPU. Both Ubuntu 24.04 and Ubuntu 26.04 result in a black screen when the NVIDIA driver is enabled. The system only works using nomodeset, but then GPU acceleration is unavailable and resolution is limited (around 720p).

I can only install and boot the system using GRUB modification (nomodeset), but enabling NVIDIA drivers causes a black screen after boot.

I have tested multiple NVIDIA driver versions (570, 580, 595), but all result in the same issue.


System information

  • GPU: NVIDIA RTX 5050

  • CPU: AMD Ryzen 5 5500

  • RAM: 8GB DDR4 3200MHz

  • Storage: 256GB NVMe SSD

  • Motherboard: Gigabyte B550M-K


Steps already tried

1. Boot with nomodeset (only working method)

At GRUB:

  • Press e

  • Add:

nomodeset

Then boot with Ctrl + X


2. Install NVIDIA drivers

sudo apt update
sudo apt install nvidia-driver-580

Also tested:

sudo apt install nvidia-driver-570
sudo apt install nvidia-driver-595

3. Remove broken NVIDIA installation (via chroot / recovery)

sudo apt purge '^nvidia'
sudo apt autoremove --purge
sudo rm -f /etc/X11/xorg.conf
sudo rm -f /etc/modprobe.d/nvidia*
sudo update-initramfs -u
sudo update-grub

4. Update kernel / system packages

sudo apt update
sudo apt upgrade
sudo apt install linux-generic-hwe-24.04

Current result

  • System boots only with nomodeset

  • Without nomodeset, black screen occurs immediately after GRUB

  • NVIDIA drivers install successfully but break display on reboot

  • No GPU acceleration is working


Request

Looking for a stable solution to run RTX 5050 properly on Ubuntu (kernel/driver configuration fix or compatibility workaround).

Apparmor passt and pasta profiles https://askubuntu.com/questions/1564086/apparmor-passt-and-pasta-profiles

Do anyone have pointer to get new version of passt and pasta (libvirt and docker network related) profiles for Apparmor? Current implementation of them causes error on aa-logprof like:

ERROR: Operation {'runbindable'} cannot have a source. Source = AARE('/')

That the bug report issued on advised to upgrade whole apparmor or manually remove empty mounts from profile. So anyone done manual mount cleaning for it?

SH

Barrier does not work for Linux to Windows connection https://askubuntu.com/questions/1409533/barrier-does-not-work-for-linux-to-windows-connection

I have been trying for a while to connect my mouse and keyboard using barrier between Ubuntu and Windows.

  1. I tried different way to connect. for example changing port, disable enabling SSL, putting same device name and so on, but nothing is working.
  2. I tried Windows as a server and also tried Ubuntu as a server, but could not connect.

In server's log it shows: "waiting for clients" \n "server status : active" In client's log it shows:

[2022-05-20T00:51:46] WARNING: failed to connect to server: Timed out
[2022-05-20T00:51:47] NOTE: connecting to '192.168.0.37': 192.168.0.37:24801
[2022-05-20T00:51:47] INFO: OpenSSL 1.1.1  11 Sep 2018
[2022-05-20T00:52:02] WARNING: failed to connect to server: Timed out

My question is am I only one who is facing this issue? or It is not possible for Ubuntu and Windows to connect using Barrier. If so, what free software or way (hardware) do you recommend me to solve this issue?

How to reset NFS client after interrupted connection? https://askubuntu.com/questions/1328834/how-to-reset-nfs-client-after-interrupted-connection

I have two devices: a laptop with Ubuntu 20.04, and a Raspberry Pi 4 with Raspberry Pi OS.

Both of these have an identical version of nfs-kernel-server and setup on them.

Both of of these share some of their directories with the other machine, sometimes simultaneously, via the NFS4 protocol.

Due to clumsiness, I quite often manage to interrupt these connections:

  • I often shut the Raspberry down, while forgetting to unmount its share on the laptop
  • my laptop either goes to sleep, or I log out / reboot, while the Raspberry is accessing its shares

In any case, neither machine in the role of client take these disruptions too well; attempts to unmount after-the-fact do not go well (endless waiting without any results), and other things can get impacted too: my Ubuntu sometimes starts to complain that no application is associated with opening .txt files (!)

Question:

How can I somehow reset these interrupted NFS connections on the clients (without rebooting)? 1.) To ease the unmounting 2.) To allow for a clean slate start for re-mounting.

Details:

nfs-common version on both machines: 1.3.4-2.5

All these mounts are initiated manually (by running a script, on demand); none of them are in /etc/fstab. I have not supplied any options with the mount command whatsoever; it's as plain as:

sudo mount IP:/share /mountpoint
How to Change Evolution's Keyboard Shortcuts? https://askubuntu.com/questions/1125058/how-to-change-evolutions-keyboard-shortcuts

How can I change the keyboard shortcuts in Evolution 3.32.0, running on Ubuntu 18.04? I haven't been able to change shortcuts for things like "archive message" and others.

Here's what I've tried so far, unsuccessfully

  1. Search the manual at https://help.gnome.org/users/evolution/stable/
  2. edit the ~/.config/evolution/accels file while Evolution is not running
  3. in dconf editor, set can-change-accels to true, hover over command, type new shortcut
  4. Reviewed related questions on askubuntu and others
Cannot delete user - entry missing in /etc/passwd - (networked user) https://askubuntu.com/questions/977490/cannot-delete-user-entry-missing-in-etc-passwd-networked-user

I ran

sudo userdel <username>

but I received the following error

userdel: cannot remove entry '<username>' from /etc/passwd

I check the /etc/passwd file and I indeed cannot find an entry for the username - I CTRL+F'd through to check.

Help would be really appreciated, already used to the search bar and no satisfactory answers turned up.

Cheers!

EDIT:

I believe I know what may be the issue. The user I am trying to delete does not authenticate locally, but on a network as the login is the same as my university login details which is why it is not locally storing details in /etc/passwd - The question is now how can I delete this sort of user that is authenticating over a network - Could someone help me with that?

EDIT2: Upon request below is the contents of /etc/nsswitch.conf

passwd:         files
group:          files
shadow:         files
gshadow:        files

hosts:          files mdns4_minimal [NOTFOUND=return] dns
networks:       files

protocols:      db files
services:       db files sss
ethers:         db files
rpc:            db files

netgroup:       nis
sudoers:        sss
OpenVPN working from CLI but not via NetworkManager GUI https://askubuntu.com/questions/953212/openvpn-working-from-cli-but-not-via-networkmanager-gui

I have a working VPN connection via CLI:

sudo openvpn myconfigfile.ovpn

I imported the file in the Network Manager GUI and when I try to use it, it always fails but I can't find the reason why. I had a look at the logs of the NetworkManager via:

journalctl -u NetworkManager 

and it gives this :

sept. 06 09:30:56 alt-machine NetworkManager[19942]: <info>  [1504683056.7617] audit: op="connection-activate" uuid="24fc3644-b324-46a4-9ce1-c1a0fcea1b75" name="name-of-connection" pid=3406 uid=1000 result="success"
sept. 06 09:30:56 alt-machine NetworkManager[19942]: <info>  [1504683056.7900] vpn-connection[0x55e876784720,24fc3644-b324-46a4-9ce1-c1a0fcea1b75,"name-of-connection",0]: Started the VPN service, PID 23791
sept. 06 09:30:56 alt-machine NetworkManager[19942]: <info>  [1504683056.8118] vpn-connection[0x55e876784720,24fc3644-b324-46a4-9ce1-c1a0fcea1b75,"name-of-connection",0]: Saw the service appear; activating connection
sept. 06 09:30:56 alt-machine nm-openvpn[23798]: OpenVPN 2.4.0 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jun 22 2017
sept. 06 09:30:56 alt-machine nm-openvpn[23798]: library versions: OpenSSL 1.0.2g  1 Mar 2016, LZO 2.08
sept. 06 09:30:56 alt-machine NetworkManager[19942]: <info>  [1504683056.9251] vpn-connection[0x55e876784720,24fc3644-b324-46a4-9ce1-c1a0fcea1b75,"name-of-connection",0]: VPN plugin: state changed: starting (3)
sept. 06 09:30:56 alt-machine NetworkManager[19942]: <info>  [1504683056.9251] vpn-connection[0x55e876784720,24fc3644-b324-46a4-9ce1-c1a0fcea1b75,"name-of-connection",0]: VPN connection: (ConnectInteractive) reply received
sept. 06 09:30:57 alt-machine nm-openvpn[23798]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
sept. 06 09:30:57 alt-machine nm-openvpn[23798]: TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:port
sept. 06 09:30:57 alt-machine nm-openvpn[23798]: UDP link local: (not bound)
sept. 06 09:30:57 alt-machine nm-openvpn[23798]: UDP link remote: [AF_INET]x.x.x.x:port
sept. 06 09:30:57 alt-machine nm-openvpn[23798]: NOTE: chroot will be delayed because of --client, --pull, or --up-delay
sept. 06 09:30:57 alt-machine nm-openvpn[23798]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
sept. 06 09:31:56 alt-machine NetworkManager[19942]: <warn>  [1504683116.7116] vpn-connection[0x55e876784720,24fc3644-b324-46a4-9ce1-c1a0fcea1b75,"name-of-connection",0]: VPN connection: connect timeout exceeded.
sept. 06 09:31:56 alt-machine nm-openvpn-serv[23791]: Connect timer expired, disconnecting.
sept. 06 09:31:56 alt-machine NetworkManager[19942]: <warn>  [1504683116.7199] vpn-connection[0x55e876784720,24fc3644-b324-46a4-9ce1-c1a0fcea1b75,"name-of-connection",0]: VPN plugin: failed: connect-failed (1)
sept. 06 09:31:56 alt-machine NetworkManager[19942]: <info>  [1504683116.7208] vpn-connection[0x55e876784720,24fc3644-b324-46a4-9ce1-c1a0fcea1b75,"name-of-connection",0]: VPN plugin: state changed: stopping (5)
sept. 06 09:31:56 alt-machine NetworkManager[19942]: <info>  [1504683116.7210] vpn-connection[0x55e876784720,24fc3644-b324-46a4-9ce1-c1a0fcea1b75,"name-of-connection",0]: VPN plugin: state changed: stopped (6)

Are there other logs where I can have a look ?

How to wget cronjob to save a webpage periodically https://askubuntu.com/questions/902644/how-to-wget-cronjob-to-save-a-webpage-periodically

I have a Ubuntu 16.04.2 LTS cloud server online 24/7. There are many cronjobs running on this server. There is a news website that I want to save a timestamped version of the cover page of every 20 minutes. I have created a wget statement that runs perfectly from the command line.

wget --convert-links --output-document=/home/username/News-Headlines-$(date +%Y-%m-%d_%H:%M:%S).html news.tld

*/20 * * * * /usr/bin/wget --convert-links --output-document=/home/username/News-Headlines-$(date +%Y-%m-%d_%H:%M:%S).html news.tld

When this statement is run from the root cronjob, the file is not created and no error is produced in /var/log/syslog

How can this wget root cronjob statement be made to work?

Followup:

An error began being mailed by cron:

/bin/sh: 1: Syntax error: end of file unexpected (expecting ")")

The root crontab file does have a blank line at the end. To what is this error message referring?

Ubuntu 16.04 Login Loop Problem https://askubuntu.com/questions/894713/ubuntu-16-04-login-loop-problem

I have a problem with ubuntu. When I tried login, I was seeing a black screen and again login screen was coming. I tried some codes but they didn't work. Codes which I tried;

chown username:username .Xauthority
mv .Xauthority .Xauthority.bak
sudo chmod a+wt /tmp
sudo apt-get purge lightdm
sudo apt-get install lightdm
dpkg-reconfigure lightdm

However I creat a new account and it is working. Well, I want to use my main account but I can't work it. Can someone help me? Thanks.

Cropping Images using Command Line Tools Only https://askubuntu.com/questions/631689/cropping-images-using-command-line-tools-only

I want to crop an image using command line tools only indicating pixels to crop for the four directions (the same way we can crop in LibreOffice)

For example:

crop image.jpg -top 5px -bottom 7px -right 14px -left 3px

Is there such a tool (not GUI)?

How can I make VirtualBox guests share the host's VPN connection? https://askubuntu.com/questions/419327/how-can-i-make-virtualbox-guests-share-the-hosts-vpn-connection

Question

When I start my VPN on my ubuntu desktop computer which acts as a router, the attached subnet loses internet connectivity, but is still accessible (LAN). Ideally, I would like to know how to enable the attached subnet to re-gain internet access by routing through the VPN tunnel when the VPN is active.

Context

I have the following network layout:

subnet 172.16.0.0/20 on eth0 for my VirtualBox virtual machines.

subnet 192.168.0.0/24 on eth0:0 which connects to gateway 192.168.0.1 which has internet access.

This is shown in the /etc/network/interfaces file:

auto lo
iface lo inet loopback

# This is the subnet dedicated to VB
auto eth0
iface eth0 inet static
    address 172.16.0.1
    netmask 255.255.0.0
    gateway 192.168.0.164
    dns-nameservers 8.8.8.8

# normal DHCP internet
auto eth0:0
iface eth0:0 inet static
    address 192.168.0.164
    netmask 255.255.255.0
    dns-nameservers 8.8.8.8
    gateway 192.168.0.1

The packets on the eth0 are forwarded through eth0:0 with masquerading and normal internet connectivity is fine. However when I start my VPN tunnel on this router, internet connectivity is lost for the VMs on the eth0 subnet (yet remains for the router).

Below is the output of ifconfig when the tunnel is active:

eth0      Link encap:Ethernet  HWaddr 00:1f:bc:01:c3:ab  
          inet addr:172.16.0.1  Bcast:172.16.255.255  Mask:255.255.0.0
          inet6 addr: fe80::21f:bcff:fe01:c3ab/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:165426 errors:0 dropped:0 overruns:0 frame:0
          TX packets:182601 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:208264321 (208.2 MB)  TX bytes:16660945 (16.6 MB)
          Interrupt:16 

eth0:0    Link encap:Ethernet  HWaddr 00:1f:bc:01:c3:ab  
          inet addr:192.168.0.164  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:16 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:381963 errors:0 dropped:0 overruns:0 frame:0
          TX packets:381963 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:22755054 (22.7 MB)  TX bytes:22755054 (22.7 MB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.8.0.10  P-t-P:10.8.0.9  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

I suspect that the solution will have something to do with the routing table. It shows the following when the tunnel is active:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.8.0.9        128.0.0.0       UG    0      0        0 tun0
default         192.168.0.1     0.0.0.0         UG    100    0        0 eth0
10.8.0.0        10.8.0.9        255.255.255.0   UG    0      0        0 tun0
10.8.0.9        *               255.255.255.255 UH    0      0        0 tun0
37.139.23.49    192.168.0.1     255.255.255.255 UGH   0      0        0 eth0
128.0.0.0       10.8.0.9        128.0.0.0       UG    0      0        0 tun0
link-local      *               255.255.0.0     U     1000   0        0 eth0
172.16.0.0      *               255.255.0.0     U     0      0        0 eth0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0

and the following when the tunnel inactive:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.0.1     0.0.0.0         UG    100    0        0 eth0
link-local      *               255.255.0.0     U     1000   0        0 eth0
172.16.0.0      *               255.255.0.0     U     0      0        0 eth0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0

Virtualbox configuration for Vms:

enter image description here

One of the VMs /etc/network/interfaces file:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 172.16.0.3
        netmask 255.255.0.0
        network 172.16.0.0
        broadcast 172.16.255.255
        gateway 172.16.0.1
        dns-nameservers 8.8.8.8