locate is forgetting files in home folder that it will find after another updatedb https://askubuntu.com/questions/1568543/locate-is-forgetting-files-in-home-folder-that-it-will-find-after-another-update

I run locate for files in my home (/home/xxxx) directory that I know have existed for months; it can't find them, but shows files in other file systems like /boot, /bulk, /usr, /var.

I run sudo updatedb and it then finds them. A day or two (or week ...) later, and locate can't find other files in the home directory. Again, a sudo updatedb fixes it.

This has been happenening for months.

It was a fresh Ubuntu 25.10 install, and then upgraded to 26.04. Hardware is HP Victus 15 laptop with 2TB SSD.

Example of terminal session (with extra spacing wrapping commands to make it easier to follow:

xxxx@vvvv15:~/git/yyyyArduino$ locate -i morse

/boot/grub/x86_64-efi/morse.mod
/bulk/main_bulk/Win150G/MyDocszzzz/eBooks/SabbathInPuritanNewEngland_AliceMorseEarle_pg8659.txt
/usr/bin/brltty-morse
/usr/lib/grub/x86_64-efi/morse.mod
/var/lib/flatpak/appstream/flathub/x86_64/6a9061995528fe88b68fd1212b6dcbb88012e3a8bdde4cf1f0156b92e666cec5/icons/128x128/io.github.teacond.Morse.png
/var/lib/flatpak/appstream/flathub/x86_64/6a9061995528fe88b68fd1212b6dcbb88012e3a8bdde4cf1f0156b92e666cec5/icons/64x64/io.github.teacond.Morse.png
/var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@vvvv15:~/git/yyyyArduino$ sudo updatedb

[sudo: authenticate] Password:
/usr/bin/find: '/run/user/1000/gvfs': Permission denied
/usr/bin/find: '/run/user/1000/doc': Permission denied

xxxx@vvvv15:~/git/yyyyArduino$ locate -i morse

/boot/grub/x86_64-efi/morse.mod
/bulk/main_bulk/Win150G/MyDocszzzz/eBooks/SabbathInPuritanNewEngland_AliceMorseEarle_pg8659.txt
/home/xxxx/.cache/gnome-software/icons/09ba72a3038b432d4fc5c9363414bf17ff670ac1-io.github.teacond.Morse.png
/home/xxxx/.cache/gnome-software/icons/4ba28e0fe8fb6d8d61bef987d077504e0210c2f9-io.github.teacond.Morse.png
/home/xxxx/.cache/gnome-software/icons/54b2d0516ff523f778167779b661db3efb2b966d-io.github.teacond.Morse.png
/home/xxxx/.cache/gnome-software/icons/a0ce9bf871d2496151ef19a82836da1831871a2e-io.github.teacond.Morse.png
/home/xxxx/.local/share/Trash/files/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode
/home/xxxx/.local/share/Trash/files/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/Makefile
/home/xxxx/.local/share/Trash/files/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/TestMorseCode.ino
/home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/__pycache__/plot_morse_trie.cpython-38.pyc
/home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/plot_morse_trie.py
/home/xxxx/wwww/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode
/home/xxxx/wwww/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/Makefile
/home/xxxx/wwww/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/TestMorseCode.ino
/home/xxxx/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode
/home/xxxx/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/Makefile
/home/xxxx/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/TestMorseCode.ino
/home/xxxx/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/TestMorseCode.o
/home/xxxx/git/yyyyArduino/AUnit_Tests_Folder/yyyymanzUtes_Test_Folder/TestMorseCode/TestMorseCode.out
/home/xxxx/git/yyyyArduino/AwkStuff/hex/TestMorseCode.ino.hex
/home/xxxx/git/yyyyArduino/AwkStuff/hex/TestMorseCode.ino.with_bootloader.hex
/home/xxxx/git/yyyyArduino/AwkStuff/ino_cpp_d/TestMorseCode.ino.cpp.d
/usr/bin/brltty-morse
/usr/lib/grub/x86_64-efi/morse.mod
/var/lib/flatpak/appstream/flathub/x86_64/6a9061995528fe88b68fd1212b6dcbb88012e3a8bdde4cf1f0156b92e666cec5/icons/128x128/io.github.teacond.Morse.png
/var/lib/flatpak/appstream/flathub/x86_64/6a9061995528fe88b68fd1212b6dcbb88012e3a8bdde4cf1f0156b92e666cec5/icons/64x64/io.github.teacond.Morse.png
/var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@vvvv15:~/git/yyyyArduino$
Unable to update grub https://askubuntu.com/questions/1568542/unable-to-update-grub

I am trying to append the substring i915.enable_rc6=0 intel_idle.max_cstate=1 to grub. Without it my system will not boot up.

I have changed the line

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_rc6=0 intel_idle.max_cstate=1"

In /etc/default/grub and run sudo update-grub but when I reboot. I attempt to reboot I get a black screen.

I have tried boot repair however there is no i915.enable_rc6=0 intel_idle.max_cstate=1 option.

I don't want to have to edit grub every time I start my machine. I'm running 24.04.4 LTS.

Updates that just won't take https://askubuntu.com/questions/1568539/updates-that-just-wont-take

For weeks now, I've been getting the same messages from Livepatch saying that an update is available. The following are the pop-ups (plus screenshots) that I see every single day.

Secure Boot dbx Configuration Update - Installed:

Screenshot 1

Update available - Secure Boot dbx Configuration Update (20250902 -> 20260402):

Screenshot 2

Unable to update "Secure Boot dbx Configuration Update": Device only supports version upgrades:

Screenshot 3

An update has been installed. A restart is required for it to take effect. (Only after trying to update it a second time once the system has fully booted.):

Screenshot 4

I've updated my firmware through Asus, using the Windows side of my machine to get the firmware update. I've checked drivers for my CPU and other hardware and all is up to date. Other than that, I'm out of ideas of possible firmware. Does anyone have any ideas about what could be causing this?

System Details Report

Report details:

  • Date generated: 2026-07-21 16:13:25

Hardware Information:

  • Hardware Model: ASUS ROG CROSSHAIR VIII DARK HERO

  • Memory: 64.0 GiB

  • Processor: AMD Ryzen™ 9 5950X × 32

  • Graphics: Radeon RX 6600

  • Disk Capacity: 2.0 TB

Software information:

  • Firmware Version: 5401

  • OS: Ubuntu 26.04

  • Build: (null)

  • OS type: 64-bit

  • GNOME version: 50

  • Windowing system: Wayland

  • Kernel version: Linux 7.0.0-28-generic

HP Elitebook G5 on Ubuntu 24 or 26 works fine with multiple monitors but fails when PC upgraded to HP Elitebook G10 https://askubuntu.com/questions/1568538/hp-elitebook-g5-on-ubuntu-24-or-26-works-fine-with-multiple-monitors-but-fails-w

Hp Elitebook G5 with multiple monitors connected by hdmi through a hdmi splitter works fine on Ubuntu 24 and 26 but when I upgraded PC to HP Elitebook G10 or G11 operating on Ubuntu 24 or 26 the monitors black out and the cursor jumps. The only change in the system is the upgraded PC. Tried various recommended driver fixes with no success. Why don't my new PCs work like the 7 year old PC?

WSL on hp laptop 17-cp3005dx [closed] https://askubuntu.com/questions/1568535/wsl-on-hp-laptop-17-cp3005dx

Is any one currently running wsl on subject laptop and running Gnome Evolution? I used laptop laast summer for business trip as it is very light weigt. Was running evolution, nemo, firefox, lowriter without problems. Once back home, switch back to my Dell 7720. Getting ready for another trip and have had a huge problem getting thinhs working. Finally there with Edition Windows 11 Pro, Version 26H1, Installed on ‎7/‎10/‎2026, OS build 28000.2525, Experience Windows Feature Experience Pack 1000.26100.316.0, but had to drop back to Ubuntu 24.04 as 26.04 gave Webkit error messages that corrupted message text. No support from MS, hp. Used AI from MS copilot to work through enough of the bugs to get evolution, nemo, lo writer,and firefox working.

Ubuntu 24.04 LTS https://askubuntu.com/questions/1568532/ubuntu-24-04-lts

I just received a shipment of an HP Z2 Tower G1 Workstation Desktop with a NVIDIA RTX PRO 6000 GPU card. The unit shipped to my location with Ubuntu 24.04 Desktop. NVIDIA-SMI shows it has a 580+ series NVIDIA driver and CUDA 13.0. It appears the OEM Ubuntu Repo (or Packaging?) shipped from factory is "oem-stella-temujin-meta". My question is: How do I do Kernel, driver, CUDA, and other Ubuntu 24.04 software installation and updates without damaging the software install? Thank you.

Ubuntu does not return to GUI mode after updating to 24.04 from 22.04 https://askubuntu.com/questions/1568528/ubuntu-does-not-return-to-gui-mode-after-updating-to-24-04-from-22-04

Upgrade from dialog box: error message: some third-party entries in your ‘sources.list’ were disabled. You can re-enable after upgrading with ‘software-properties’ tool or your package manager.

Continue Y

Also during upgrade I was asked to Run ‘fwupdmgr get upgrades

The upgrade proceeded and left the laptop in the Terminal, so I ran: sudo apt-get clean && sudo apt-get autoremove && sudo apt reboot which resulted in an attempt to reboot to the GUI, but it failed and returned to Terminal mode:

Ubuntu 24.04 LTS cyborg-16290p-K-AA75A1 tty1
cyborg-16290P-K-AA75A1 login:
Only getting default Apache page in Vagrant VM https://askubuntu.com/questions/1568526/only-getting-default-apache-page-in-vagrant-vm

This is one of several VMs I have, all the others work, but even deleting the "html" directory, I still get the default page, so it's presumably the fallback.

The /etc/hosts file has this: 192.168.56.9 newbe.test

The Vagrantfile looks like this:

Vagrant.configure('2') do |config|
  # Set Box
  config.vm.box = "bento/ubuntu-24.04"
  # Set hostname
  config.vm.hostname = "newbe"
  config.vm.define "newbe"

  # Prevent vagrant-vbguests from being auto updated, this is time consuming and causes version mismatch with host
  if Vagrant.has_plugin? "vagrant-vbguest"
    config.vbguest.no_install  = false
    config.vbguest.auto_update = false
    config.vbguest.no_remote   = true
  end

  # Enable vagrant-bindfs support, if the plugin is installed
  # see https://github.com/gael-ian/vagrant-bindfs for details
  if Vagrant.has_plugin?("vagrant-bindfs")
    # The bindfs option has one more option, and the /var/nfs
    # is where the the folder is synced then it binds it to the
    # guest_path after.
    #
    # Ubuntu 22.04 has UDP disabled for NFS mounts
    # https://discourse.ubuntu.com/t/jammy-jellyfish-release-notes/24668
    config.vm.synced_folder ".", "/var/nfs", type: "nfs", nfs_udp: false
    # config.vm.synced_folder ".", "/var/nfs", type: "nfs"

    # This uses uid and gid of the user that started vagrant.
    config.nfs.map_uid = Process.uid
    config.nfs.map_gid = Process.gid
    config.bindfs.bind_folder "/var/nfs", "/var/www",
      # perms: 'u=rwx:g=rwx:o=rwx',
      # perms: 'u=rwX:g=rD:o=rD',
      perms: 'u=rwX:g=rwD',
      u: 'vagrant',
      g: 'www-data',
      o: 'nonempty'
  else
    # Enable NFS file system
    config.vm.synced_folder ".", "/var/www", type: "nfs",  nfs_udp: false
    # This uses uid and gid of the user that started vagrant.
    config.nfs.map_uid = Process.uid
    config.nfs.map_gid = Process.gid
  end

  # This uses the vagrant-disksize support, if the plugin is installed
  if Vagrant.has_plugin?("vagrant-disksize")
    config.disksize.size = '20GB'
  end

  # Configure RAM
  config.vm.provider "libvirt" do |vb|
    # Customize the amount of memory on the VM:
    vb.memory = "4096"
    vb.cpus = 2
  end

  # Specify private network
  config.vm.network "private_network", ip: "192.168.56.9"
  # Port requires for postgres
  config.vm.network :forwarded_port, guest: 5432, host: 5430
#   config.vm.network :forwarded_port, guest: 80, host: 8080

end

It's essentially the same as other working VMs I have.

The provisioning is inherited and will be changed, but it's one step at a time. To provision we SSH in and go to /var/www/local and run ./bootstrap10.sh of which the relevant part looks like this (I apologize for it being a mess, as I said, it's inherited, I will be switching it to ansible):

