Uploading to Launchpad PPA fails on `[Errno 104] Connection reset by peer` https://askubuntu.com/questions/1566846/uploading-to-launchpad-ppa-fails-on-errno-104-connection-reset-by-peer

I frequently run backportpackage to upload .deb source packages to a PPA to have them build on Launchpad and get published there. In recent days this has been (permanently?) failing:

$ backportpackage ...
...
Uploading to ppa (via ftp to ppa.launchpad.net):

Uploading screen_5.0.1-2~bpo26.04.1~1778812240.930c295+master.dsc: [Errno 104] Connection reset by peer

Any suggestions what might be going on? Is this related the recent issues that has taked down all of Launchpad recently in April/May 2026?

Stuck at "Booting a command list" with Lenovo Thinkstation P710 https://askubuntu.com/questions/1566844/stuck-at-booting-a-command-list-with-lenovo-thinkstation-p710

I'm stuck at "Booting a Command List" trying to boot a 26.06 USB on a Lenovo Thinkstation P710 B30 - dual XEON, 16GB ram. From 2016/2017.

I've tried: nomodeset, acpi=off, removing quiet splash (and combinations of those). Never get anything.

Any other suggestions? The machine has a working Fedora 24(?) system on it (and a windows partition)

Ubuntu 26.04 - switch between Radeon and Nvidia graphics https://askubuntu.com/questions/1566839/ubuntu-26-04-switch-between-radeon-and-nvidia-graphics