# Variables
DBHOST=localhost

DBNAME=xxxxxxdb
DBUSER=xxxxxxdbuser
DBPASSWD=xxxxxxdbpass

#DBHCNAME=herokudb
#DBHCUSER=herokudbuser
#DBHCPASSWD=herokudbpass

# Remotes from Production
REMOTEDB=DATABASE_URL # Production's Xxxxxx DB
REMOTEHOST=be-prod

# PHP version to install
OLD_PHP_VERSION=8.2
PHP_VERSION=8.3

echo -e "\n--- Adding Packages  ---\n"

echo -e "--- PHP Repo"
sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update

echo -e "\n--- make wget unzip curl apache2"
sudo apt-get -y install make wget unzip curl apache2

echo -e "\n--- php$PHP_VERSION"
sudo apt-get -y install php$PHP_VERSION

echo -e "\n--- libapache2-mod-php php-cli php-common php-mbstring php-gd php-intl php-pgsql php-zip php-curl php-dev"
sudo apt-get -y install libapache2-mod-php php$PHP_VERSION-cli php$PHP_VERSION-common php$PHP_VERSION-mbstring php$PHP_VERSION-gd php$PHP_VERSION-intl php$PHP_VERSION-pgsql php$PHP_VERSION-zip php$PHP_VERSION-curl php$PHP_VERSION-dev