I have a laptop with an onboard Radeon 680M and a RTX 4050; checking nvidia-settings, it does not show the option to switch between the gcards, while calling prime-select query the following options are shown: nvidia|intel|on-demand|query (I don't have a intel)

Is the Radeon not supported or I should try a different approach?

Kernel panic after locking screen in Kubuntu 26.04 https://askubuntu.com/questions/1566835/kernel-panic-after-locking-screen-in-kubuntu-26-04

I'm using Kubuntu 26.04 with kernel 7.0.0-15-generic. After suspending the system with Meta+L and leaving the computer for a while, I encounter this screen.

[ 7534.516099] Code: f8 e9 44 f7 19 00 48 c7 c3 b9 65 9f 41 56 45 89 e1 49 89 d8 4c 89 e9 ea 4c 89 ea 48 c7 c7 50 9e e0 64 90 01 00 <0f> 0b 0f b6 f0 48 c7 c7 20 02 c5 9e 80 45 f7 e8 10 9f bc 00 0f b6
[ 7534.516165] RSP: 0018:ffffcb550dfc7c20 EFLAGS: 00010246
[ 7534.516196] RAX: 0000000000000000 RBX: ffffffff9da058ca RCX: 0000000000000000
[ 7534.516229] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 7534.516262] RBP: ffffcb550dfc7c50 R08: 0000000000000000 R09: 0000000000000000
[ 7534.516293] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000005
[ 7534.516326] R13: ffffffff9c42009ae R14: 0000000000000001 R15: 0000000000000000
[ 7534.516358] FS: 00007a12000d1c80(0000) GS:ffff8910a9100000(0000) knlGS:0000000000000000
[ 7534.516394] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7534.516424] CR2: 00006335d2d13720 CR3: 00000001fbffc000 CR4: 0000000000350ef0
[ 7534.516457] Call Trace:
[ 7534.516476]  
[ 7534.516503]  arch_jump_label_transform_queue+0x37/0x90
[ 7534.516538]  __jump_label_update+0x47/0x100
[ 7534.516568]  jump_label_update+0x5c/0x110
[ 7534.516596]  static_key_slow_inc_cpuslocked+0x53/0xa0
[ 7534.516627]  static_key_slow_inc+0x1f/0x40
[ 7534.516639]  freeze_processes+0xd1/0xe0
[ 7534.516639]  enter_state+0xe0/0x610
[ 7534.516639]  pm_suspend+0x49/0x90
[ 7534.516639]  state_store+0x2e/0x60
[ 7534.516639]  kobj_attr_store+0x12/0x40
[ 7534.516639]  sysfs_kf_write+0x74/0x90
[ 7534.516639]  kernfs_fop_write_iter+0x161/0x210
[ 7534.516639]  vfs_write+0x25b/0x490
[ 7534.516639]  ksys_write+0x71/0xf0
[ 7534.516639]  __x64_sys_write+0x19/0x30
[ 7534.516639]  x64_sys_call+0x22f/0x2390
[ 7534.516639]  do_syscall_64+0x115/0x5b0
[ 7534.516639]  ? srso_return_thunk+0x5/0x5f
[ 7534.516639]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[ 7534.516639] RIP: 0033:0x7a12000b06c5
[ 7534.516639] Code: 47 8a 04 00 00 00 48 8b 05 3f 17 17 00 64 89 10 48 c7 c2 ff ff ff ff c9 48 89 d0 c3 0f 1f 84 00 00 00 00 00 48 8b 45 10 0f 05 <48> 89 c2 48 3d 00 f0 ff ff 77 0f c9 48 89 d0 c3 66 2e 0f 1f 84 00
[ 7534.516639] RSP: 002b:00007fff5b743968 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[ 7534.516639] RAX: ffffffffffffffda RBX: 00006335d2d09d10 RCX: 00007a12000b06c5
[ 7534.516639] RDX: 0000000000000004 RSI: 00007fff5b743970 RDI: 0000000000000007
[ 7534.516639] RBP: 00007fff5b743970 R08: 0000000000000000 R09: 0000000000000000
[ 7534.516639] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000004
[ 7534.516639] R13: 0000000000000004 R14: 00006335d2d13710 R15: 0000000000000000
[ 7534.516639]  
[ 7534.516639] Modules linked in: udp_diag ib_core tcp_diag inet_diag xt_conntrack xt_mark xt_comment xt_addrtype wireguard libcurve25519 ip6_udp_tunnel udp_tunnel dummy rfcomm snd_seq_dummy snd_hrtimer xt_CHECKSUM xt_MASQUERADE xt_conntrack
ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat x_tables nft_chain_nat nft_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables bridge stp llc ccm nvidia_uvm(OE) qrtr cmac algif_hash algif_skcipher af_alg bnep snd_sof_pci_intel_tgl
snd_sof_intel_hda_common snd_sof_intel_hda_mlink snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp binfmt_misc nvidia_drm(OE) snd_sof snd_sof_utils nvidia_modeset(OE) snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress ac97_bus
snd_pcm_dmaengine snd_pci_acp6x snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq snd_seq_device snd_timer snd_soc_sdca snd_soc_dcodec snd_soc_dcodec_component snd_hda_codec_realtek
snd_hda_codec_generic snd_hda_codec_alc285 snd_hda_codec_alc269 snd_soc_dmic snd_soc_dmic_common intel_rapl_common soundwire_bus snd_hda_codec_realtek_lib snd_hda_ext_core snd_soc_sof_sdw snd_soc_sof_sdw_common snd_soc_sof_sdw_utils soundwire_generic_allocation
snd_soc_sof_sdw_common_utils soundwire_intel snd_soc_sof_sdw_utils_common soundwire_intel_common intel_vsec rapl pcspkr joydev thunderbolt i2c_piix4 k10temp nvme_common wmi_bmof acpi_pad acpi_cpufreq video i2c_hid_acpi i2c_hid
[ 7534.516748] ---[ end trace 0000000000000000 ]---
[ 7537.502945] RIP: 0010:__jump_label_patch_cold+0x24/0x26
[ 7537.502999] Code: f8 e9 44 f7 19 00 48 c7 c3 b9 65 9f 41 56 45 89 e1 49 89 d8 4c 89 e9 ea 4c 89 ea 48 c7 c7 50 9e e0 64 90 01 00 <0f> 0b 0f b6 f0 48 c7 c7 20 02 c5 9e 80 45 f7 e8 10 9f bc 00 0f b6
[ 7537.503070] RSP: 0018:ffffcb550dfc7c20 EFLAGS: 00010246
[ 7537.503104] RAX: 0000000000000000 RBX: ffffffff9da058ca RCX: 0000000000000000
[ 7537.503139] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 7537.503175] RBP: ffffcb550dfc7c50 R08: 0000000000000000 R09: 0000000000000000
[ 7537.503210] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000005
[ 7537.503248] R13: ffffffff9c42009ae R14: 0000000000000001 R15: 0000000000000000
[ 7537.503228] FS: 00007a12000d1c80(0000) GS:ffff891097a00000(0000) knlGS:0000000000000000
[ 7537.503093] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7537.505943] CR2: 00007b8595f60020 CR3: 00000001fbffc000 CR4: 0000000000350ef0
[ 7537.535389] Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
[ 7537.607474] r8169 0000:09:00.0 enp1: Link is Down

I'm forced to perform a hard reboot via the power button or use the REISUB to restart. Has anyone experienced this, or knows a solution?

How to achieve 1:1 feel on Ubuntu 24.04 (Wayland) with NVIDIA 50-series and Intel Hybrid Architecture? https://askubuntu.com/questions/1566834/how-to-achieve-11-feel-on-ubuntu-24-04-wayland-with-nvidia-50-series-and-inte

I am planning to migrate my main Workstation from Windows to Ubuntu 24.04 LTS (GNOME 46). Since i want to stay on Wayland for my daily driver. I want to ensure a 1:1 input feel for a mix of competitive games without having to switch back to X11.

Hardware:

  • NVIDIA RTX 5060.
  • Intel Core i5-13400F.
  • Wayland (GNOME 46) with 125% Fractional Scaling.
upgrade to 26.04LTS hangs on "setting up wvdial" https://askubuntu.com/questions/1566832/upgrade-to-26-04lts-hangs-on-setting-up-wvdial

Upgrading from 25 to 26.04, upgrade hangs on "setting up wvdial". Now i can't boot into my previous install, the startup process results in a kernel panic. I can restart the update process from recovery mode, but it still hangs in the same place. How do i get either my old setup back or the upgrade completed without wvdial?

Edit: rebooted into linux 6 recovery mode, dropped down to root shell and did

sudo apt remove wvdial

Which removed it, and then apt just automagically went on to finishing the upgrade

reinstall libopenexr 3 1 30 https://askubuntu.com/questions/1566830/reinstall-libopenexr-3-1-30

My system wont upgrade because it says I have a unofficial version of libopenexr 3 1 30. How can I reinstall the official version? I have not tried anything at point because i don't know where to start.

How can I override the sudo being used by ansible for a given host? https://askubuntu.com/questions/1566824/how-can-i-override-the-sudo-being-used-by-ansible-for-a-given-host

I have a number of hosts running Ubuntu in a lab managed by ansible. Ansible is used to upgrade and install specific deb and apt packages.

I've just upgraded one to 26.04 LTS. The upgrade caused a problem with ansible, triggered by the transition to sudo-rs.

How can I specify for a specific machine a different sudo executable; in this case, /usr/bin/sudo.ws?

Power Saver changes to Balanced on startup Ubuntu 24.04 https://askubuntu.com/questions/1566823/power-saver-changes-to-balanced-on-startup-ubuntu-24-04

I am using Ubuntu 24.04 LTS on a ThinkPad E15 Gen 5 with an Intel i3 13th Gen processor.

I always keep the system in “Power Saver” mode. However, sometimes after booting the laptop, I notice that the power profile has automatically changed to “Balanced” mode without me changing anything manually.

Is this expected behavior in Ubuntu 24.04, or could this be a bug?

Has anyone else experienced this issue, and is there a way to force the system to always stay in Power Saver mode across reboots?

How to install Firebird 2.5.9 on WSL? https://askubuntu.com/questions/1566808/how-to-install-firebird-2-5-9-on-wsl