echo -e "\n--- php-memcached memcached"
sudo apt-get -y install php$PHP_VERSION-memcached memcached

echo -e "\n[memcached]\nextension=memcached.so" | sudo tee -a /etc/php/$PHP_VERSION/apache2/php.ini

echo -e "--- php-opcache php-apcu"
sudo apt-get -y install php$PHP_VERSION-opcache php$PHP_VERSION-apcu

echo -e "\n--- php-xml php-uploadprogress"
sudo apt-get -y install php$PHP_VERSION-xml php$PHP_VERSION-uploadprogress

echo -e "\n--- git-all"
sudo apt-get -y install git-all

echo -e "\n--- channel-update pecl.php.net"
sudo pecl channel-update pecl.php.net

echo -e "\n--- pecl install mcrypt-1.0.2"
sudo apt-get -y install gcc make autoconf libc-dev pkg-config
sudo apt-get -y install libmcrypt-dev
sudo pecl install mcrypt-1.0.2

echo -e "\n--- Set-up apache2 site and PHP config  ---\n"
sudo cp ./fqdn.conf /etc/apache2/sites-available/
sudo a2dissite 000-default.conf
sudo a2ensite fqdn

sudo a2dismod php$OLD_PHP_VERSION
sudo a2enmod php$PHP_VERSION
sudo service apache2 restart || exit

echo -e "\n--- Set-up apache2 site config DONE  ---\n"

(The rest is just about fetching a database)

And finally the fqdn.conf is this:

DirectoryIndex index.php index.html

<VirtualHost *:80>
    DocumentRoot "/var/www/web"
    ServerName newbe.test
    ServerAlias www.newbe.test
    ErrorLog ${APACHE_LOG_DIR}/be_test_error.log
    CustomLog ${APACHE_LOG_DIR}/be_test_access.log combined

    <Directory "/var/www/web">
        AllowOverride All
        Options -Indexes +FollowSymLinks
        Require all granted
    </Directory>
</VirtualHost>
kernel module build failure after kernel update to 7.0.0 https://askubuntu.com/questions/1568523/kernel-module-build-failure-after-kernel-update-to-7-0-0

A recent update seems to have broken kernel modules. The kernel was updated from 6.17.0-40 to 7.0.0-28 but then the modules fail to build and the machine remains on the older kernel. I noticed this yesterday and the problem remains today.

This is what I see when doing an apt upgrade:

Setting up linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
Setting up imagemagick-6-common (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
Setting up wget (1.21.4-1ubuntu4.4) ...
Setting up libsqlite3-0:amd64 (3.45.1-1ubuntu2.7) ...
Setting up libmagickcore-6.q16-7t64:amd64 (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
Setting up linux-headers-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 7.0.0-28-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
KERNELDIR=/lib/modules/7.0.0-28-generic/build make modules....(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/lttng-modules-dkms.0.crash'
Error! Bad return status for module build on kernel: 7.0.0-28-generic (x86_64)
Consult /var/lib/dkms/lttng-modules/2.14.0/build/make.log for more information.
dkms autoinstall on 7.0.0-28-generic/x86_64 succeeded for usbio-drivers
dkms autoinstall on 7.0.0-28-generic/x86_64 failed for lttng-modules(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 7.0.0-28-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-7.0.0-28-generic (--configure):
 installed linux-headers-7.0.0-28-generic package post-installation script subprocess returned error exit status 11
Setting up libmagickwand-6.q16-7t64:amd64 (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
Setting up libmagick++-6.q16-9t64:amd64 (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
Setting up imagemagick-6.q16 (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
 linux-headers-generic-hwe-24.04 depends on linux-headers-7.0.0-28-generic; however:
  Package linux-headers-7.0.0-28-generic is not configured yet.

dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
Setting up libmagickcore-6.q16-7-extra:amd64 (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                            Setting up libde265-0:amd64 (1.0.15-1ubuntu0.1) ...
Setting up libxfont2:amd64 (1:2.0.6-1+deb13u1build0.24.04.2) ...
Setting up libimage-magick-q16-perl (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
 linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 7.0.0-28.28~24.04.1); however:
  Package linux-headers-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
Setting up imagemagick (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                            Setting up libimage-magick-perl (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.7) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for install-info (7.1-3build2) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 7.0.0-28-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
KERNELDIR=/lib/modules/7.0.0-28-generic/build make modules....(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/lttng-modules-dkms.0.crash'
Error! Bad return status for module build on kernel: 7.0.0-28-generic (x86_64)
Consult /var/lib/dkms/lttng-modules/2.14.0/build/make.log for more information.
dkms autoinstall on 7.0.0-28-generic/x86_64 succeeded for usbio-drivers
dkms autoinstall on 7.0.0-28-generic/x86_64 failed for lttng-modules(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 7.0.0-28-generic
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-7.0.0-28-generic (--configure):
 installed linux-image-7.0.0-28-generic package post-installation script subprocess returned error exit status 11
No apport report written because MaxReports has already been reached
                                                                    Errors were encountered while processing:
 linux-headers-7.0.0-28-generic
 linux-headers-generic-hwe-24.04
 linux-generic-hwe-24.04
 linux-image-7.0.0-28-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Updating skipped packages...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-6.17.0-35-generic linux-hwe-6.17-headers-6.17.0-35 linux-hwe-6.17-tools-6.17.0-35 linux-image-6.17.0-35-generic linux-modules-6.17.0-35-generic
  linux-modules-extra-6.17.0-35-generic linux-modules-ipu6-6.17.0-35-generic linux-modules-usbio-6.17.0-35-generic linux-tools-6.17.0-35-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  snapd
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
4 not fully installed or removed.
Need to get 36.4 MB of archives.
After this operation, 2,744 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 snapd amd64 2.76+ubuntu24.04 [36.4 MB]
Fetched 36.4 MB in 5s (7,806 kB/s)
(Reading database ... 435430 files and directories currently installed.)
Preparing to unpack .../snapd_2.76+ubuntu24.04_amd64.deb ...
Unpacking snapd (2.76+ubuntu24.04) over (2.75.2+ubuntu24.04) ...
Setting up snapd (2.76+ubuntu24.04) ...
Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ...
snapd.failure.service is a disabled or a static unit not running, not starting it.
snapd.gpio-chardev-setup.target is a disabled or a static unit not running, not starting it.
snapd.snap-repair.service is a disabled or a static unit not running, not starting it.
Setting up linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
Setting up linux-headers-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 7.0.0-28-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
KERNELDIR=/lib/modules/7.0.0-28-generic/build make modules....(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/lttng-modules-dkms.0.crash'
Error! Bad return status for module build on kernel: 7.0.0-28-generic (x86_64)
Consult /var/lib/dkms/lttng-modules/2.14.0/build/make.log for more information.
dkms autoinstall on 7.0.0-28-generic/x86_64 succeeded for usbio-drivers
dkms autoinstall on 7.0.0-28-generic/x86_64 failed for lttng-modules(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 7.0.0-28-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-7.0.0-28-generic (--configure):
 installed linux-headers-7.0.0-28-generic package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
 linux-headers-generic-hwe-24.04 depends on linux-headers-7.0.0-28-generic; however:
  Package linux-headers-7.0.0-28-generic is not configured yet.

dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
 linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 7.0.0-28.28~24.04.1); however:
  Package linux-headers-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                            No apport report written because the error message indicates it's a follow-up error from a previous failure.
                           Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for dbus (1.14.10-4ubuntu4.1) ...
Processing triggers for linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 7.0.0-28-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
KERNELDIR=/lib/modules/7.0.0-28-generic/build make modules....(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/lttng-modules-dkms.0.crash'
Error! Bad return status for module build on kernel: 7.0.0-28-generic (x86_64)
Consult /var/lib/dkms/lttng-modules/2.14.0/build/make.log for more information.
dkms autoinstall on 7.0.0-28-generic/x86_64 succeeded for usbio-drivers
dkms autoinstall on 7.0.0-28-generic/x86_64 failed for lttng-modules(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 7.0.0-28-generic
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-7.0.0-28-generic (--configure):
 installed linux-image-7.0.0-28-generic package post-installation script subprocess returned error exit status 11
No apport report written because MaxReports has already been reached
                                                                    Errors were encountered while processing:
 linux-headers-7.0.0-28-generic
 linux-headers-generic-hwe-24.04
 linux-generic-hwe-24.04
 linux-image-7.0.0-28-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

How do I fix this? Thanks!

Ask Ctrl+Alt+T to open Ptyxis instead of gnome-terminal https://askubuntu.com/questions/1568519/ask-ctrlaltt-to-open-ptyxis-instead-of-gnome-terminal

I have the new Terminal by Ptyxis and the old gnome-terminal both in my Ubuntu 26.04. When I push Ctrl+Alt+T the old gnome-terminal appears. How to switch to modern Terminal by Ptyxis? I can call Terminal by Ptyxis manually, but I want to use Ctrl+Alt+T, and I don't want to remove gnome-terminal.

I have tried this without success:

$ sudo update-alternatives --config x-terminal-emulator
[sudo: authenticate] Password:  
There are 2 choices for the alternative x-terminal-emulator (providing /usr/bin/x-terminal-emulator).

  Selection    Path                             Priority   Status
------------------------------------------------------------
* 0            /usr/bin/ptyxis                   40        auto mode
  1            /usr/bin/gnome-terminal.wrapper   40        manual mode
  2            /usr/bin/ptyxis                   40        manual mode

Press <enter> to keep the current choice[*], or type selection number:

Then pressed enter key. But Ctrl+Alt+T still calls old gnome-terminal.

System stuck on GNU grub after auto install drivers on 20th July 2026 [closed] https://askubuntu.com/questions/1568518/system-stuck-on-gnu-grub-after-auto-install-drivers-on-20th-july-2026

I run auto install drivers command and rebooted system. After that it stuck to GNU GRUB scree. Ubuntu 24 I am using.

Mount and use 2nd SSD for primary storage https://askubuntu.com/questions/1568507/mount-and-use-2nd-ssd-for-primary-storage

I am a very recent convert to Ubuntu, as in just this weekend. I put together a new computer, and decided to make the jump from Windows 10 to Ubuntu. I've been trying to search for answers as I can and make it work, but I'm having some trouble with this one.

I've got a fresh install of Ubuntu 26.04. As a practice with previous computers, I put the OS on a small dedicated SSD and use a larger SSD for apps and general storage.

I've tried following a few guides on how to mount an additional drive and have the OS automatically mount the drive on startup, but I've been unsuccessful so far.

I have successfully formatted and partitioned the 2nd drive as vfat using GParted, and added a line to /etc/fstab for the new drive as instructed by an instructional here. The issue could be that the instructional is 14 years old, and the method has changed since then. Any help is appreciated.

Kernel 7.0.0-28-generic on Dell Latitude 7380 display issue: extremely dark https://askubuntu.com/questions/1568498/kernel-7-0-0-28-generic-on-dell-latitude-7380-display-issue-extremely-dark

Recently, on this Dell Latitude 7380, running Ubuntu 24.04.4 LTS with Wayland, the kernel updated from v. 6.17.0-40-generic to 7.0.0-28-generic. After rebooting the display became extremely dark, starting immediately after the selection of OS was made in grub. It was barely readable in a dimly lit room, and it also appeared to flicker slightly.

Rebooting and selecting kernel 6.17.0-40 from grub worked normally, with fully controllable brightness. Retesting both kernels gave consistent results. For now, I've changed the grub selection order so that 6.17.0-40 is the first, i.e., default entry. That kernel and its header also have been set on hold. However, I'd like to know what causes the issue, and if there is a workaround, or newer kernel in the pipeline that could be tested to see if the issue has been resolved.

The results of uname -a are as follows for the new and old kernels, respectively:

Linux <PC_NAME> 7.0.0-28-generic #28~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul  1 15:50:57 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Linux <PC_NAME> 6.17.0-40-generic #40~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jun 23 16:48:12 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Here are relevant parts of a system report:

Hardware Model:      Dell Inc. Latitude 7380
Memory:              16.0 GiB
Processor:           Intel® Core™ i7-6600U × 4
Graphics:            Intel® HD Graphics 520 (SKL GT2)
Disk Capacity:       512.1 GB
Firmware Version:    1.38.0
OS Name:             Ubuntu 24.04.4 LTS
GNOME Version:       46
Windowing System:    Wayland
Values /sys/class/backlight/intel_backlight/:
           Kernel: 6.17      7.0              
max_brightness:    7500     1023
actual_brightness: 2136     1023
brightness:        2136     1023
bi_power:             0        0
scale:             unknown  unknown
type:              raw      raw
uevent:            [null]  [null]

Has kernel 7.0.0-28-generic dropped support for hardware in this older Dell? This issue is about a Linux kernel update. Nothing in BIOS has changed.

Clones of the Dell 7380 (only slightly individualized per user) had been installed on four other laptops: two HP's, a low-end Acer, and an old Toshiba. Those machines receive the same updates as the Dell, and got kernel 7.0 (and any Wayland drivers) through Ubuntu Hardware Enablement (HWE) stack. Those four machines operate well with the new kernel; no issue has been noted, so the issue is peculiar to the Dell 7380 Latitude and its internal graphics.

Is there a conflict with Wayland windowing system?

Is there a driver needed?

Any help would be appreciated.

grub-install: warning: efivarfs_set_variable: writing to fd 9 failed: Cannot allocate memory. while installing Ubuntu 26.04 https://askubuntu.com/questions/1568488/grub-install-warning-efivarfs-set-variable-writing-to-fd-9-failed-cannot-all

I was installing Ubuntu Desktop 26.04 onto my drive when an error came up saying something went wrong but it didn't know what. The logs showed errors like grub-install: warning: efivarfs_set_variable: writing to fd 9 failed: Cannot allocate memory.

My laptop is an Asus x1404za with 8GB of RAM, 128 GB of storage, and a 12th gen Intel Core i3. I've added an ax210 to it for my previous Linux installation.

I believe I have done everything right, although I am new to Linux.

ubuntu@ubuntu:~$ df -h /sys/firmware/efi/efivars
Filesystem      Size  Used Avail Use% Mounted on
efivarfs        128K  127K     0 100% /sys/firmware/efi/efivars
ubuntu@ubuntu:~$ █
ubuntu@ubuntu:~$ efibootmgr -v
BootCurrent: 0002
Timeout: 2 seconds
BootOrder: 0002,0003,0000
Boot0000* Windows Boot Manager  VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400
      dp: 01 04 14 00 e7 75 e2 99 a0 75 37 4b a2 e6 c5 38 5e 6c 00 cb / 7f ff 04 00
    data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 00 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0002* UEFI: VerbatimSTORE N GO 5.00, Partition 2    PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(2,GPT,2fdf80be-e145-40c5-aa51-61a53ab5282e,0xc21d04,0x2838)0000424f
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 02 00 / 04 01 2a 00 02 00 00 00 04 1d c2 00 00 00 00 00 38 28 00 00 00 00 00 00 be 80 df 2f 45 e1 c5 40 aa 51 61 a5 3a b5 28 2e 02 02 / 7f ff 04 00
    data: 00 00 42 4f
Boot0003* ubuntu    HD(1,GPT,8bc14a50-8587-4b18-a5bb-f067f6383421,0x800,0x219800)/\EFI\ubuntu\shimx64.efi0000424f
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 50 4a c1 8b 87 85 18 4b a5 bb f0 67 f6 38 34 21 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 00 00 42 4f
ubuntu@ubuntu:~$ 
Repeated corrupted files, but SMART reports no issues https://askubuntu.com/questions/1568481/repeated-corrupted-files-but-smart-reports-no-issues

I have a small server (Zotac ZBOX-AD06-U) running Ubuntu 24.04. Twice now it's had an entire series of corrupted files on the HDD. (This time it's affected apt such that apt --fix-broken install fails; I think a reinstall will be required regardless.) It'll hang at boot complaining that a manual fsck is needed, then give errors like "inode <inode id> seems to contain garbage". The SMART diagnostics aren't finding anything wrong.

Edit: A 7-hour memtest86 run found 0 errors.

  1. How can I tell if there's a hard drive problem doing this? What other troubleshooting can I do to try to narrow it down?

  2. What can I do to prevent it in the future?

SMART data is below. The short and long tests at 156xx hours was after this event, and I believe the two tests at the 86xx mark were last time this happened. (No telling how long it had inode errors between these two. It is very rarely rebooted.)

Model Family:     Toshiba L200 (SMR)
Device Model:     TOSHIBA HDWL120
Serial Number:    44BBPKQVT
LU WWN Device Id: 5 000039 cf2680683
Firmware Version: JT001A
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Zoned Device:     Device managed zones
Device is:        In smartctl database 7.3/5528
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Jul 18 20:26:24 2026 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled


SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       1623
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       15
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   061   061   000    Old_age   Always       -       15679
 10 Spin_Retry_Count        0x0033   100   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       14
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       1
193 Load_Cycle_Count        0x0032   001   001   000    Old_age   Always       -       1195817
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       46 (Min/Max 19/50)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       0
222 Loaded_Hours            0x0032   076   076   000    Old_age   Always       -       9859
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
224 Load_Friction           0x0022   100   100   000    Old_age   Always       -       0
226 Load-in_Time            0x0026   100   100   000    Old_age   Always       -       271
240 Head_Flying_Hours       0x0001   100   100   001    Pre-fail  Offline      -       0

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%     15682         -
# 2  Short offline       Completed without error       00%     15677         -
# 3  Extended offline    Completed without error       00%      8640         -
# 4  Short offline       Completed without error       00%      8634         -

(Edited to add long test results, Zbox model number, memtest86 results.)

(Ubuntu 24.04.4 Desktop [Wayland]/Gnome 46.0/Linux 6.17.0) How do I rotate login screen portrait left? https://askubuntu.com/questions/1568079/ubuntu-24-04-4-desktop-wayland-gnome-46-0-linux-6-17-0-how-do-i-rotate-login

I have turned my monitor physically in portrait position. I adjusted Settings -> Displays so that the layout for my desktop is okay, but the login screen is still landscape.

I read that this problem could be fixed with following instructions:

sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/
sudo chown gdm:gdm /var/lib/gdm3/.config/monitors.xml
sudo systemctl restart gdm3

But to no avail, it just does not work. No matter if I reboot or even completely turn off and back on computer. The login screen remains in landscape position.

According to mutter documentation monitors.xml is read from /etc/xdg. Copied file there but it did not work either. This is clearly an issue that cannot be fixed with blind workarounds.

I edited /etc/xdg/monitors.xml so that there were different settings than in ~/.config/monitors.xml. After that some settings was applied in gdm process login screen, but not the rotation it just wont budge, that change had effects only in user process desktop. Is it so that mutter under gdm does not have same capabilities than under user process desktop? If so, this is just banging head on the wall.

Could someone please explain the architecture behind all this gdm/mutter/gnome-shell mess?

USB Audio with kubuntu 26.04 results in audio glitches https://askubuntu.com/questions/1567895/usb-audio-with-kubuntu-26-04-results-in-audio-glitches

i currently have highly annoying audio glitches when listening to music: apps tried:

  • Quodlibet
  • VLC
  • bashgst-launch-1.0 playbin uri=file:///home/stefan/…/Schiller__Atemlos/1__02__Schiller__Tiefblau.flac
  • ffplay 1__02__Schiller__Tiefblau.flac

that all with my USB Audio Interface (iBasso DC06).

(build in laptop speakers seem to work)

for me it sounds as if the USB bus is overloaded with data / the priority for the data is to low..

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: 16 × Intel® Core™ i9-9980HK CPU @ 2.40GHz
Memory: 32 GiB of RAM (31,1 GiB usable)
Graphics Processor 1: Intel® UHD Graphics 630
Graphics Processor 2: NVIDIA GeForce RTX 2060
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ZenBook Pro Duo UX581GV_UX581GV
System Version: 1.0

this problem only showed up recently. any idea how to narrow down / analyze the problem?

Best way to sync Google Drive on Ubuntu 26.04 LTS https://askubuntu.com/questions/1567829/best-way-to-sync-google-drive-on-ubuntu-26-04-lts

I need the best way to sync Google Drive on my Ubuntu LTS 26.04 with local cache that allows me to keep working for at least a day without any internet.

Requirements are similar to Google Drive for PC:

  1. Ability to work completely offline (not even internet to "mount" the drive first and then disconnect).
  2. Download and caching of files when they are accessed.

Open source solution -- IMPROVEMENTS NEEDED: rclone vfs local mount now mounts and runs on cache, all without internet as of 22-07-2026. The current code is posted as my answer, and will be updated as I improve certain hiccups (see answer) down the line.

What I have tried and fails:

  1. Nautilus doesn't support native Google Drive starting GNOME 50. https://www.omgubuntu.co.uk/2026/03/google-drive-not-working-nautilus-ubuntu-26-04

  2. Dolphin + Dolphin Plugins + Konqueror + KIO GDrive + KIO Admin: Can't even add the Google account on Dolphin. Page shows blank.

  3. rclone bisync fails randomly and repeatedly. --resyncing has destroyed my work multiple times now. I can provide the last used code if asked.

Live patch works excellently - it just shows a red ! mark on the Panel https://askubuntu.com/questions/1535390/live-patch-works-excellently-it-just-shows-a-red-mark-on-the-panel

Opening Live Patch does not show any error, so why is there a red "!" mark on the shield icon in the Panel? I am using Ubuntu 22.04. I just restarted, and there are no errors on apt/snap level. nor on dpkg. Is this normal?

Screen brightness is super low after upgrade to 24.04.1 LTS https://askubuntu.com/questions/1525553/screen-brightness-is-super-low-after-upgrade-to-24-04-1-lts

After upgrading from Ubuntu Desktop 22.04 LTS to Ubuntu Desktop 24.04.1 LTS, I found out one of monitors to have low brightness. I couldn't find any control to change the brightness and when I googled for solutions, nothing helped me. Here are some outputs:

lspci -k | grep -EA3 'VGA|3D|Display':

00:02.0 VGA compatible controller: Intel Corporation CometLake-S GT2 [UHD Graphics 630] (rev 03)
    DeviceName: Onboard - Video
    Subsystem: Dell CometLake-S GT2 [UHD Graphics 630]
    Kernel driver in use: i915

neofetch:

OS: Ubuntu 24.04.1 LTS x86_64 
Host: OptiPlex 7480 AIO 
Kernel: 6.8.0-41-generic 
Uptime: 15 mins 
Packages: 2244 (dpkg), 22 (snap) 
Shell: bash 5.2.21 
Resolution: 1920x1080 
DE: GNOME 46.0 
WM: Mutter 
WM Theme: Adwaita 
Theme: Yaru-blue-dark [GTK2/3] 
Icons: Yaru-blue [GTK2/3] 
Terminal: gnome-terminal 
CPU: Intel i5-10500 (12) @ 4.500GHz 
GPU: Intel CometLake-S GT2 [UHD Graphics 63 
Memory: 3298MiB / 15677MiB 

sudo ubuntu-drivers list returns nothing, while sudo ubuntu-drivers install returns

All the available drivers are already installed.

ls -al /sys/class/backlight returns

total 0
drwxr-xr-x  2 root root 0 Sep  4 11:41 .
drwxr-xr-x 85 root root 0 Sep  4 11:22 ..

xrandr | grep " connected" | cut -f1 -d " ":

DP-1
HDMI-2

xrandr --output DP-1 --brightness 1 and xrandr --output HDMI-2 --brightness 1 does nothing.

I tried the hack with Brightness controller, editing grub, Secure Boot DISABLED.

I am more than welcome for any advice.


I have also had to do a fresh install of Ubuntu Desktop, because upgrade from Ubuntu 22.04 LTS failed.


Update with Hannu's response: After implementing the setdbr function I get:

martin@dell:~$ setdbr
Current displays, numbered:
     1  DP-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 510mm x 290mm
     2  HDMI-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 520mm x 290mm

And whatever I type, nothing changes. I tried setdbr 1 1.0, setdbr 2 1, setdrb 2 0, setdbr 1 0

UPDATE 2: I tried to turn on the night light and play with the intensity and both displays reacted. Thank to this I think the problem won't be Kernel-related and there is still some setting missing.

I am also missing the brightness slider in top right menu, maybe this could help? Top right menu

UPDATE 3: output of lspci:

00:00.0 Host bridge: Intel Corporation Comet Lake-S 6c Host Bridge/DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation CometLake-S GT2 [UHD Graphics 630] (rev 03)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller
00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller
00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM
00:14.3 Network controller: Intel Corporation Comet Lake PCH CNVi WiFi
00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller
00:16.3 Serial controller: Intel Corporation Comet Lake Keyboard and Text (KT) Redirection
00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller
00:1c.0 PCI bridge: Intel Corporation Comet Lake PCIe Port #6 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Q470 Chipset LPC/eSPI Controller
00:1f.3 Audio device: Intel Corporation Comet Lake PCH cAVS
00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
00:1f.5 Serial bus controller: Intel Corporation Comet Lake PCH SPI Controller
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (11) I219-LM
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
02:00.0 Non-Volatile memory controller: Micron/Crucial Technology P1 NVMe PCIe SSD[Frampton] (rev 03)

ls -al /sys/class/backlight returns nothing.

Noise when initiating play with handsfree https://askubuntu.com/questions/1506285/noise-when-initiating-play-with-handsfree

A loud tikk sound is played when starting with handsfree.

In each use of handsfree this problem occurs only once.

I don't have that problem with the speaker.

Audio:
 Device-1: Intel Haswell-ULT HD Audio driver: snd_hda_intel
 Device-2: Intel 8 Series HD Audio driver: snd_hda_intel
 API: ALSA v: k6.6.15-amd64 status: kernel-api
 Server-1: PipeWire v: 1.0.3 status: active
Having issues with Putty https://askubuntu.com/questions/1379116/having-issues-with-putty

First, I want to say that I have decided to make the switch completely to be a Linux user now. So what I am about to say very much well could be a user error issue.

I have installed PuTTY onto Ubuntu and the menu pulls up just fine. What I am trying to do is connect to my Oracle Virtual Machine, in this case I am trying to connect to the Kali Linux OS I have installed. Once I enter the IP address in the PuTTY menu, it closes out the application. Literally kills itself, and I am not sure why.

I started to do some experimenting with other IP addresses and server names and websites, with the same result. Not sure what gives but could use some help or better yet an alternative to PuTTY hoping for that SSH Application to work.

grey screen from strangers in Omegle https://askubuntu.com/questions/1110930/grey-screen-from-strangers-in-omegle

Since I've update to Ubuntu 18.04, I only have have grey screens from strangers in Omegle. I've tried Firefox and Chrome, same thing. My webcam works fine in Cheese and Skype, and Flash seems up to date... Not sure what is happening here, please help!

Thank you

can't add key - keyserver timed out https://askubuntu.com/questions/757714/cant-add-key-keyserver-timed-out

I'm trying to install mongodb on ubuntu 15.10. While following this - Install Mongo 3.2 on Ubuntu 15.10 - i got the following error message:

W: GPG error: http://repo.mongodb.org trusty/mongodb-org/3.2 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D68FA50FEA312927

So then I attempted to add the key like this:

me@devbox:/etc/test$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D68FA50FEA312927

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.CWnpUGSg5w --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg --keyring /etc/apt/trusted.gpg.d/nginx_ubuntu_stable.gpg --keyring /etc/apt/trusted.gpg.d/webupd8team_ubuntu_java.gpg --keyserver keyserver.ubuntu.com --recv-keys D68FA50FEA312927
gpg: requesting key EA312927 from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

Not sure what else to try. I'm currently looking other posts here on this site to see if this has been addressed.

EDIT 1:

Based on this post: Can't add repo keys

I tried to run the command :

sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D68FA50FEA312927

and then retried:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D68FA50FEA312927

But it's still failing.

How to make password show asterisks as I type it when running `sudo` command? https://askubuntu.com/questions/387757/how-to-make-password-show-asterisks-as-i-type-it-when-running-sudo-command

Is it possible to make the password visible as asterisks (or any other character) on using sudo command?

Currently, it does not display anything, thus making it difficult to count the number of keystrokes pressed..

Huawei e173s 3G USB dongle won't switch into modem mode https://askubuntu.com/questions/381970/huawei-e173s-3g-usb-dongle-wont-switch-into-modem-mode

Output of

lsusb | grep Huawei

is

Bus 003 Device 003: ID 12d1:1c0b Huawei Technologies Co., Ltd. E173s 3G broadband stick (modem off)

I've checked if usb_modeswitch is set up properly as per https://wiki.archlinux.org/index.php/Huawei_E173s. It is.

Enabled usb_modeswitch logging. The log output is below. Seems like the device is identified by usb_modeswitch, and the switch message is sent, but no response. At this point I'm thinking that either there's a problem with the dongle's firmware (but it works fine under Windows), or udev can't communicate with it for whatever reason.

USB_ModeSwitch log from Mon Nov 25 14:38:11 2013

Using global config file: /etc/usb_modeswitch.conf

Raw args from udev: /3-2:1.0

Bus ID for device not given by udev.
 Trying to determine it from kernel name (3-2:1.0) ...
Using top device dir /sys/bus/usb/devices/3-2

USB dir exists: /sys/bus/usb/devices/3-2
Warning: USB attribute "serial" not readable.

SCSI dir exists: /sys/bus/usb/devices/3-2
Warning: SCSI attribute "vendor" not readable.
Warning: SCSI attribute "model" not readable.
Warning: SCSI attribute "rev" not readable.
----------------
USB values from sysfs:
  idVendor  12d1
  idProduct 1c0b
  manufacturer  HUAWEI
  product   HUAWEI Mobile
  serial    (null)
  bNumConfigurations    1
----------------
bNumConfigurations is 1 - don't check for active configuration
Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz
Searching entries named: /usr/share/usb_modeswitch/12d1:1c0b*
Searching overriding entries named: /etc/usb_modeswitch.d/12d1:1c0b*
SCSI attributes not needed, moving on.

Extracting config 12d1:1c0b from collection /usr/share/usb_modeswitch/configPack.tar.gz
config: TargetVendor set to 12d1
config: TargetProduct set to 1c05,1c07,1c08,1c10
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
! matched, now switching
Command to be run:
/usr/sbin/usb_modeswitch -I -W -D -s 20 -c /run/usb_modeswitch/current_cfg -u -1   -v 12d1 -p 1c0b 2>&1

Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are expected in the process)
--------------------------------

Reading config file: /run/usb_modeswitch/current_cfg

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.2.3 (C) Josua Dietze 2012
 * Based on libusb0 (0.1.12 and above)

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x1c0b
TargetVendor=   0x12d1
TargetProduct=  not set
TargetClass=    not set
TargetProductList="1c05,1c07,1c08,1c10"

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint=  not set
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NeedResponse=0
ResponseEndpoint= not set

InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled


Looking for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 No devices in target mode or class found
Looking for default devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Found device in default mode, class or configuration (1)
Accessing device 003 on bus 003 ...
Skipping the check for the current configuration
Using first interface: 0x00
Using endpoints 0x0f (out) and 0x8f (in)

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached
Setting up communication with interface 0
Using endpoint 0x0f for message sending ...
Trying to send message 1 to endpoint 0x0f ...
 OK, message successfully sent
Resetting response endpoint 0x8f
Resetting message endpoint 0x0f

Checking for mode switch (max. 20 times, once per second) ...
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 No new devices in target mode or class found

Mode switch has failed. Bye.

fail:
--------------------------------
(end of usb_modeswitch output)

USB dir exists: /sys/bus/usb/devices/3-2
Warning: USB attribute "serial" not readable.

All done, exiting

UPDATE. Have set various delays. Quotation from http://www.draisberghof.de/usb_modeswitch/#trouble:

Annother way of influencing the kernel behaviour is the parameter "delay_use" of "usb-storage" which sets the time in seconds after plugging when the storage device will actually be used (and probably automounted). The default value is 5; this might affect the switching result under certain conditions. To change the default add in /etc/modprobe.conf:

options usb-storage delay_use=1 (or 10, or other)

With delay of 1-3, works sometimes. Sometimes doesn't.

UPDATE 2. After days of testing, I have an impression that it is not any particular delay setting which makes usb_modeswitch work, but changing this setting. Also I have a (very tentative) feeling that logging in/out and changing autologin settings somehow interferes with modeswitching.

How can I adjust the mouse scroll speed? https://askubuntu.com/questions/255890/how-can-i-adjust-the-mouse-scroll-speed

This question has been asked many times with no answer. I've used my basic Google skills and haven't come across a fix. This is system wide. My mouse simply scrolls too fast.

I'm new to ubuntu and linux in general. Would switching styles or whatever it is called (Ubuntu, KDE, Xubuntu) help at all? Is there a terminal code I can enter?

How to access second disk locally and over LAN https://askubuntu.com/questions/125964/how-to-access-second-disk-locally-and-over-lan

I have just added a second 1TB HD to my Ubuntu box and I can see it listed when I run blkid. But how do I

  1. reference it so I can use it as local storage
  2. share it on my LAN
What is the command to run System Settings from a terminal? https://askubuntu.com/questions/116655/what-is-the-command-to-run-system-settings-from-a-terminal

System Settings can be run from the launcher (pinned by default), the Dash, or the power cog. But what command would I enter in a terminal window if I want to run it from there?

Additional Language in KDE https://askubuntu.com/questions/102828/additional-language-in-kde

I just installed the KDE desktop environment and I want to install an additional language (Urdu) in Unity 2D. I was using it but in KDE it seems difficult to do so. I got to know about some change, something in etc/x11/xkb/symbols but when I tried I couldn't find such a directory. Please help me on how to write Urdu in KDE.