I was trying to use these commands to install Firebird on Windows Subsystem for Linux (I'm new to this).

wget -O firebird.tar.gz https://github.com/FirebirdSQL/firebird/releases/download/R2_5_9/FirebirdSS-2.5.9.27139-0.amd64.tar.gz

then:

tar -zxvf firebird.tar.gz

then:

sudo ./install.sh

And I typed my password. All I got was: sudo: './install.sh': command not found

What am I doing wrong? I used this instruction (It's a Polish website, but you can translate it.): https://dgcs.pl/firebird3-0-linux/

Fans not working in HP Omen Laptop after installing Ubuntu 24.04 LTS https://askubuntu.com/questions/1566801/fans-not-working-in-hp-omen-laptop-after-installing-ubuntu-24-04-lts

I have installed Ubuntu for the first time, and the fans are not working at all, regardless of the load.

Laptop Model: OMEN by HP Gaming Laptop 16-xd0xxx

Base Board: 8BCD

CPU: AMD Ryzen 7 7840HS
GPU: NVIDIA GeForce RTX 4050 GPU in a laptop

What I have tried:
I tried going into /sys/class/hwmon/ and there in hwmon6, whose name is hp, both fan speeds are 0 and not updating, and pwm1_enable is set to 2

I ran this command also: ls /sys/kernel/debug/ec/ec0/io 2\>/dev/null || echo "EC not accessible" and it outputs EC not accessible

How do I make the fans work?

Question about `ath12k` driver error with Qualcomm QCN9274 chipset: qmi failed to load board data file:-2 https://askubuntu.com/questions/1566799/question-about-ath12k-driver-error-with-qualcomm-qcn9274-chipset-qmi-failed-t

I am trying to use a Qualcomm QCN9274 (Compex WLE7002E25) Wi-Fi card on my x86 machine, but it's not working with the ath12k driver.

I am using the official board-2.bin from the upstream repository here.

[  954.894565] ath12k_pci 0000:01:00.0: BAR 0 [mem 0x80400000-0x805fffff 64bit]: assigned
[  954.894706] ath12k_pci 0000:01:00.0: MSI vectors: 16
[  954.894709] ath12k_pci 0000:01:00.0: Hardware name: qcn9274 hw2.0
[  955.593136] ath12k_pci 0000:01:00.0: qmi dma allocation failed (29360128 B type 1), will try later with small size
[  955.606921] ath12k_pci 0000:01:00.0: memory type 10 not supported
[  955.612535] ath12k_pci 0000:01:00.0: chip_id 0x0 chip_family 0xb board_id 0x101a soc_id 0x401a2200
[  955.612548] ath12k_pci 0000:01:00.0: fw_version 0x141580c7 fw_build_timestamp 2024-11-11 11:03 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1
[  955.635702] ath12k_pci 0000:01:00.0: failed to fetch board data for bus=pci,qmi-chip-id=0,qmi-board-id=4122 from ath12k/QCN9274/hw2.0/board-2.bin
[  955.635707] ath12k_pci 0000:01:00.0: failed to fetch board data for bus=pci,qmi-chip-id=0,qmi-board-id=255 from ath12k/QCN9274/hw2.0/board-2.bin
[  955.635709] ath12k_pci 0000:01:00.0: failed to fetch board.bin from QCN9274/hw2.0
[  955.635711] ath12k_pci 0000:01:00.0: qmi failed to load bdf:
[  955.635712] ath12k_pci 0000:01:00.0: qmi failed to load board data file:-2

jack@jack-pc:~$ uname -a
Linux jack-pc 6.8.0-111-generic #111~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 14 17:13:45 UTC  x86_64 x86_64 x86_64 GNU/Linux

Does anyone know what the problem is?

My PC was hacked or invaded by a trojan https://askubuntu.com/questions/1566797/my-pc-was-hacked-or-invaded-by-a-trojan

I am using Ubuntu 25.10 and I think my PC may have been compromised by malware or a trojan.

The reason I suspect this is because:

  • My ad blocker suddenly stopped working.

  • Some messages were deleted from my email account and Instagram account without my permission.

  • I am worried someone may have gained access to my accounts or system.

I do not have much experience with Ubuntu or Linux security, so I am not sure how to properly check my system.

So far I have tried:

  • Running ss -tulnp to check open ports.

  • Checking running processes manually.

  • Trying to use debsums, but it was not installed.

I would like to know:

  1. How can I verify if my Ubuntu system is infected or compromised?

  2. What logs or commands should I check?

  3. How can I determine whether the problem is in my PC or only in my online accounts?

  4. What immediate security steps should I take?

My first expirience on kubuntu 26.04 is in a bad situation https://askubuntu.com/questions/1566794/my-first-expirience-on-kubuntu-26-04-is-in-a-bad-situation

Hey guys I've been encountering plenty of problems in Kubuntu 26.04 that wont let me use my pc normally:

  1. Translucently and wobble window effects get reapplied after each reboot without my consent

  2. Chrome on xorg with using the built in classic option from appearance aka colors, the title bar buttons disappear when I try to type on the address bar.

  3. Plymouth animation appears during transition from sddm to desktop (I have selected None as a transition)

  4. The locale on the time widget in taskbar rejects any effort to be changed and still uses the Greek time format ΠΜ, ΜΜ, When I clearly set it to American am pm. I use Greek only for the keyboard

I have to note that I also use klassy I seriously need to find a solution because the name implies LTS and I am disappointed.

Can anyone help me? Plasma 6.6.4 Just upgraded

Can't upgrade Kubuntu 25.10 to 26.04 to new version because of broken build-essentials dependencies https://askubuntu.com/questions/1566786/cant-upgrade-kubuntu-25-10-to-26-04-to-new-version-because-of-broken-build-esse
$ LANG=C sudo apt full-upgrade 
Not upgrading:                  
  cpp-15                   libasan8    libgcc-15-dev  libgomp1    liblsan0      libstdc++-15-dev  libubsan1
  cpp-15-x86-64-linux-gnu  libatomic1  libgcc-s1      libhwasan0  libobjc4      libstdc++6
  gcc-15-base              libcc1-0    libgfortran5   libitm1     libquadmath0  libtsan2

Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 19

$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.

$ LANG=C sudo apt-get install build-essential 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Solving dependencies... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 build-essential : Depends: gcc (>= 4:14.2) but it is not going to be installed
                   Depends: g++ (>= 4:14.2) but it is not going to be installed
E: Unable to satisfy dependencies. Reached two conflicting decisions:
   1. gcc-15:amd64 is selected for install because:
      1. build-essential:amd64=12.12ubuntu1 is selected for install
      2. build-essential:amd64 Depends gcc (>= 4:14.2)
      3. gcc:amd64 Depends gcc-15 (>= 15.2.0-2~)
   2. gcc-15:amd64 is available in versions 15.2.0-5ubuntu1, 15.2.0-4ubuntu4
      but none of the choices are installable:
      - gcc-15:amd64=15.2.0-5ubuntu1 Depends gcc-15-base (= 15.2.0-5ubuntu1)
        but none of the choices are installable:
        - gcc-15-base:amd64=15.2.0-5ubuntu1 is not selected for install because:
          1. libgcc-s1:i386 is selected for install
          2. libgcc-s1:i386 Depends gcc-15-base:i386 (= 15.2.0-4ubuntu4)
          3. gcc-15-base:i386 Breaks gcc-15-base (!= 15.2.0-4ubuntu4)
      - gcc-15:amd64=15.2.0-4ubuntu4 is not selected for install

$ LANG=C sudo apt-get install gcc-15 g++-15
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Solving dependencies... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 g++-15 : Depends: g++-15-x86-64-linux-gnu (= 15.2.0-5ubuntu1)
          Depends: gcc-15-base (= 15.2.0-5ubuntu1) but 15.2.0-4ubuntu4 is to be installed
 gcc-15 : Depends: gcc-15-x86-64-linux-gnu (= 15.2.0-5ubuntu1)
          Depends: gcc-15-base (= 15.2.0-5ubuntu1) but 15.2.0-4ubuntu4 is to be installed
          Depends: cpp-15 (= 15.2.0-5ubuntu1) but 15.2.0-4ubuntu4 is to be installed
E: Unable to satisfy dependencies. Reached two conflicting decisions:
   1. gcc-15-base:i386 is selected for install because:
      1. libgcc-s1:i386 is selected for install
      2. libgcc-s1:i386 Depends gcc-15-base:i386 (= 15.2.0-4ubuntu4)
   2. gcc-15-base:i386 is selected for removal because:
      1. g++-15:amd64=15.2.0-5ubuntu1 is selected for install
      2. g++-15:amd64=15.2.0-5ubuntu1 Depends gcc-15-base (= 15.2.0-5ubuntu1)
      3. gcc-15-base:i386 Breaks gcc-15-base (!= 15.2.0-4ubuntu4)

How to fix them?

HP Envy 6500e cannot be installed on Ubuntu 24.04 https://askubuntu.com/questions/1566771/hp-envy-6500e-cannot-be-installed-on-ubuntu-24-04

I have bought a printer, an HP Envy 6500e. Although the driver is available, my notebook with Ubuntu 24.04 installed is not able to install it. It shows the printer as available, but it fails to install.
I tried with the standard Ubuntu installation procedure and using the hp-setup command.
I have also updated hp-plugin and I tried to connect the notebook to the printer through the USB cable or by Wi-Fi indicating the IP address manually.

I tried the printer using a Windows PC and Android smartphone and it works.

In all cases the printer installation failed. Any ideas?

How to get thumbnails for cbz and cbr files in nautilus? https://askubuntu.com/questions/1566408/how-to-get-thumbnails-for-cbz-and-cbr-files-in-nautilus

I recently installed Ubuntu 26.04 and I noticed that the thumbnails for my comics aren't showing in the Files file manager. I tried installing different thumbnailers, but nothing seems to work. Instead it just shows the default Ubuntu document icons.

Image showing document icons

I do not have Evince or mcomix installed. I'm using the default document reader that comes with Ubuntu 26.04.

Ubuntu 24.04 to 26.04 LTS upgrade is not available in the Ubuntu Software Updater https://askubuntu.com/questions/1566029/ubuntu-24-04-to-26-04-lts-upgrade-is-not-available-in-the-ubuntu-software-update

I'm from India, currently running Ubuntu 24.04.4 LTS. I am excited to upgrade to the newly released 26.04 LTS. However, even today's morning (Apr 25), my software updater couldn't find a newer version to upgrade to. Articles like (https://linuxconfig.org/upgrade-ubuntu-24-04-to-26-04) and (https://linuxize.com/post/how-to-upgrade-to-ubuntu-26-04/) suggest a manual upgrade via the terminal, first upgrading to a non-LTS version (25.10). I am not willing to wait till 26.04.1 LTS release.

How do I upgrade? Please help!

AMD Radeon 780M generates constant device notification sounds on battery (Ubuntu 24.04) https://askubuntu.com/questions/1565802/amd-radeon-780m-generates-constant-device-notification-sounds-on-battery-ubuntu

I have an ASUS Vivobook 18 M1807HA with an AMD Radeon 780M integrated GPU running Ubuntu 24.04 (kernel 6.17.0-20-generic).

Problem

When running on battery power only, my laptop generates constant USB device connection/disconnection sounds (the "ding-dong" notification) every 60-90 seconds. The desktop icons sometimes refresh/update when this happens.

This does NOT happen when the AC adapter is plugged in.

What I've tried

I've investigated extensively and found that:

  1. Running sudo udevadm monitor shows constant drm/card1 change events:
KERNEL [1192.228486] change   /devices/pci0000:00/0000:00:08.1/0000:03:00.0/drm/card1 (drm)
UDEV  [1192.261376] change/devices/pci0000:00/0000:00:08.1/0000:03:00.0/drm/card1 (drm)
KERNEL [1231.346665] change/devices/pci0000:00/0000:00:08.1/0000:03:00.0/drm/card1 (drm)
UDEV  [1231.370399] change/devices/pci0000:00/0000:00:08.1/0000:03:00.0/drm/card1 (drm)
  1. Setting amdgpu.runpm=0 in GRUB does not resolve the issue
  2. Disabling WiFi does not resolve the issue
  3. power_dpm_force_performance_level remains unchanged during events
  4. No error messages appear in dmesg

Workaround

Disabling system event sounds stops the audible notification:

gsettings set org.gnome.desktop.sound event-sounds false

However, the underlying issue (constant drm change events) persists.

Questions

  1. Is this a known bug with the AMD Radeon 780M on battery power?
  2. Has anyone else with recent AMD Ryzen AI laptops experienced this?
  3. Is there a proper fix beyond disabling notification sounds?

I've already reported this as a bug to the AMD DRM developers, but I'm curious if others in the Ubuntu community have encountered this issue.

System info:

  • Laptop: ASUS Vivobook 18 M1807HA
  • GPU: AMD Radeon 780M (integrated)
  • CPU: AMD Ryzen 7 260
  • Kernel: 6.17.0-20-generic
  • Distribution: Ubuntu 24.04
install apache2 php module https://askubuntu.com/questions/1388251/install-apache2-php-module

My installation of apache2 is messed up. I can't get apache2's php module installed. How can I get Apache2's php module installed?

What I have tried:

$ sudo apt reinstall libapache2-mod-php
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.11.0-44-generic linux-hwe-5.11-headers-5.11.0-44 linux-image-5.11.0-44-generic
  linux-modules-5.11.0-44-generic linux-modules-extra-5.11.0-44-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
Need to get 2.836 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://aw.archive.ubuntu.com/ubuntu focal/main amd64 libapache2-mod-php all 2:7.4+75 [2.836 B]
Fetched 2.836 B in 1s (4.938 B/s)             
dpkg: warning: files list file for package 'firefox-mozilla-build' missing; assuming package has no files 
currently installed
(Reading database ... 333225 files and directories currently installed.)
Preparing to unpack .../libapache2-mod-php_2%3a7.4+75_all.deb ...
Unpacking libapache2-mod-php (2:7.4+75) over (2:7.4+75) ...
Setting up libapache2-mod-php (2:7.4+75) ...

and

$ sudo apt purge libapache2-mod-php
$ sudo apt install libapache2-mod-php

The module is not installed:

$ ls /etc/apache2/mods-available
access_compat.load    cgi.load                  log_debug.load       ratelimit.load
actions.conf          charset_lite.load         log_forensic.load    reflector.load
actions.load          data.load                 lua.load             remoteip.load
alias.conf            dav_fs.conf               macro.load           reqtimeout.conf
alias.load            dav_fs.load               md.load              reqtimeout.load
allowmethods.load     dav.load                  mime.conf            request.load
asis.load             dav_lock.load             mime.load            rewrite.load
auth_basic.load       dbd.load                  mime_magic.conf      sed.load
auth_digest.load      deflate.conf              mime_magic.load      session_cookie.load
auth_form.load        deflate.load              mpm_event.conf       session_crypto.load
authn_anon.load       dialup.load               mpm_event.load       session_dbd.load
authn_core.load       dir.conf                  mpm_prefork.conf     session.load
authn_dbd.load        dir.load                  mpm_prefork.load     setenvif.conf
authn_dbm.load        dump_io.load              mpm_worker.conf      setenvif.load
authn_file.load       echo.load                 mpm_worker.load      slotmem_plain.load
authn_socache.load    env.load                  negotiation.conf     slotmem_shm.load
authnz_fcgi.load      expires.load              negotiation.load     socache_dbm.load
authnz_ldap.load      ext_filter.load           proxy_ajp.load       socache_memcache.load
authz_core.load       file_cache.load           proxy_balancer.conf  socache_redis.load
authz_dbd.load        filter.load               proxy_balancer.load  socache_shmcb.load
authz_dbm.load        headers.load              proxy.conf           speling.load
authz_groupfile.load  heartbeat.load            proxy_connect.load   ssl.conf
authz_host.load       heartmonitor.load         proxy_express.load   ssl.load
authz_owner.load      http2.conf                proxy_fcgi.load      status.conf
authz_user.load       http2.load                proxy_fdpass.load    status.load
autoindex.conf        ident.load                proxy_ftp.conf       substitute.load
autoindex.load        imagemap.load             proxy_ftp.load       suexec.load
brotli.load           include.load              proxy_hcheck.load    unique_id.load
buffer.load           info.conf                 proxy_html.conf      userdir.conf
cache_disk.conf       info.load                 proxy_html.load      userdir.load
cache_disk.load       lbmethod_bybusyness.load  proxy_http2.load     usertrack.load
cache.load            lbmethod_byrequests.load  proxy_http.load      vhost_alias.load
cache_socache.load    lbmethod_bytraffic.load   proxy.load           xml2enc.load
cern_meta.load        lbmethod_heartbeat.load   proxy_scgi.load
cgid.conf             ldap.conf                 proxy_uwsgi.load
cgid.load             ldap.load                 proxy_wstunnel.load
I am receiving blk_update_request: critical medium error, dev sdb, sector. What does it mean and what can I do to avoid it? https://askubuntu.com/questions/1336795/i-am-receiving-blk-update-request-critical-medium-error-dev-sdb-sector-what

This is the error shown after I shutdown:

enter image description here

I am new at using linux, and I am currently using Ubuntu 20.04. I use Ubuntu via a external HDD(WD 1TB). The HDD is two years old.

Recently this error has been popping whenever I shutdown and the OS too is lagging.

Any help will be greatly appreciated.

Disable alert sounds on Ubuntu 20.04 https://askubuntu.com/questions/1282170/disable-alert-sounds-on-ubuntu-20-04

I cannot see where to disable alert sounds on Ubuntu 20.04. I believe it was available under Sound Settings in older versions of Ubuntu. "Alert sound" is there but not a corresponding volume.

  1. Is there an alternative way to do this?
  2. If this is not possible from Settings, who on earth decided that was a good idea? Thanks!
How to fix "unable to contact snap store" error while installing conjure-up https://askubuntu.com/questions/1104729/how-to-fix-unable-to-contact-snap-store-error-while-installing-conjure-up

I am trying to install conjure-up to install the kubernetes on my ubuntu (16.04.1) with the command:

sudo snap install conjure-up --classic

After a few seconds, the below error is shown:

error: unable to contact snap store

I have both http_proxy and https_proxy already setup

Below is the output from snap version

snap    2.34.2
snapd   2.34.2
series  16
ubuntu  16.04
kernel  4.15.0-42-generic

I came across the similar question, Problem with snap store but the answer provided (issue with snap store try after some time) did not solve my issue.

Configuration of a bridge with a static IP with the netplan to be used with linux container https://askubuntu.com/questions/995360/configuration-of-a-bridge-with-a-static-ip-with-the-netplan-to-be-used-with-linu

Summary: how to configure the netplan on a host machine to create a bridge (with a static IP address) that would be used on guest virtual machine (shall be accessible from a local lan).

I am using Ubuntu 17.10, 32 bit. nplan 0.32~17.10.1.

I am trying to configure a linux virtual container that should be accessible from the local network. But I am failing to configure a bridge on host machine with the nplan.
I have tried to follow the following guide with no luck:
https://discuss.linuxcontainers.org/t/static-ip-for-containers-with-local-lan-access/817
The guide configures a host system with two NICs. My host machine has a single interface.

I am still dealing with the nplan configuration on my host machine. My nplan config on host machine is the following:

network:  
  version: 2  
  renderer: networkd  
  ethernets:  
    ens32:  
      dhcp4: no  
      dhcp6: no  
      addresses: [10.0.0.247/24]  
      gateway4: 10.0.0.138  
      nameservers:  
        addresses: [10.0.0.138,8.8.8.8,8.8.4.4]  
  bridges:  
    br0:  
      interfaces: [ens32]  
      dhcp4: no  
      dhcp6: no  
      addresses: [10.0.0.248/24]  
      parameters:  
        stp: false  
        forward-delay: 0  

after 'netplan apply' on host machine I can resolve google.com, but I can not ping:

ping google.com  
PING google.com (172.217.22.174) 56(84) bytes of data.  
From fileserver (10.0.0.247) icmp_seq=1 Destination Host Unreachable  

ip a  
1: lo ...  
2: ens32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP group default qlen 1000  
    link/ether 00:01:2e:4c:4c:97 brd ff:ff:ff:ff:ff:ff  
    inet 10.0.0.247/24 brd 10.0.0.255 scope global ens32  
       valid_lft forever preferred_lft forever  
3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000  
    link/ether ba:5f:c3:f0:a8:bd brd ff:ff:ff:ff:ff:ff  
    inet 10.0.0.248/24 brd 10.0.0.255 scope global br0  
       valid_lft forever preferred_lft forever  

When I remove the complete section 'bridges:' from the nplan config I have to reboot the computer to get rid of the bridge (netplan apply is not enough - why?).

After the reboot, I can ping google.com.

Any help with the nplan configuration (on host and also on virtual guest) would be very welcome.

Thank you.

How to go back to the last screen after accidently click “Ctrl+A, c” when using Screen on Ubuntu https://askubuntu.com/questions/920452/how-to-go-back-to-the-last-screen-after-accidently-click-ctrla-c-when-using

This happens to me all the time. What I actually want to do is "Ctrl+A, Shift+|". But instead, I accidently hit "Ctrl+A, Shift+C". And it brings me to a new instance of screen.

But there are some output on my last screen which I would like to reference later. Wonder how to get back to it?

boot-repair NVMe drive after gparted copy https://askubuntu.com/questions/697446/boot-repair-nvme-drive-after-gparted-copy

I'm trying to migrate to my new NVMe Samsung 950 pro.

chroot /mnt/boot-sav/nvme0n1p3 update-grub
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.

Process:

  • Copied/pasted via Gparted (lastest gparted live-cd)
  • Ran boot-repair (with 15.10 ubuntu desktop)
  • failed on update-grub

http://paste.ubuntu.com/13244403/

Old drive had:

  • sda1 fat32 EFI
  • sda2 ntfs
  • unallocated (had to shrink a small amount for new drive)
  • sda3 ext4
  • sda4 linux-swap

My first guess is that I'm no longer using an sd, but an nvm prefixed device.

Any thoughts/help is appreciated.

sudo fdisk -l

Device             Start       End   Sectors   Size Type
/dev/nvme0n1p1      2048    206847    204800   100M Microsoft basic data
/dev/nvme0n1p2    206848 487878655 487671808 232.6G Microsoft basic data
/dev/nvme0n1p3 487878656 864057343 376178688 179.4G Linux filesystem
/dev/nvme0n1p4 864057344 897484799  33427456    16G Linux swap

Device     Boot   Start     End Sectors  Size Id Type
/dev/sda1  *          0 2301535 2301536  1.1G  0 Empty
/dev/sda2       2279532 2284075    4544  2.2M  c W95 FAT32 (LBA)

Update 11/14/15

This is the latest attempt:

sudo mount /dev/nvme0n1p3 /mnt
sudo mount /dev/nvme0n1p1 /mnt/boot/efi

for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done

sudo cp --remove-destination /etc/resolv.conf /mnt/etc/resolv.conf

sudo chroot /mnt
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot 

Results:

Installation finished. No error reported.

$ update-grub
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.

When I look in /boot/grub I do NOT have a device.map. I read that I don't need one for grub2, but I generated one, ran update-grub and ran into the same message as above.

I attempt to reboot anyway, and my EFI only shows a Windows Boot Manager as a bootable item, for which it lands on a windows recovery screen. The Ubuntu partition isn't listed as a bootable drive in EFI.

List of Ubuntu Versions with Corresponding Linux Kernel Version https://askubuntu.com/questions/517136/list-of-ubuntu-versions-with-corresponding-linux-kernel-version

Is there a list of Ubuntu versions with default corresponding Linux kernel versions somewhere?

I would specifically like to know the most recent version of Ubuntu that still used Linux Kernel 2.x.

Activate spare for RAID-5 in Disk Utility https://askubuntu.com/questions/262716/activate-spare-for-raid-5-in-disk-utility

I have a RAID-5. I'm trying to replace a failing drive in Disk Utility GUI. I added a new drive as a spare, then did "Remove Component" for the failing drive. How do I tell it to actually use the spare (write all the parity data, etc)?

I tried re-adding, because I got nervous...

$ sudo mdadm /dev/md127 --re-add /dev/sdd

mdadm: --re-add for /dev/sdd to /dev/md127 is not possible

Merge split terminal tab back into one terminal https://askubuntu.com/questions/43114/merge-split-terminal-tab-back-into-one-terminal

In a terminal window, I can use File > Open Tab to get two tabs in the same window.
Then, if I move the terminal up to the top of the OS, those two tabs become two separated windows.

How can I merge those two windows back to one (like I had before)?

MySQL GUI Tools https://askubuntu.com/questions/8155/mysql-gui-tools

Does anyone have any good ideas as to native MySQL GUI clients for Ubuntu?

So far I've tried MySQL Workbench, which never seemed to work properly, phpMyAdmin which I found a bit slow, and Navicat which is a windows port and runs under wine, but none of these is perfect. In an ideal world, I'm looking for something like a native version of navicat.