Only one fan working on MSI laptop with Kubuntu, fancontrol/pwmconfig not helping https://askubuntu.com/questions/1568728/only-one-fan-working-on-msi-laptop-with-kubuntu-fancontrol-pwmconfig-not-helpin

I have a fresh install of Kubuntu 26.04 on my MSI Katana 15 HX B14WFK laptop, installed with dual booting with Windows 11. While on Windows my fans work fine, on Linux my laptop overheats frequently, the following output of sudo sensors reveals why:

leona@leonardo-katana15hxb14wfk:~$ sudo sensors
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +48.0°C  

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +62.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +56.0°C  (high = +100.0°C, crit = +100.0°C)
Core 4:        +55.0°C  (high = +100.0°C, crit = +100.0°C)
Core 8:        +57.0°C  (high = +100.0°C, crit = +100.0°C)
Core 12:       +56.0°C  (high = +100.0°C, crit = +100.0°C)
Core 16:       +57.0°C  (high = +100.0°C, crit = +100.0°C)
Core 20:       +57.0°C  (high = +100.0°C, crit = +100.0°C)
Core 24:       +55.0°C  (high = +100.0°C, crit = +100.0°C)
Core 28:       +56.0°C  (high = +100.0°C, crit = +100.0°C)
Core 32:       +61.0°C  (high = +100.0°C, crit = +100.0°C)
Core 33:       +60.0°C  (high = +100.0°C, crit = +100.0°C)
Core 34:       +60.0°C  (high = +100.0°C, crit = +100.0°C)
Core 35:       +60.0°C  (high = +100.0°C, crit = +100.0°C)
Core 36:       +59.0°C  (high = +100.0°C, crit = +100.0°C)
Core 37:       +59.0°C  (high = +100.0°C, crit = +100.0°C)
Core 38:       +59.0°C  (high = +100.0°C, crit = +100.0°C)
Core 39:       +59.0°C  (high = +100.0°C, crit = +100.0°C)

BAT1-acpi-0
Adapter: ACPI interface
in0:          16.89 V  
curr1:         1.22 A  

msi_wmi_platform-virtual-0
Adapter: Virtual device
fan1:        2448 RPM
fan2:           0 RPM
fan3:           0 RPM
fan4:           0 RPM

nvme-pci-e100
Adapter: PCI adapter
Composite:    +45.9°C  (low  =  -5.2°C, high = +85.8°C)
                       (crit = +87.8°C)
Sensor 1:     +45.9°C  (low  = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +63.0°C  

It appears only fan1 is working for some reason. I tried installing fancontrol but it requires pmwconfig to work correctly, which gives me the following output:

/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed

I tried troubleshooting this problem and online I found that adding the line acpi_enforce_resources=lax to /etc/default/grub might solve the problem but it did not help.

I also attach the output of sensors-detect:

leona@leonardo-katana15hxb14wfk:~$ sudo sensors-detect
# sensors-detect version 3.6.2
# System: Micro-Star International Co., Ltd. Katana 15 HX B14WFK [REV:1.0] (laptop)
# Board: Micro-Star International Co., Ltd. MS-1587
# Kernel: 7.0.0-28-generic x86_64
# Processor: Intel(R) Core(TM) i7-14650HX (6/183/1)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): YES
Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 16h thermal sensors...                           No
AMD Family 17h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Hygon Family 18h thermal sensors...                         No
AMD Family 19h thermal sensors...                           No
Intel digital thermal sensor...                             Success!
    (driver `coretemp')
Intel AMB FB-DIMM thermal sensor...                         No
Intel 5500/5520/X58 thermal sensor...                       No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): YES
/dev/port: Operation not permitted

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): yes
/dev/port: Operation not permitted

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): 
Found unknown SMBus adapter 8086:7a23 at 0000:00:1f.4.
Sorry, no supported PCI bus adapters found.

Next adapter: Synopsys DesignWare I2C adapter (i2c-0)
Do you want to scan it? (YES/no/selectively): 
Adapter doesn't support all probing functions.
Some addresses won't be probed.

Next adapter: SMBus I801 adapter at 0000:00:1f.4 (i2c-1)
Do you want to scan it? (YES/no/selectively): 
Client found at address 0x48
Probing for `National Semiconductor LM75'...                No
Probing for `National Semiconductor LM75A'...               No
Probing for `Dallas Semiconductor DS75'...                  No
Probing for `National Semiconductor LM77'...                No
Probing for `Analog Devices ADT7410/ADT7420'...             No
Probing for `Analog Devices ADT7411'...                     No
Probing for `Maxim MAX6642'...                              No
Probing for `Texas Instruments TMP435'...                   No
Probing for `National Semiconductor LM73'...                No
Probing for `National Semiconductor LM92'...                No
Probing for `National Semiconductor LM76'...                No
Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
Probing for `NXP/Philips SA56004'...                        No
Probing for `SMSC EMC1023'...                               No
Probing for `SMSC EMC1043'...                               No
Probing for `SMSC EMC1053'...                               No
Probing for `SMSC EMC1063'...                               No
Client found at address 0x4a
Probing for `National Semiconductor LM75'...                No
Probing for `National Semiconductor LM75A'...               No
Probing for `Dallas Semiconductor DS75'...                  No
Probing for `National Semiconductor LM77'...                No
Probing for `Analog Devices ADT7410/ADT7420'...             No
Probing for `Analog Devices ADT7411'...                     No
Probing for `Maxim MAX6642'...                              No
Probing for `Texas Instruments TMP435'...                   No
Probing for `National Semiconductor LM73'...                No
Probing for `National Semiconductor LM92'...                No
Probing for `National Semiconductor LM76'...                No
Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
Probing for `NXP/Philips SA56004'...                        No
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Probing for `EDID EEPROM'...                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No

Next adapter: i915 gmbus dpa (i2c-2)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus dpb (i2c-3)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus dpc (i2c-4)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus tc1 (i2c-5)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus tc2 (i2c-6)
Do you want to scan it? (yes/NO/selectively): yes     

Next adapter: i915 gmbus tc3 (i2c-7)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus tc4 (i2c-8)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus tc5 (i2c-9)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus tc6 (i2c-10)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AUX A/DDI A/PHY A (i2c-11)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: DP-1 (i2c-12)
Do you want to scan it? (YES/no/selectively): yes

Next adapter: eDP-2 (i2c-13)
Do you want to scan it? (YES/no/selectively): 


Now follows a summary of the probes I have just done.
Just press ENTER to continue: 

Driver `coretemp':
  * Chip `Intel digital thermal sensor' (confidence: 9)

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!

Do you want to add these lines automatically to /etc/modules? (yes/NO)yes
Successful!

Monitoring programs won't work until the needed modules are
loaded. You may want to run '/etc/init.d/kmod start'
to load them.

Unloading cpuid... OK

This changes nothing. Online I have seen that solutions are motherboard-specific, but no online solution I could find for MSI laptops helped.

Is anybody able to help? Thank you in advance!

Trying to fix 'repeating password' error on SCP.....tried suggestion ssh-copy-id i id_rsa.pub ian@192.168.50.164/gowron - rejected https://askubuntu.com/questions/1568727/trying-to-fix-repeating-password-error-on-scp-tried-suggestion-ssh-copy-id

As above and typed in - as I thought - the username etc correctly with the IP address. Please sort out my - not-so-obvious blunder. Thanks. [SCP/SSH Novice]

Cannot fix broken dependencies on Ubuntu 22.04 [duplicate] https://askubuntu.com/questions/1568724/cannot-fix-broken-dependencies-on-ubuntu-22-04

I'll try to describe the issue to the best of my ability, but I am not very well versed in this. I had Ubuntu 18.04 on my laptop (dual boot with Windows, in case it is relevant), and I suddenly got an issue with the Nvidia graphics drivers. After trying several things, eventually I managed to fix this by updating to Ubuntu 20.04 (which I couldn't before due to a separate issue, but somehow one of the things I did trying to fix the graphics drivers issue made this possible). The upgrade to 20.04 seemingly went well, so then I tried to update to 22.04, since 20.04 is already outdated as well. During this upgrade, again I had issues with the Nvidia graphics drivers, more specifically they could not be installed, as I understand, because of a version conflict with cpp/gcc. I found this question Resolve/undo cpp/gcc version conflict in dpkg, which to me seemed like a similar issue, and tried one of the solutions there, from @Tux The Linux Fan.

What has led me to the situation I am at now is that I ran the following line of code without properly understanding what it was going to do (I only saw the warning afterwards - yes, I realise this was very stupid of me):

sudo dpkg --remove --force-depends cpp gcc gcc-14-base cpp-x86-64-linux-gnu gcc-x86-64-linux-gnu gcc-14-x86-64-linux-gnu libgcc-s1 libgomp1 libstdc++6 libatomic1

I tried to follow the next steps in that same answer, but

sudo apt install --reinstall cpp gcc libgcc-s1 libgomp1 libstdc++6 libatomic1

did not work for me (I should mention that apt was not working for me until I "manually" installed libstdc++6). I get the following message:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 cpp : Depends: cpp-11 (>= 11.2.0-1~) but it is not going to be installed
 gcc : Depends: gcc-11 (>= 11.2.0-1~) but it is not going to be installed
 libcc1-0 : Depends: libstdc++6 (>= 13) but 12.3.0-1ubuntu1~22.04.3 is to be installed
 libgcc-s1 : Breaks: libgcc-s1:i386 (!= 12.3.0-1ubuntu1~22.04.3) but 16-20260315-1ubuntu1~18~ppa3 is to be installed
 libgcc-s1:i386 : Breaks: libgcc-s1 (!= 16-20260315-1ubuntu1~18~ppa3) but 12.3.0-1ubuntu1~22.04.3 is to be installed
 libgcc1 : Depends: libgcc-s1 (>= 16-20260315-1ubuntu1~18~ppa3) but 12.3.0-1ubuntu1~22.04.3 is to be installed
 libstdc++6 : Breaks: libstdc++6:i386 (!= 12.3.0-1ubuntu1~22.04.3) but 16-20260315-1ubuntu1~18~ppa3 is to be installed
 libstdc++6:i386 : Breaks: libstdc++6 (!= 16-20260315-1ubuntu1~18~ppa3) but 12.3.0-1ubuntu1~22.04.3 is to be installed
 libstdc++6-i386-cross : Depends: gcc-12-cross-base (>= 12-20220222-1ubuntu1) but it is not going to be installed
                         Depends: libc6-i386-cross (>= 2.35) but it is not going to be installed
                         Depends: libgcc-s1-i386-cross (>= 7) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I have tried to run sudo apt --fix-broken install and I get this:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 apt : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 apt-utils : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 binutils-x86-64-linux-gnu : Depends: libgcc-s1 (>= 4.2) but it is not installed
 browser-plugin-freshplayer-pepperflash : Depends: libgcc-s1 (>= 3.0) but it is not installed
 cups : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 cups-filters : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 cups-filters-core-drivers : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 cups-ppdc : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 dvisvgm : Depends: libgcc-s1 (>= 3.4) but it is not installed
 gcc-12 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 gcc-7 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 gcc-9 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 gdb : Depends: libgcc-s1 (>= 4.2) but it is not installed
 gdbserver : Depends: libgcc-s1 (>= 3.0) but it is not installed
 gdisk : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 gettext : Depends: libgomp1 (>= 6) but it is not installed
 gjs : Depends: libgcc-s1 (>= 3.0) but it is not installed
 gnome-terminal : Depends: libgcc-s1 (>= 3.0) but it is not installed
 gparted : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 graphviz : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 groff-base : Depends: libgcc-s1 (>= 4.0) but it is not installed
 gstreamer1.0-plugins-bad : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 gstreamer1.0-plugins-good : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 indicator-datetime : Depends: libgcc-s1 (>= 3.0) but it is not installed
 initramfs-tools-bin : Depends: libgcc-s1 (>= 3.0) but it is not installed
 intel-media-va-driver : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libabsl20210324 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libabw-0.1-1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libann0 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libapt-pkg-perl : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libapt-pkg6.0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libasan4 : Depends: libgcc-s1 but it is not installed
 libasan5 : Depends: libgcc-s1 but it is not installed
 libasan8 : Depends: libgcc-s1 (>= 3.3) but it is not installed
 libatkmm-1.6-1v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libblas3 : Depends: libgcc-s1 (>= 4.0) but it is not installed
 libboost-filesystem1.74.0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libboost-iostreams1.74.0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libboost-locale1.74.0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libboost-regex1.74.0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libboost-thread1.74.0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libc6 : Depends: libgcc-s1 but it is not installed
 libcairomm-1.0-1v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libcc1-0 : Depends: libgcc-s1 (>= 3.0) but it is not installed
            Depends: libstdc++6 (>= 13) but 12.3.0-1ubuntu1~22.04.3 is installed
 libcdr-0.1-1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libchromaprint1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libcilkrts5 : Depends: libgcc-s1 but it is not installed
 libclucene-contribs1v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libclucene-core1v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libde265-0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libdjvulibre21 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libdouble-conversion3 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libe-book-0.1-1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libebook-contacts-1.2-3 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libedataserver-1.2-26 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libegl-mesa0 : Depends: libgcc-s1 (>= 3.4) but it is not installed
 libenchant-2-2 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libepubgen-0.1-1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libetonyek-0.1-1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libexempi8 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libexiv2-27 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libfftw3-double3 : Depends: libgomp1 (>= 4.9) but it is not installed
 libfftw3-single3 : Depends: libgomp1 (>= 4.9) but it is not installed
 libfluidsynth3 : Depends: libgomp1 (>= 4.9) but it is not installed
 libfreehand-0.1-1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libgcc-12-dev : Depends: libgcc-s1 (>= 12.3.0-1ubuntu1~22.04.3) but it is not installed
                 Depends: libgomp1 (>= 12.3.0-1ubuntu1~22.04.3) but it is not installed
                 Depends: libatomic1 (>= 12.3.0-1ubuntu1~22.04.3) but it is not installed
 libgcc-7-dev : Depends: libgcc-s1 (>= 7.5.0-6ubuntu2) but it is not installed
                Depends: libgomp1 (>= 7.5.0-6ubuntu2) but it is not installed
                Depends: libatomic1 (>= 7.5.0-6ubuntu2) but it is not installed
 libgcc-9-dev : Depends: libgcc-s1 (>= 9.5.0-1ubuntu1~22.04.1) but it is not installed
                Depends: libgomp1 (>= 9.5.0-1ubuntu1~22.04.1) but it is not installed
                Depends: libatomic1 (>= 9.5.0-1ubuntu1~22.04.1) but it is not installed
 libgcc1 : Depends: libgcc-s1 (>= 16-20260315-1ubuntu1~18~ppa3) but it is not installed
 libgexiv2-2 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libgfortran5 : Depends: libgcc-s1 (>= 4.3) but it is not installed
 libgjs0g : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libgl1-amber-dri : Depends: libgcc-s1 (>= 3.4) but it is not installed
 libgl1-mesa-dri : Depends: libgcc-s1 (>= 3.4) but it is not installed
 libglibmm-2.4-1v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libgme0 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libgpgmepp6 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libgs9 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libgtkmm-3.0-1v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libgvc6 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libheif1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libhunspell-1.7-0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libical3 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libicu66 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libicu70 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libigdgmm12 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libilmbase25 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libimagequant0 : Depends: libgomp1 (>= 4.9) but it is not installed
 libjack-jackd2-0 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libjavascriptcoregtk-4.0-18 : Depends: libatomic1 (>= 4.8) but it is not installed
                               Depends: libgcc-s1 (>= 7) but it is not installed
 liblapack3 : Depends: libgcc-s1 (>= 4.0) but it is not installed
 libllvm15 : Depends: libgcc-s1 (>= 3.3) but it is not installed
 libllvm6.0 : Depends: libgcc-s1 (>= 3.4) but it is not installed
 liblsan0 : Depends: libgcc-s1 (>= 3.3) but it is not installed
 libmagickcore-6.q16-6 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
                         Depends: libgomp1 (>= 6) but it is not installed
                         Recommends: gsfonts but it is not installed
 libmagickwand-6.q16-6 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
                         Depends: libgomp1 (>= 4.9) but it is not installed
 libmfx1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libmozjs-91-0 : Depends: libgcc-s1 (>= 3.4) but it is not installed
 libmpdec3 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libmpeg2encpp-2.1-0 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libmplex2-2.1-0 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libmspub-0.1-1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libmwaw-0.3-3 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libmythes-1.2-0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libnorm1 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libodfgen-0.1-1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libopenexr25 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libopenh264-6 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libopenmpt0 : Depends: libgcc-s1 (>= 4.0) but it is not installed
 libopenni2-0 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 liborcus-0.17-0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 liborcus-parser-0.17-0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libpagemaker-0.0-0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libpangomm-1.4-1v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libphonenumber8 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libprotobuf23 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libproxy1-plugin-gsettings : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libproxy1v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libqpdf28 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libqqwing2v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libqt5core5a : Depends: libgcc-s1 (>= 3.4) but it is not installed
 libqt5gui5 : Depends: libgcc-s1 (>= 3.4) but it is not installed
 libqt5positioning5 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libqt5widgets5 : Depends: libgcc-s1 (>= 3.4) but it is not installed
 libraw20 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
            Depends: libgomp1 (>= 6) but it is not installed
 libreoffice-base-core : Depends: libgcc-s1 (>= 3.4) but it is not installed
 libreoffice-calc : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libreoffice-core : Depends: libgcc-s1 (>= 3.4) but it is not installed
 libreoffice-draw : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libreoffice-gnome : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libreoffice-gtk3 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libreoffice-impress : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libreoffice-math : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libreoffice-writer : Depends: libgcc-s1 (>= 3.0) but it is not installed
 librevenge-0.0-0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 librsvg2-2 : Depends: libgcc-s1 (>= 4.2) but it is not installed
 librubberband2 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libsane1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libsigc++-2.0-0v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libsnappy1v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libsoundtouch1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libsource-highlight4v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libsoxr0 : Depends: libgomp1 (>= 4.9) but it is not installed
 libspa-0.2-modules : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libsrt1.4-gnutls : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libstdc++6 : Depends: libgcc-s1 (>= 4.2) but it is not installed
              Breaks: libstdc++6:i386 (!= 12.3.0-1ubuntu1~22.04.3) but 16-20260315-1ubuntu1~18~ppa3 is installed
 libstdc++6:i386 : Breaks: libstdc++6 (!= 16-20260315-1ubuntu1~18~ppa3) but 12.3.0-1ubuntu1~22.04.3 is installed
 libstdc++6-i386-cross : Depends: gcc-12-cross-base (>= 12-20220222-1ubuntu1) but it is not installed
                         Depends: libc6-i386-cross (>= 2.35) but it is not installed
                         Depends: libgcc-s1-i386-cross (>= 7) but it is not installed
 libtag1v5-vanilla : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libteckit0 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libtexluajit2 : Depends: libgcc-s1 (>= 3.3) but it is not installed
 libtool : Depends: cpp but it is not installable
 libtsan0 : Depends: libgcc-s1 (>= 3.3) but it is not installed
 libtsan2 : Depends: libgcc-s1 (>= 3.3) but it is not installed
 libubsan0 : Depends: libgcc-s1 but it is not installed
 libubsan1 : Depends: libgcc-s1 (>= 3.3) but it is not installed
 libuchardet0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libuno-cppu3 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libuno-cppuhelpergcc3-3 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libuno-purpenvhelpergcc3-3 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libuno-sal3 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libuno-salhelpergcc3-3 : Depends: libgcc-s1 (>= 3.0) but it is not installed
 libvidstab1.1 : Depends: libgomp1 (>= 4.9) but it is not installed
 libvisio-0.1-1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libvte-2.91-0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libwebkit2gtk-4.0-37 : Depends: libgcc-s1 (>= 4.0) but it is not installed
 libwebrtc-audio-processing1 : Depends: libgcc-s1 (>= 4.0) but it is not installed
 libwoff1 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libwpd-0.10-10 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libwpg-0.3-3 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libwps-0.4-4 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libwxbase3.0-0v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libwxgtk3.0-gtk3-0v5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libxatracker2 : Depends: libgcc-s1 (>= 3.4) but it is not installed
 libzimg2 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libzmq5 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 libzxingcore1 : Depends: libgcc-s1 (>= 3.4) but it is not installed
 lshw : Depends: libgcc-s1 (>= 3.0) but it is not installed
 lzip : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 mesa-va-drivers : Depends: libgcc-s1 (>= 3.4) but it is not installed
 mesa-vdpau-drivers : Depends: libgcc-s1 (>= 3.4) but it is not installed
 mesa-vulkan-drivers : Depends: libgcc-s1 (>= 3.4) but it is not installed
 nautilus-extension-gnome-terminal : Depends: libgcc-s1 (>= 3.0) but it is not installed
 openjdk-11-jre-headless : Depends: libgcc-s1 (>= 4.0) but it is not installed
 p7zip : Depends: libgcc-s1 (>= 3.0) but it is not installed
 p7zip-full : Depends: libgcc-s1 (>= 3.0) but it is not installed
 packagekit : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 printer-driver-brlaser : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 printer-driver-hpcups : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 printer-driver-splix : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 pulseaudio : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 python3-apt : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 python3-protobuf : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 python3-uno : Depends: libgcc-s1 (>= 3.0) but it is not installed
 python3-wxgtk4.0 : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 stellarium : Depends: libgcc-s1 (>= 3.0) but it is not installed
 tclfitsy : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 tcliis : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 texlive-binaries : Depends: libgcc-s1 (>= 4.0) but it is not installed
 thermald : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 thunderbird : Depends: libgcc-s1 (>= 4.2) but it is not installed
 tk-mpeg : Depends: libgcc-s1 (>= 3.0) but it is not installed
 tkblt : Depends: libgcc-s1 (>= 3.0) but it is not installed
 tksao : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 ubuntu-pro-client : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
 uno-libs-private : Depends: libgcc-s1 (>= 3.0) but it is not installed
 ure : Depends: libgcc-s1 (>= 3.0) but it is not installed
 x11-xserver-utils : Depends: cpp but it is not installable
 zoom : Depends: libatomic1 but it is not installed
 zstd : Depends: libgcc-s1 (>= 3.3.1) but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

I also tried to run the dkpg fix broken dependencies option on recovery mode, but that hasn't worked either. As I understand, the issue stems from an incompatibility between the version of libstdc++6 and libstdc++6:i386, which as I understand still has the version from 18.04, for some reason?

I have read several similar questions here, but either they have answers which I have already tried or answers that don't apply to my specific situation. I don't know what else to try, so if anyone has any insight on what is going on here and how I can fix this, I would greatly appreciate it.

EDIT BELOW

It has been pointed out that this question is similar to E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages and Unable to correct problems, you have held broken packages.

However, the main answers there (I did not try them all) did not help my case, as they mostly suggested running sudo apt update/upgrade/autoremove or something similar to fix things. Instead, what worked for me, as suggested in the comments, was to manually download and install with dpkg the packages that were causing the broken dependencies, which for me were gcc-12-base, libgcc-s1, libgomp1 and libatomic1, some of which I had to install both for amd64 and i386. After manually downloading these packages (from https://packages.ubuntu.com/jammy/libgcc-s1 and https://ubuntu.pkgs.org/), I could run sudo apt --fix-broken install and sudo apt upgrade successfully (as far as I can tell, at least).

The outcome of sudo apt update for me, now, is:

Ign:1 cdrom://Ubuntu 22.04.5 LTS _Jammy Jellyfish_ - Release amd64 (20240911) jammy InRelease
Hit:2 cdrom://Ubuntu 22.04.5 LTS _Jammy Jellyfish_ - Release amd64 (20240911) jammy Release
Hit:3 https://www.synaptics.com/sites/default/files/Ubuntu stable InRelease
Hit:4 https://dl.google.com/linux/chrome-stable/deb stable InRelease                                                    
Hit:6 http://archive.ubuntu.com/ubuntu jammy InRelease                                                                  
Hit:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease       
Hit:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:9 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease [8,371 B]
Hit:10 http://archive.ubuntu.com/ubuntu jammy-security InRelease
Get:11 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease [8,208 B]
Get:12 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease [8,295 B]
Get:13 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease [8,201 B]
Fetched 33.1 kB in 1s (39.6 kB/s)     
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

which I'm told still means I have something to fix due to the line with Ign, but that might be a different issue. It might also be worth mentioning that the output of sudo apt install build-essential is now:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
 cpp-11 : Depends: gcc-11-base (= 11.4.0-1ubuntu1~22.04.3) but 11.4.0-2ubuntu1~18.04 is to be installed
 g++-11 : Depends: gcc-11-base (= 11.4.0-1ubuntu1~22.04.3) but 11.4.0-2ubuntu1~18.04 is to be installed
          Depends: libstdc++-11-dev (= 11.4.0-1ubuntu1~22.04.3) but it is not going to be installed
 gcc-11 : Depends: gcc-11-base (= 11.4.0-1ubuntu1~22.04.3) but 11.4.0-2ubuntu1~18.04 is to be installed
          Depends: libgcc-11-dev (= 11.4.0-1ubuntu1~22.04.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

which makes me think my problem might not be entirely gone. This is just guesswork from my part (and let me reiterate I am not well versed in this at all), but the issue with this might be because it is trying to "build essentials" with package versions from Ubuntu 18.04 (which is what I had originally), while now these packages are in the versions for Ubuntu 22.04 (what I have now). I'm including it just for completion, I understand this might be very specific for my case and may not apply to anyone else.

Thank you to all who answered and provided insight on this matter, and apologies if I have failed to comply with the correct structure of this Q&A site.

EDIT 2 BELOW

As requested, here is the output of apt policy gcc-11-base:

gcc-11-base:
  Installed: 11.4.0-2ubuntu1~18.04
  Candidate: 11.4.0-2ubuntu1~18.04
  Version table:
 *** 11.4.0-2ubuntu1~18.04 100
        100 /var/lib/dpkg/status
     11.4.0-1ubuntu1~22.04.3 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     11.2.0-19ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
Package not found when installing it in the terminal https://askubuntu.com/questions/1568716/package-not-found-when-installing-it-in-the-terminal

I am trying to install PIA VPN. I have downloaded the package and this is what I get.

ernest@ernest:~$ cd Downloads  
ernest@ernest:~/Downloads$ sudo apt install pia-linux-3.7.2-08420.run
[sudo: authenticate] Password:            
Error: Unable to locate package pia-linux-3.7.2-08420.run  
Error: Couldn't find any package by glob 'pia-linux-3.7.2-08420.run'  
ernest@ernest:~/Downloads$  

The package is located in the Downloads folder. Can anyone help?

How to always run appimage as program (without the context menu option) in UI https://askubuntu.com/questions/1568715/how-to-always-run-appimage-as-program-without-the-context-menu-option-in-ui

When I have an appimage file which I want to run, I go to Properties on that file, and flip the toggle to enable "Execute as Program*. I can now right-click on that file in the UI, and select Run as a Program, and it runs as it should, but if I just double-click on that file it opens the App Center which shows a "Something went wrong" error. Did appimage files get somehow associated with App Center improperly? How can I get the appimage to just execute, when double-clicked on? Everywhere else I look on the internet, people seem to just have that as their default behavior, but I do not.

App Center error״:

Screenshot of App Center error here

I tried looking in the Default Programs area of Settings, but found nothing helpful there. Is there a file associations list somewhere which might help me?

What else to I need to download for ubuntu gui https://askubuntu.com/questions/1568714/what-else-to-i-need-to-download-for-ubuntu-gui

I have installed ubuntu desktop and tried to start it with startx. This however loads a small chunk of text with no error message and then shuts the server down after going black for a second. The text talks about log files and marker right before it shuts the server down. Any help would be greatly appreciated, thank you.

Wi-Fi não aparece como resolver? [closed] https://askubuntu.com/questions/1568713/wi-fi-n%c3%a3o-aparece-como-resolver

Modelo do Notebook: Acer Aspire (AG15-71P) Placa de Wi-Fi: Intel Wi-Fi 6 AX201 (CNVi) Sistema Operacional: Ubuntu Problema: O comando ⁠lspci -nnk⁠ reconhece a placa e mostra o módulo ⁠iwlwifi⁠. O log do ⁠dmesg⁠ confirma que o firmware foi carregado com sucesso, porém a interface de rede sem fio (⁠wlan0⁠ / ⁠wlp...⁠) não aparece na lista do ⁠ip link⁠. Já fiz o descarregamento do módulo ⁠acer_wmi⁠ e verifiquei que o Secure Boot está desativado na BIOS, mas a interface continua sem subir.

Getting Thunderbird to use my existing profile, after copying my home directory to a fresh install of Kubuntu 26.04 https://askubuntu.com/questions/1568711/getting-thunderbird-to-use-my-existing-profile-after-copying-my-home-directory

So, I was previously on Ubuntu 20.04.6 LTS, running Thunderbird 115.18.0 "Supernova".

My ~/.thunderbird directory looked like this:

drwx------  5 username groupnam 4.0K Jan 12  2025 'Crash Reports'
drwx------  2 username groupnam 4.0K Nov  4  2021 'Pending Pings'
-rw-rw-r--  1 username groupnam   62 Nov  4  2021  installs.ini
drwx------ 13 username groupnam 4.0K Jul 29 14:41  l2035iac.default-release
-rw-rw-r--  1 username groupnam  259 Nov  4  2021  profiles.ini
drwx------  2 username groupnam 4.0K Nov  4  2021  vpjhzimu.default

So, clearly l2035iac.default-release is the profile that it's been using, and vpjhzimu.default was created when I originally installed Ubunut 20.04, but hasn't been used since. (I don't know why.)

I got a new laptop and did a fresh install of Kubuntu 26.04. It has Thunderbird 153.0 "Meadow".

I copied my old home directory from the old computer to the new computer. I was expecting it to pick up all my old Thunderbird settings, because the ~/.thunderbird is there, but it acts like it's starting from scratch, and doesn't know anything about my existing accounts.

Based on the modification timestamps after running Thunderbird on the new computer, it looks like it was using the vpjhzimu.default profile (which hadn't been used in 5 years) rather than the l2035iac.default-release profile (which seems to be what I've been using for the past five years).

How can I get it to use the l2035iac.default-release profile on the new computer? I don't really know anything about Thunderbird profiles; it's not a feature that I use. (So I don't know why there's more than one profile in the first place.)

The contents of the profiles.ini file is:

[Profile1]
Name=default
IsRelative=1
Path=vpjhzimu.default
Default=1

[InstallFDC34C9F024745EB]
Default=l2035iac.default-release
Locked=1

[Profile0]
Name=default-release
IsRelative=1
Path=l2035iac.default-release

[General]
StartWithLastProfile=1
Version=2

Should I just move the Default=1 line from [Profile1] to [Profile0]?

sed returns partial results https://askubuntu.com/questions/1568710/sed-returns-partial-results

Using this bash script:

#! /usr/bin/bash 
sed -rn "s/.*?src="\""(.*?)"\""\s.*?/\n==>\\1 /gIp" <Desktop/index.html

and this index.html

<html>
<table>
<td bgcolor="#009C9C" colspan="2"><img src="./Home Page_files/spacer.gif" width="150" height="40"></td>
<td class="corners" bgcolor="#EDEEE0" valign="top"><img src="./Home Page_files/endcurve.gif"></td>
<td class="corners" bgcolor="#EDEEE0" valign="top"><img src="./Home Page_files/midcurve.gif"></td>
<td bgcolor="#009C9C" colspan="2" align="center" valign="top"><script src="./Home Page_files/MenuSystem.js.download"></script><div class="menulinks"><b>
 <script src="./Home Page_files/PictureShow.js.download"></script>
<img id="MyShow" src="./Home Page_files/Nicole.jpg" height="125" width="180">
<img src="./Home Page_files/t.gif" hspace="0" vspace="0" border="0" width="12" height="120" align="left">
<img src="./Home Page_files/kitchen_window_and_plant.jpg" border="0" width="320" height="240"></td>
<td bgcolor="#009C9C"><img src="./Home Page_files/spacer.gif" width="116" height="1"></td>
<td class="corners"><img src="./Home Page_files/bottomcurve.gif"></td>
</table>
<img src="./Home Page_files/4.gif" style="border:0px" alt="4"><img src="./Home Page_files/0.gif" style="border:0px" alt="0"><img src="./Home Page_files/3.gif" style="border:0px" alt="3"><img src="./Home Page_files/1.gif" style="border:0px" alt="1">
<noscript><img src="http://x.jufreeservers.com/cgi-bin/sitestats.gif?p=http%3A%2F%2Fx.jufreeservers.com%2Findex.html;r=-;t=2739;" width=1 height=1 alt="sitestats"></noscript>
</html>

the result is partially correct. Some correct answers are missing.

Thanks in advance for any insight you can provide.

BTW, the lazy-match capture group returns too much in several circumstances. GNU sed 4.9.

Fix GUI | Ubuntu 24.04.4 https://askubuntu.com/questions/1568705/fix-gui-ubuntu-24-04-4

I've been running a stable system for long time, yet due to a recent power cut, after entering the login password, I have a blank black screen (It runs fine only if I switched to LXDE which isn't my preferred UI).

How to restore my GUI to its original status?

Cockpit don't work Username or Password wrong https://askubuntu.com/questions/1568703/cockpit-dont-work-username-or-password-wrong

I'm using Ubuntu 24.04 LTS:
Cockpit Version:

dpkg -l | grep cockpit

ii  cockpit                314-1 all   Web Console for Linux servers
ii  cockpit-bridge         314-1 amd64 Cockpit bridge server-side component
ii  cockpit-networkmanager 314-1 all   Cockpit user interface for networking
ii  cockpit-packagekit     314-1 all   Cockpit user interface for apps and package updates
ii  cockpit-storaged       314-1 all   Cockpit user interface for storage 
ii  cockpit-system         314-1 all   Cockpit admin interface for a system                              
ii  cockpit-ws             314-1 amd64 Cockpit Web Service                                  

The Cockpit application has stopped working over the past few days. I keep getting an error message stating that the username or password is incorrect.

I can rule out the possibility that either is incorrect, as I am currently logged in with that user. Other admin users are unable to log in as well.

The error occurs in Chrome, Edge and Mozilla.

I have already uninstalled Cockpit and deleted all associated directories, yet the error persists even after a reinstallation.

The cockpit, cockpit.socket, and cockpit.service processes are running without error messages.

An error message is generated during a login attempt:

systemctl status cockpit
cockpit-tls: gnutls_handshake failed: A TLS fatal alert has been received

Command:

journalctl -t cockpit-ws -t cockpit-session -f

cockpit-ws[91033]:   File "/usr/lib/python3.12/pathlib.py", line 842, in stat
cockpit-ws[91033]:     return os.stat(self, follow_symlinks=follow_symlinks)                                                                               
cockpit-ws[91033]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                              
cockpit-ws[91033]: PermissionError: [Errno 13] Permission denied: '/usr/local/share' 
cockpit-session[91024]: pam_unix(cockpit:session): session closed for user admin2
cockpit-ws[91010]: cockpit-session: didn't receive expected "authorize" message

No proxy is being used.

Does anyone have any ideas? This issue has been dogging me all week.

ls -la /usr/local/share/
insgesamt 32
drwxr-xr-x  8 root root  4096 Jul 29 09:18 .                                                             
drwxr-x--- 10 root root  4096 Feb 15  2025 ..                                                              
drwxr-xr-x  2 root root  4096 Feb 15  2025 ca-certificates                                                 
drwxr-xr-x  3 root root  4096 Jul 29 09:18 dconf                                                           
drwxr-sr-x  2 root staff 4096 Feb 15  2025 fonts                                                           
drwxr-xr-x  2 root root  4096 Feb 15  2025 man                                                             
drwxr-xr-x  7 root root  4096 Feb 15  2025 sgml                                                            
drwxr-xr-x  6 root root  4096 Feb 15  2025 xml 

Update:

ls -la /usr/
insgesamt 148
drwxr-xr-x  12 root root  4096 Feb 15  2025 .
drwxr-xr-x  23 root root  4096 Jul 29 15:04 ..
drwxr-xr-x   2 root root 53248 Jul 29 16:48 bin
drwxr-xr-x   2 root root  4096 Feb 15  2025 games
drwxr-xr-x  37 root root 16384 Jul 29 16:30 include
drwxr-xr-x 100 root root  4096 Jul 29 16:48 lib
drwxr-xr-x   3 root root  4096 Jul 28 11:23 lib64
drwxr-xr-x  27 root root 12288 Jul 29 16:30 libexec
drwxr-x---  10 root root  4096 Feb 15  2025 local
drwxr-xr-x   2 root root 24576 Jul 29 16:30 sbin
drwxr-xr-x 259 root root 12288 Jul 29 16:48 share
drwxr-xr-x   6 root root  4096 Jul 17 14:36 src

/usr/local/
insgesamt 40
drwxr-x--- 10 root root 4096 Feb 15  2025 .
drwxr-xr-x 12 root root 4096 Feb 15  2025 ..
drwxr-x---  2 root root 4096 Feb 15  2025 bin
drwxr-x---  2 root root 4096 Feb 15  2025 etc
drwxr-x---  2 root root 4096 Feb 15  2025 games
drwxr-x---  2 root root 4096 Feb 15  2025 include
drwxr-x---  3 root root 4096 Feb 15  2025 lib
lrwxrwxrwx  1 root root    9 Feb 15  2025 man -> share/man
drwxr-x---  2 root root 4096 Feb 15  2025 sbin
drwxr-xr-x  8 root root 4096 Jul 29 09:18 share
drwxr-x---  2 root root 4096 Feb 15  2025 src

With another browser, K-Meleon, the certificate (self-signed) triggers a warning. I don't know if that's really important.

Secure Connection Failed

192.168.10.100:9090 uses an invalid security certificate. The certificate is not trusted because it is self-signed. The certificate is only valid for the following names: 127.0.0.1, localhost (Error code: sec_error_unknown_issuer)

But I get also a warning, when using 127.0.0.1:9090 oder localhost:9090

If I change in the Login Mask the settings and using my IP Adress

connect to:

I get the error "Authentication failed: no-cockpit"

Authentication failed

Why can't I adjust brightness https://askubuntu.com/questions/1568686/why-cant-i-adjust-brightness

Iam new to linux Ubuntu and it is my first day , iam not able to adjust brightness at all .. Please anyone help me out . I have acer aspire 7 laptop and the version is ubuntu 26.04. When use fn key to increase or decrease brightness then that animation thing happens but brightness doesn't increase or decrease.

Cannot see the current app in the Alt+Tab switcher https://askubuntu.com/questions/1568584/cannot-see-the-current-app-in-the-alttab-switcher

The only difference between current/selected/highlighted icons in the Alt+Tab switcher is only few percent of gray intensity for background color, which is only visible under ideal lighting condition. If I use any of my 2 laptops in a bright environment with a screen positioned at a slight angle (to reduce glare) then there is no way to see which application is selected/highlighted in the Alt+Tab switcher window. This looks the same on Ubuntu 24 and 26, with Light or Dark theme selected, with high contrast accessibility setting enabled or disabled. enter image description here

In a screenshot, I see that switcher background color is 34,34,34, while selected background is 74,74,74: (74-34)/255 = 15% If I enable high contrast accessibility setting, then selected background is 94,94,94: (94-34)/255 == 24% So, the difference between high contrast a low contrast is only 9% and it is in the dark part of the spectrum, which only owls can see well, not humans.

My problem is not just with yaru, which unfortunaterly uses close to 50 shades of gray to represent states of objects and it is impossible for human eye to see so many shades, but with gnome/ubuntu, which makes it super hard to modify that setting. I wasted days begging ChatGpt and Claude to give me instructions on how to change that and all I got was one hallucination after another, some of them prevented system from loading and requiring reinstall.

Finally, with help from Claude, I came up with the following procedure, which works:

# On the first run make backup of the original resource
RESOURCE=/usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource
RESOURCE_ORIG=${RESOURCE}.bak # Original
if [ ! -e ${RESOURCE_ORIG} ]; then
  echo "sudo cp ${RESOURCE} ${RESOURCE_ORIG}"
  sudo cp ${RESOURCE} ${RESOURCE_ORIG}
fi

WORK_DIR=~/temp
mkdir -p ${WORK_DIR}
rm -rf ${WORK_DIR}/*
cd ${WORK_DIR}

# Extract original resource to ~/temp directory
while IFS= read -r gpath; do
    local_rel="${gpath#/org/gnome/shell/theme/}"   # strip prefix
    mkdir -p "${WORK_DIR}/$(dirname "$local_rel")"
    gresource extract "${RESOURCE_ORIG}" "$gpath" > "${WORK_DIR}/$local_rel"
done < <(gresource list "${RESOURCE_ORIG}")

# Patch several "background-color" items under various "switcher-list" elemwnts, not clear which of them are really used
BACKGROUND="rgba(255, 255, 255, 1.0)"
PATCH_CSS=("gnome-shell-dark.css" "gnome-shell.css")
for css in "${PATCH_CSS[@]}"; do
    f="${WORK_DIR}/Yaru/$css"
    sed -i '/\.switcher-list \.item-box:selected {/{n;s/background-color: [^;]*;/background-color: '"$BACKGROUND"';/}' "${f}"
    sed -i '/\.switcher-list \.item-box:highlighted/{n;n;s/background-color: [^;]*;/background-color: '"$BACKGROUND"';/}' "${f}"
    sed -i '/\.switcher-list \.item-box:highlighted/{n;s/background-color: [^;]*;/background-color: '"$BACKGROUND"';/}' "${f}"
done

{
    echo '<?xml version="1.0" encoding="UTF-8"?>'
    echo '<gresources><gresource prefix="/org/gnome/shell/theme">'
    find "${WORK_DIR}" -type f | sort | while read -r f; do
        echo "  <file>${f#${WORK_DIR}/}</file>"
    done
    echo '</gresource></gresources>'
} > "${WORK_DIR}/theme.gresource.xml"

# Compile
(cd "${WORK_DIR}" && glib-compile-resources theme.gresource.xml)

# Deploy
sudo cp "${WORK_DIR}/theme.gresource" "${RESOURCE}"

# Reboot (or re-login)
sudo reboot

This works: enter image description here

But it cannot be so complex!

Also, Claude suggested that there should be a way to modify the Yary theme locally instead of system level, but so far I did not get working instructions.

Is there a better way? Any suggestions?

(By the way, Windows simply paints a thin white rectangle around the selected icon, which is always perfectly visible).

Thank you

I also posted this question at https://github.com/ubuntu/yaru/issues/4477

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

<#EDIT# another terminal session appended 2026-07-30 /> 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.

FYI I checked one of the 'missing' files; it was created on 10 Jan 2026 and last accessed on 15 Jun 2026 - over a month ago.

To re-iterate, as some commenters are confusing 'never-indexed' with 'indexed-and-then-home-directory-forgotten-a-day-later'.

I am the sole user of this laptop.

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$

<ADDED 30Jul/> single terminal session from 29JUl to 30Jul (home files 'lost' ofter suspending overnight, but not 'lost' suspending for a minute) ...

xxxx@HPVic15:~$ locate -0 morse | xargs -0 ls -al

-rw-r--r-- 1 root root   3208 Jun  8 13:59 /boot/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root root 264848 Mar 20 23:33 /usr/bin/brltty-morse
-rw-r--r-- 1 root root   3208 Aug 13  2025 /usr/lib/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root root   1882 Feb 14 19:49 /var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@HPVic15:~$ sudo updatedb

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

xxxx@HPVic15:~$ locate -0 morse | xargs -0 ls -al

-rw-r--r-- 1 root  root    3208 Jun  8 13:59 /boot/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 xxxx xxxx   2495 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/__pycache__/plot_morse_trie.cpython-38.pyc
-rwxr-xr-x 1 xxxx xxxx   2966 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/plot_morse_trie.py
-rwxr-xr-x 1 root  root  264848 Mar 20 23:33 /usr/bin/brltty-morse
-rw-r--r-- 1 root  root    3208 Aug 13  2025 /usr/lib/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root  root    1882 Feb 14 19:49 /var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@HPVic15:~$ date
Wed 29 Jul 09:05:53 NZST 2026
....
xxxx@HPVic15:~$ date
Wed 29 Jul 21:38:05 NZST 2026

xxxx@HPVic15:~$ locate -0 morse | xargs -0 ls -al
-rw-r--r-- 1 root  root    3208 Jun  8 13:59 /boot/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 xxxx xxxx   2495 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/__pycache__/plot_morse_trie.cpython-38.pyc
-rwxr-xr-x 1 xxxx xxxx   2966 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/plot_morse_trie.py
-rwxr-xr-x 1 root  root  264848 Mar 20 23:33 /usr/bin/brltty-morse
-rw-r--r-- 1 root  root    3208 Aug 13  2025 /usr/lib/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root  root    1882 Feb 14 19:49 /var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

< computer suspended overnight via closing lid >

xxxx@HPVic15:~$ date
Thu 30 Jul 07:55:24 NZST 2026

xxxx@HPVic15:~$ locate -0 morse | xargs -0 ls -al

-rw-r--r-- 1 root root   3208 Jun  8 13:59 /boot/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root root 264848 Mar 20 23:33 /usr/bin/brltty-morse
-rw-r--r-- 1 root root   3208 Aug 13  2025 /usr/lib/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root root   1882 Feb 14 19:49 /var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@HPVic15:~$ sudo updatedb
[sudo: authenticate] Password:         
/usr/bin/find: '/run/user/1000/gvfs': Permission denied
/usr/bin/find: '/run/user/1000/doc': Permission denied

xxxx@HPVic15:~$ locate -0 morse | xargs -0 ls -al

-rw-r--r-- 1 root  root    3208 Jun  8 13:59 /boot/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 xxxx xxxx   2495 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/__pycache__/plot_morse_trie.cpython-38.pyc
-rwxr-xr-x 1 xxxx xxxx   2966 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/plot_morse_trie.py
-rwxr-xr-x 1 root  root  264848 Mar 20 23:33 /usr/bin/brltty-morse
-rw-r--r-- 1 root  root    3208 Aug 13  2025 /usr/lib/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root  root    1882 Feb 14 19:49 /var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@HPVic15:~$ date
Thu 30 Jul 07:58:49 NZST 2026

xxxx@HPVic15:~$ echo suspend
suspend
xxxx@HPVic15:~$ echo unsuspend
unsuspend

xxxx@HPVic15:~$ date
Thu 30 Jul 07:59:47 NZST 2026

xxxx@HPVic15:~$ locate -0 morse | xargs -0 ls -al

-rw-r--r-- 1 root  root    3208 Jun  8 13:59 /boot/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 xxxx xxxx   2495 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/__pycache__/plot_morse_trie.cpython-38.pyc
-rwxr-xr-x 1 xxxx xxxx   2966 Sep 18  2023 /home/xxxx/1_home_z15/.local/share/doc/networkx-3.1/examples/graph/plot_morse_trie.py
-rwxr-xr-x 1 root  root  264848 Mar 20 23:33 /usr/bin/brltty-morse
-rw-r--r-- 1 root  root    3208 Aug 13  2025 /usr/lib/grub/x86_64-efi/morse.mod
-rwxr-xr-x 1 root  root    1882 Feb 14 19:49 /var/lib/swcatalog/icons/ubuntu-resolute-universe/64x64/xdemorse_xdemorse.png

xxxx@HPVic15:~$ 
I need help with support for TP-Link UB600 Bluetooth Dongle on Kubuntu 26.04 please https://askubuntu.com/questions/1568248/i-need-help-with-support-for-tp-link-ub600-bluetooth-dongle-on-kubuntu-26-04-ple

I've been trying to get my UB600 Bluetooth dongle to work, however it seems that it's not compatible out of the box. In fact, there's only 1 place with a solution how to get it to work however it seems the explanation on how to do it goes over my head. I've tried using what they gave me in konsole but some things just error and I can't seem to get around that. The fix I've been attempting is this. The issue I'm having is, it detects the Bluetooth dongle, but the computer is then unable to detect any Bluetooth devices at all. The lsusb is exactly as shown on that link as is the journalctl.

Results of lsusb | grep -i 'tp-link':

Bus 001 Device 012: ID 37ad:0600  TP-Link Bluetooth USB Adapter

Results of journalctl:

usb 1-1: new full-speed USB device number 12 using xhci_hcd
usb 1-1: New USB device found, idVendor=37ad, idProduct=0600, bcdDevice= 2.00
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: TP-Link Bluetooth USB Adapter
usb 1-1: Manufacturer:
usb 1-1: SerialNumber: 18694530DB8B
Bluetooth: MGMT ver 1.23

I ran sudo dmesg | grep -i bluetooth and got this:

server@server-z87hd3:~$ sudo dmesg | grep -i bluetooth
[sudo] password for server: 
[647887.635955] usb 1-1: Product: TP-Link Bluetooth USB Adapter
[647887.709668] Bluetooth: MGMT ver 1.23
[648046.220743] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[648046.221733] Bluetooth: hci0: RTL: rom_version status=0 version=1
[648046.222744] Bluetooth: hci0: RTL: btrtl_initialize: key id 0
[648046.222748] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[648046.224331] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[648046.224378] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[648046.376751] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[648046.443866] Bluetooth: MGMT ver 1.23
[648062.029928] usb 1-1: Product: TP-Link Bluetooth USB Adapter
[648062.105001] Bluetooth: MGMT ver 1.23
[648220.950989] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[648220.951983] Bluetooth: hci0: RTL: rom_version status=0 version=1
[648220.952966] Bluetooth: hci0: RTL: btrtl_initialize: key id 0
[648220.952969] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[648220.953197] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[648220.953223] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[648221.105982] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[648221.173128] Bluetooth: MGMT ver 1.23
[648256.225222] usb 1-1: Product: TP-Link Bluetooth USB Adapter
[648256.298247] Bluetooth: MGMT ver 1.23
[649742.374342] Bluetooth: MGMT ver 1.23
[682771.713073] usb 1-1: Product: TP-Link Bluetooth USB Adapter
[682771.785356] Bluetooth: MGMT ver 1.23

Is there any chance somebody could explain to me like I'm a 5 year old how to apply that patch, or better yet, create a solution for me? I am running Kubuntu 26.04 on kernel 7.0.0-27-27.

Edit: Following "david" in the comments advice results.

server@server-z87hd3:~$ sudo apt install bluetooth bluez -y
[sudo: authenticate] Password:       
bluez is already the newest version (5.85-4ubuntu0.1).
bluez set to manually installed.
Installing:                 
  bluetooth

Suggested packages:
  bluez-meshd

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 3
  Download size: 6,600 B
  Space needed: 36.9 kB / 180 GB available

Get:1 http://archive.ubuntu.com/ubuntu resolute-updates/universe amd64 bluetooth all 5.85-4ubuntu0.1 [6,600 B]
Fetched 6,600 B in 0s (121 kB/s)      
Selecting previously unselected package bluetooth.
(Reading database… 268329 files and directories currently installed.)
Preparing to unpack …/bluetooth_5.85-4ubuntu0.1_all.deb…
Unpacking bluetooth (5.85-4ubuntu0.1)…
Setting up bluetooth (5.85-4ubuntu0.1)…
server@server-z87hd3:~$ sudo systemctl start bluetooth
server@server-z87hd3:~$ sudo systemctl enable bluetooth
Synchronizing state of bluetooth.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable bluetooth
server@server-z87hd3:~$ bluetoothctl show | grep "Powered"
        Powered: yes
server@server-z87hd3:~$ bluetoothctl
[NEW] Media /org/bluez/hci1 
        SupportedUUIDs: 0000110a-0000-1000-8000-00805f9b34fb
        SupportedUUIDs: 0000110b-0000-1000-8000-00805f9b34fb
Agent registered
[CHG] Controller 18:69:45:30:DB:8B Discovering: yes
[bluetoothctl]> power on#
Invalid argument on#
[bluetoothctl]> power on
Changing power on succeeded
[bluetoothctl]> agent on
Agent is already registered
[bluetoothctl]> default-agent
Default agent request successful
[bluetoothctl]> discoverable on
hci1 new_settings: powered connectable bondable ssp br/edr le secure-conn ll-privacy 
[CHG] Controller 18:69:45:30:DB:8B Connectable: yes
hci1 new_settings: powered connectable discoverable bondable ssp br/edr le secure-conn ll-privacy 
Changing discoverable on succeeded
[CHG] Controller 18:69:45:30:DB:8B Discoverable: yes
[bluetoothctl]> pairable on
Changing pairable on succeeded
[bluetoothctl]> scan on
SetDiscoveryFilter success
Discovery started
[bluetoothctl]> 

I have disabled Secure Boot and run Bluetoothctl show:

server@server-z87hd3:~$ bluetoothctl show
Controller 18:69:45:30:DB:8B (public)
        Manufacturer: 0x005d (93)
        Version: 0x0a (10)
        Name: server-z87hd3 #2
        Alias: server-z87hd3 #2
        Class: 0x006c0104 (7078148)
        Powered: yes
        PowerState: on
        Discoverable: yes
        DiscoverableTimeout: 0x000000b4 (180)
        Pairable: yes
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: Phonebook Access Client   (0000112e-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (185f3df4-3268-4e3f-9fca-d4d5059915bd)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (03b80e5a-ede8-4b33-a751-6ce34ec4c700)
        UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d0555
        Discovering: yes
        Roles: central
        Roles: peripheral
Advertising Features:
        ActiveInstances: 0x00 (0)
        SupportedInstances: 0x04 (4)
        SupportedIncludes: tx-power
        SupportedIncludes: appearance
        SupportedIncludes: local-name
        SupportedSecondaryChannels: 1M
        SupportedSecondaryChannels: 2M
        SupportedSecondaryChannels: Coded
        SupportedCapabilities.MinTxPower: 0xffffffa6 (-90)
        SupportedCapabilities.MaxTxPower: 0x0000 (0)
        SupportedCapabilities.MaxAdvLen: 0xfb (251)
        SupportedCapabilities.MaxScnRspLen: 0xfb (251)
        SupportedFeatures: CanSetTxPower
        SupportedFeatures: HardwareOffload
server@server-z87hd3:~$ 

This is what my results are like with my 5.0 dongle for comparison:

server@server-z87hd3:~$ bluetoothctl show
Controller 04:42:1A:54:A8:55 (public)
        Manufacturer: 0x005d (93)
        Version: 0x0a (10)
        Name: server-z87hd3 #2
        Alias: Asus 5.0
        Class: 0x006c0104 (7078148)
        Powered: yes
        PowerState: on
        Discoverable: no
        DiscoverableTimeout: 0x000000b4 (180)
        Pairable: yes
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (185f3df4-3268-4e3f-9fca-d4d5059915bd)
        UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: Phonebook Access Client   (0000112e-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (03b80e5a-ede8-4b33-a751-6ce34ec4c700)
        UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d0555
        Discovering: no
        Roles: central
        Roles: peripheral
Advertising Features:
        ActiveInstances: 0x00 (0)
        SupportedInstances: 0x04 (4)
        SupportedIncludes: tx-power
        SupportedIncludes: appearance
        SupportedIncludes: local-name
        SupportedSecondaryChannels: 1M
        SupportedSecondaryChannels: 2M
        SupportedSecondaryChannels: Coded
        SupportedCapabilities.MinTxPower: 0xffffffed (-19)
        SupportedCapabilities.MaxTxPower: 0x0017 (23)
        SupportedCapabilities.MaxAdvLen: 0xfb (251)
        SupportedCapabilities.MaxScnRspLen: 0xfb (251)
        SupportedFeatures: CanSetTxPower
        SupportedFeatures: HardwareOffload
server@server-z87hd3:~$ bluetoothctl
[NEW] Media /org/bluez/hci1 
        SupportedUUIDs: 0000110a-0000-1000-8000-00805f9b34fb
        SupportedUUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[NEW] Media /org/bluez/hci0 
        SupportedUUIDs: 0000110a-0000-1000-8000-00805f9b34fb
        SupportedUUIDs: 0000110b-0000-1000-8000-00805f9b34fb
Agent registered
[CHG] Controller 04:42:1A:54:A8:55 Discovering: yes
[G522 Gaming Headset]> scan on
SetDiscoveryFilter success
Discovery started
[NEW] Device DE:B6:45:46:3D:0B Govee_H6076_3D0B
[NEW] Device FF:02:3C:C8:FA:46 BLE MF8470
[CHG] Device 40:58:99:CF:16:D0 RSSI: 0xffffffbd (-67)
[NEW] Device D0:C8:03:C6:6F:76 Govee_H61D5_6F76
[CHG] Device DE:B6:45:46:3D:0B RSSI: 0xffffffaf (-81)
[NEW] Device 33:36:9F:00:1E:8B 33-36-9F-00-1E-8B
[CHG] Device FF:02:3C:C8:FA:46 RSSI: 0xffffffad (-83)
[CHG] Device FF:02:3C:C8:FA:46 UUIDs: 19fe1b3d-4c5b-36b8-4043-c09ddc76099e
[NEW] Device DE:CD:2F:A8:FA:1A ET-2850 Series
[NEW] Device DC:6E:02:C6:22:87 Govee_H7078_2287
[NEW] Device DE:B6:41:06:19:77 Govee_H6022_1977
[NEW] Device C8:FF:77:CB:9B:32 VW1-UK-MAA1830A
[NEW] Device 13:12:70:E3:1C:0B 13-12-70-E3-1C-0B
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffab (-85)
[NEW] Device DC:B4:D9:F4:2A:42 DC-B4-D9-F4-2A-42
[NEW] Device D6:50:84:C6:55:17 Govee_H6099_5517
[NEW] Device 00:00:00:00:00:00 00-00-00-00-00-00
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffad (-83)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffff9f (-97)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffb9 (-71)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffff9f (-97)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffbb (-69)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffb3 (-77)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffb1 (-79)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffff9f (-97)
[CHG] Device 40:58:99:CF:16:D0 RSSI: 0xffffffbf (-65)
[CHG] Device 13:12:70:E3:1C:0B RSSI: 0xffffffbd (-67)
[CHG] Device D0:C8:03:C6:6F:76 RSSI: 0xffffffc9 (-55)
[CHG] Device C8:FF:77:CB:9B:32 RSSI: 0xffffffbf (-65)
[CHG] Device DC:B4:D9:F4:2A:42 RSSI: 0xffffffad (-83)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa5 (-91)
[CHG] Device DE:B6:45:46:3D:0B RSSI: 0xffffffaf (-81)
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffb9 (-71)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffff9f (-97)
[CHG] Device 33:36:9F:00:1E:8B RSSI: 0xffffffb9 (-71)
[CHG] Device D0:C8:03:C6:6F:76 RSSI: 0xffffffc9 (-55)
[CHG] Device FF:02:3C:C8:FA:46 RSSI: 0xffffffad (-83)
[CHG] Device DE:B6:45:46:3D:0B RSSI: 0xffffffaf (-81)
[CHG] Device DC:6E:02:C6:22:87 RSSI: 0xffffffb5 (-75)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffbf (-65)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffffa1 (-95)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffb9 (-71)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffb9 (-71)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffffa1 (-95)
[CHG] Device D6:50:84:C6:55:17 AdvertisingFlags:
  00                                               .               
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffad (-83)
[CHG] Device DE:B6:45:46:3D:0B RSSI: 0xffffffaf (-81)
[CHG] Device C8:FF:77:CB:9B:32 RSSI: 0xffffffb9 (-71)
[CHG] Device 13:12:70:E3:1C:0B RSSI: 0xffffffbd (-67)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffff9f (-97)
[CHG] Device D6:50:84:C6:55:17 AdvertisingFlags:
  06                                               .               
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffb9 (-71)
[CHG] Device DC:6E:02:C6:22:87 RSSI: 0xffffffaf (-81)
[CHG] Device 40:58:99:CF:16:D0 RSSI: 0xffffffbf (-65)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa7 (-89)
[CHG] Device DC:6E:02:C6:22:87 RSSI: 0xffffffaf (-81)
[CHG] Device FF:02:3C:C8:FA:46 RSSI: 0xffffffad (-83)
[CHG] Device D0:C8:03:C6:6F:76 RSSI: 0xffffffc9 (-55)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa9 (-87)
[CHG] Device DC:B4:D9:F4:2A:42 RSSI: 0xffffffad (-83)
[CHG] Device 33:36:9F:00:1E:8B RSSI: 0xffffffb9 (-71)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa9 (-87)
[CHG] Device D0:C8:03:C6:6F:76 RSSI: 0xffffffc9 (-55)
[CHG] Device DC:B4:D9:F4:2A:42 RSSI: 0xffffffad (-83)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa9 (-87)
[CHG] Device D0:C8:03:C6:6F:76 RSSI: 0xffffffc9 (-55)
[CHG] Device DC:B4:D9:F4:2A:42 RSSI: 0xffffffad (-83)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffbb (-69)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffffa1 (-95)
[CHG] Device DC:B4:D9:F4:2A:42 RSSI: 0xffffffad (-83)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffbd (-67)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffbf (-65)
[CHG] Device DC:6E:02:C6:22:87 RSSI: 0xffffffb5 (-75)
[CHG] Device D0:C8:03:C6:6F:76 RSSI: 0xffffffcd (-51)
[CHG] Device 40:58:99:CF:16:D0 RSSI: 0xffffffbd (-67)
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffab (-85)
[CHG] Device 33:36:9F:00:1E:8B RSSI: 0xffffffb9 (-71)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa5 (-91)
[CHG] Device DE:B6:45:46:3D:0B RSSI: 0xffffffaf (-81)
[CHG] Device C8:FF:77:CB:9B:32 RSSI: 0xffffffbf (-65)
[CHG] Device DC:6E:02:C6:22:87 RSSI: 0xffffffb5 (-75)
[CHG] Device FF:02:3C:C8:FA:46 RSSI: 0xffffffb1 (-79)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffff9f (-97)
[CHG] Device 13:12:70:E3:1C:0B RSSI: 0xffffffbd (-67)
[CHG] Device DC:B4:D9:F4:2A:42 RSSI: 0xffffffb1 (-79)
[CHG] Device D6:50:84:C6:55:17 RSSI: 0xffffffa1 (-95)
[CHG] Device FF:02:3C:C8:FA:46 RSSI: 0xffffffb1 (-79)
[CHG] Device 00:00:00:00:00:00 RSSI: 0xffffffbb (-69)
[CHG] Device DE:CD:2F:A8:FA:1A RSSI: 0xffffffa5 (-91)
[CHG] Device C8:FF:77:CB:9B:32 RSSI: 0xffffffc7 (-57)
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffb9 (-71)
[CHG] Device C8:FF:77:CB:9B:32 RSSI: 0xffffffbf (-65)
[DEL] Device 13:12:70:E3:1C:0B 13-12-70-E3-1C-0B
[CHG] Device DE:B6:41:06:19:77 RSSI: 0xffffffad (-83)
[CHG] Device C8:FF:77:CB:9B:32 RSSI: 0xffffffc7 (-57)

iw reg get with both dongles in:

server@server-z87hd3:~$ iw reg get
global
country 00: DFS-UNSET
        (2402 - 2472 @ 40), (6, 20), (N/A)
        (2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
        (5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
        (5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
        (5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
        (57240 - 63720 @ 2160), (N/A, 0), (N/A)

server@server-z87hd3:~$ 

iw reg get with only 6.0


server@server-z87hd3:~$ iw reg get
global
country 00: DFS-UNSET
        (755 - 928 @ 2), (N/A, 20), (N/A), PASSIVE-SCAN
        (2402 - 2472 @ 40), (N/A, 20), (N/A)
        (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
        (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
        (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
        (57240 - 63720 @ 2160), (N/A, 0), (N/A)

server@server-z87hd3:~$ 

iw reg get with neither:

server@server-z87hd3:~$ iw reg get
global
country 00: DFS-UNSET
        (755 - 928 @ 2), (N/A, 20), (N/A), PASSIVE-SCAN
        (2402 - 2472 @ 40), (N/A, 20), (N/A)
        (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
        (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
        (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
        (57240 - 63720 @ 2160), (N/A, 0), (N/A)

server@server-z87hd3:~$ 

I followed the steps on myshell to create a patch and I get this error, any idea how to rectify this error?

server@server-z87hd3:~/btusb-patched$ make
make -C /lib/modules/7.0.0-28-generic/build M=/home/server/btusb-patched modules
make[1]: Entering directory '/usr/src/linux-headers-7.0.0-28-generic'
make[2]: Entering directory '/home/server/btusb-patched'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
  You are using:           gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
  MODPOST Module.symvers
ERROR: modpost: "btmtk_recv_event" [btusb.ko] undefined!
make[4]: *** [/usr/src/linux-headers-7.0.0-28-generic/scripts/Makefile.modpost:147: Module.symvers] Error 1
make[3]: *** [/usr/src/linux-headers-7.0.0-28-generic/Makefile:2065: modpost] Error 2
make[2]: *** [/usr/src/linux-headers-7.0.0-28-generic/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/home/server/btusb-patched'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-7.0.0-28-generic'
make: *** [Makefile:5: all] Error 2

Edit: I should specify this dongle is a Bluetooth 6.0 dongle.

Kernel panic during Ubuntu 22.04 installation https://askubuntu.com/questions/1565903/kernel-panic-during-ubuntu-22-04-installation

I encountered a kernel panic during Ubuntu 22.04 installation on a ZTE server (Hygon C86 CPU). What could be causing this?

[    2.505887]  ? do_error_trap+0x6f/0xb0
[    2.505887]  ? rdt_get_mon_l3_config+0x5b/0x120
[    2.505887]  ? exc_divide_error+0x3b/0x60
[    2.505887]  ? rdt_get_mon_l3_config+0x5b/0x120
[    2.505887]  ? asm_exc_divide_error+0x1b/0x20
[    2.505887]  ? rdt_get_mon_l3_config+0x5b/0x120
[    2.505887]  ? check_quirks+0x103/0x103
[    2.505887]  resctrl_late_init+0x118/0x2aa
[    2.505887]  ? check_quirks+0x103/0x103
[    2.505887]  do_one_initcall+0x49/0x1e0
[    2.505887]  do_initcalls+0x12f/0x159
[    2.505887]  kernel_init_freeable+0x162/0x1b5
[    2.505887]  ? rest_init+0x100/0x100
[    2.505887]  kernel_init+0x1b/0x150
[    2.505887]  ? rest_init+0x100/0x100
[    2.505887]  ret_from_fork+0x22/0x30
[    2.505887]  </TASK>
[    2.505887] Modules linked in:
[    2.615329] ---[ end trace b09aeda73b7491db ]---
[    2.618876] RIP: 0010:rdt_get_mon_l3_config+0x5b/0x120
[    2.622442] Code: c7 83 a4 00 00 00 18 00 00 00 8d 7e 01 89 7b 08 83 fa 25 77 2f 83 c0 18 89 83 a4 00 00 00 44 89 e0 31 d2 c1
e0 0a f7 f7 31 d2 <f7> f7 31 d2 85 18 03 e8 78 f6 ff ff 85 c0 74 13 5b 41 5c 5d e9
[    2.629880] RSP: 0018:ffffb4cac006bda8 EFLAGS: 00010246
[    2.633555] RAX: 0000000000080000 RBX: ffffffffbce52300 RCX: 0000000000000000
[    2.637199] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
[    2.640724] RBP: ffffb4cac006bdb8 R08: ffffb4cac006bd60 R09: ffffb4cac006bd64
[    2.644215] R10: 0000000000000000 R11: ffff8cc627003200 R12: 0000000000000200
[    2.647691] R13: 0000000000000182 R14: ffff8cc602209b80 R15: 0000000000000008
[    2.651158] FS:  0000000000000000(0000) GS:ffff8cd52df00000(0000) knlGS:0000000000000000
[    2.654665] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.658146] CR2: 0000000000000000 CR3: 00000004bc210000 CR4: 0000000000350ee0
[    2.661750] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.661754] clocksource: Switched to clocksource tsc
[    2.665194] Kernel Offset: 0x3a000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    2.665194] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---
How prevent my Lubuntu laptop from automatically connecting to a Wi-Fi network https://askubuntu.com/questions/1565850/how-prevent-my-lubuntu-laptop-from-automatically-connecting-to-a-wi-fi-network

I connect to the internet at public sites, usually my local library, which involves a network login page.

My problem is that before that can happen, the network xfinity often hijacks the login process by connecting itself to my laptop.

How can I permanently ban xfinity network from connecting to me. I use Network Manager on Lubuntu 24.04

How to install Libby in Ubuntu? https://askubuntu.com/questions/1555829/how-to-install-libby-in-ubuntu

Libby is an app to borrow ebooks and audiobooks from libraries. It is available for Android, iOS and Amazon appstore.

I installed Ubuntu in a convertible touchscreen laptop, and want to use it to read books from my library.

How to install Libby in Ubuntu?

Explaining apt list "installed" meaning https://askubuntu.com/questions/1553063/explaining-apt-list-installed-meaning

Whats the difference between packages listed in the output from sudo apt list and sudo apt list --installed? Obviously getting many more packages without the --installed flag. What does it mean for a package to be on a system (found without --installed) but not installed (not found in output with --installed)? Are these 'not installed' packages needed for the system or any dependencies?

Anbox installation woes https://askubuntu.com/questions/1537561/anbox-installation-woes

I am trying to install Anbox. I am not proficient with Linux and am like an end user who is half decent with Google search when it comes to the Linux platform.

Following the instructions here I have tried instructions from multiple sites and get the same results.

I get to the step sudo add-apt-repository ppa:morphis/anbox-support and get the error ERROR: ppa 'morphis/anbox-support' not found (use --login if private)

I have tried finding the solution on my own but failed. From everything I have read so far, I should be able to install Anbox.

snap 2.66.1+24.04
snapd 2.66.1+24.04
series 16
ubuntu 24.04
kernel 6.8.0-51-generic
uname -m output = x86_64

I tried sudo apt update && sudo apt install android-sdk thinking it would add whatever I was missing. I have also successfully run sudo apt update and sudo apt upgrade

Activate/recognize Thunderbolt devices on Ubuntu 22.04 https://askubuntu.com/questions/1405208/activate-recognize-thunderbolt-devices-on-ubuntu-22-04

I am having issues with Ubuntu 22.04 recognizing the thunderbolt devices I plug on the computer, which is on an MSI Z590 motherboard. The boltctl list command comes out as empty, no output. The lspci -v command hangs forever, not completing at all.

EDIT:

We've plugged Akitio Duo eGPU encasings with 2x4GB Nvidia GPUs into it. These are fine with other similar computers with Ubuntu 21.04, but it's the first time we try on this MSI Z590 with Ubuntu 22.04.

Any ideas?

How to completely remove snap and replace with flatpak? https://askubuntu.com/questions/1170688/how-to-completely-remove-snap-and-replace-with-flatpak

I want to remove every piece of existing software/package on Ubuntu related to snap and replace with flatpak.

How to completely remove snap in Ubuntu 19.04 and replace with flatpak without crashing or messing my existing system?

How To Connect Galaxy Buds to Ubuntu https://askubuntu.com/questions/1165883/how-to-connect-galaxy-buds-to-ubuntu

I recently purchased the new Galaxy Buds but was quite sad when my buds were not able to connect to my laptop which is running Ubuntu 18.04. However, my other Bluetooth device the JBL Tune 110BT was able to connect previously. I hope one of you would be able to assist me, so I can use my buds on the laptop as well.

How to run Cheese twice, simultaneously https://askubuntu.com/questions/982148/how-to-run-cheese-twice-simultaneously

I need to show video from two webcams side by side, simultaneously. Roughly like below: Webcam view

except I only need two of them. Cheese allows me to choose which webcam I want to display, but when it's running, rerunning Cheese just refocuses the same window, instead of starting a new one. If only I could have two independent windows with Cheese at once, I would pick a different webcam on each and put them side by side.

My question is: can I somehow fool Cheese into thinking it's not already running and starting a new window? Otherwise, can you suggest a similar program which would achieve the same goal?

Installing Pygame in Spyder https://askubuntu.com/questions/891585/installing-pygame-in-spyder

Im trying to install pygame on spyder but i tried everything and nothing works. Anaconda is installed i have tried pip, conda but every time when i import it i get the error no module named pygame. When i try conda install -c https://conda.binstar.org/tlatorre pygame the following error appears:

UnsatisfiableError: The following specifications were found to be in conflict:
  - pygame -> python 2.7* -> openssl 1.0.1*
  - python 3.6**

I have tried other addresses as well but i get the same error. How do i do it? Use conda info <package> to see the dependencies for each package.

So I want this to work specidically in the newest version of spyder(spyder3)(maybe with pythonpathmanager).

target filesystem doesn't have requested /sbin/init. /bin/sh: 0 : Can't open splash - Ubuntu 15.04 https://askubuntu.com/questions/727810/target-filesystem-doesnt-have-requested-sbin-init-bin-sh-0-cant-open-spl

I have an Ubuntu 15.04 machine. I installed docker in this machine. After installation I was trying to run the test image of docker which comes by default. But it did not ran. Then I tried to shutdown the machine.

But the machine was not shutting down. It just hanged in the middle and was consuming all of the cpu resources. I waited for 10-15 mins but state did not change and nothing happened. So I went ahead and shutdown the machine by pressing the power-on button in laptop for a while. This way the machine went off.

After this event, now when I am trying to boot into the machine, it is throwing me following error at the time of boot.

Target filesystem doesn't hvae requested /sbin/init.
/bin/sh: 0: Can't open splash
[4.458446] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[4.458479] CPU: 1 PID: 1 Comm: sh not tainted 3.13.0-46-generic #79-Ubuntu

Machine has three os: Windows, Centos, Ubuntu-15.04.

I have tried the fsck solution on the boot device with network boot. But it does not solve this problem.

Here I don't know if docker package is part of the problem. It could have been any package installation for that matter.

The output of fsck is as follows:

$ fsck /dev/sda5
fsck from util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
/dev/sda5: clean, 885843/1313280 files, 3569836/5242880 blocks.

I have also tried -f option of fsck, output for that is:

 
$ fsck /dev/sda5 -f
fsck /dev/sda5 -f
fsck from util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda5: 885843/1313280 files (0.1% non-contiguous), 3569836/5242880 blocks

Running fdisk -l command prints following message, along with printing device details.

Partition 5 does not start on physical sector boundary.

I mounted the device using mount -o ro /dev/sda5 /media/boot command. And the output of ls -l /media/boot is as follows:

total 116
drwxr-xr-x   2 root root  4096 Jan 26 07:01 bin
drwxr-xr-x   3 root root  4096 Dec 26 07:10 boot
drwxr-xr-x   2 root root  4096 Jan  4  2015 cdrom
drwxr-xr-x   4 root root  4096 Apr 17  2014 dev
drwxr-xr-x 164 root root 12288 Jan 26 07:04 etc
drwxr-xr-x   2 root root  4096 Jan  4  2015 home
lrwxrwxrwx   1 root root    33 Feb 27  2015 initrd.img -> boot/initrd.img-3.13.0-46-generic
lrwxrwxrwx   1 root root    33 Feb  4  2015 initrd.img.old -> boot/initrd.img-3.13.0-45-generic
drwxr-xr-x  25 root root  4096 Jan 26 07:01 lib
drwxr-xr-x   2 root root  4096 Dec 26 06:49 lib32
drwxr-xr-x   2 root root  4096 Dec 26 06:28 lib64
drwx------   2 root root 16384 Jan  4  2015 lost+found
drwxr-xr-x   3 root root  4096 Jan  4  2015 media
drwxr-xr-x   2 root root  4096 Apr 10  2014 mnt
drwxr-xr-x   6 root root  4096 Oct  2 14:15 opt
drwxr-xr-x   2 root root  4096 Apr 10  2014 proc
drwx------  11 root root  4096 Jan 26 10:30 root
drwxr-xr-x  12 root root  4096 Apr 17  2014 run
drwxr-xr-x   2 root root 12288 Jan 26 07:03 sbin
drwxr-xr-x   2 root root  4096 Apr 17  2014 srv
drwxr-xr-x   2 root root  4096 Mar 13  2014 sys
drwxrwxrwt   6 root root  4096 Jan 26 22:01 tmp
drwxr-xr-x  11 root root  4096 Oct  2 14:14 usr
drwxr-xr-x  15 root root  4096 Jan  9 02:05 var
lrwxrwxrwx   1 root root    30 Feb 27  2015 vmlinuz -> boot/vmlinuz-3.13.0-46-generic
lrwxrwxrwx   1 root root    30 Feb  4  2015 vmlinuz.old -> boot/vmlinuz-3.13.0-45-generic

How can I fix it?

Why does my custom launcher open under a separate icon? https://askubuntu.com/questions/648434/why-does-my-custom-launcher-open-under-a-separate-icon

I've created a custom launcher file:

[Desktop Entry]
Type=Application
Name=P4V
Comment=Perforce Visual Client
Icon=/usr/lib/p4v/P4VResources/icons/P4-V_128x128.png
Exec=/usr/bin/p4v
Terminal=false
Categories=Development;

And dragged this file to my launcher. However, when I click the icon, it opens the application under a 2nd, different icon (I click the top one, it opens the application under the bottom one):

launcher icons

The bottom icon isn't present until after I launch the application using the top P4v icon that I manually added.

minidlna on Ubuntu 14.04 LTS cannot access /media folders https://askubuntu.com/questions/531224/minidlna-on-ubuntu-14-04-lts-cannot-access-media-folders

My minidlna program is attempting to access the /media folder to get the drives mounted there. I have adapted the minidlna.conf file to look specifically for these drives. I get to them and recieve an access denied message. I cannot change the folder permission while they are in the /media folder.

I have tried the following:

  1. change the user in minidlna.conf to the current user effect: cannot access file, permission denied

2.change the user to "root" in minidlna.conf effect: "bad user error"

  1. comment the user out in the minidlna.conf file effect: cannot access files, permission denied.

  2. moved a test folder from a /media folder to a /home folder 4.5 changed permissions to the /home folder to give everyone access to everything effect: cannot access file, permission denied.

    basically, nothing I do will allow the minidlna program to access the drives mounted in the /media folder. I cannot find a way to change the directory path without changing the drive location. my blue ray device can see the folders created by the minidlna program, but these folders are empty. is there a way to unmount and remount to a different directory? (automount rules perhaps?)

    any help would be greatly appreciated. Please understand that I have been a Ubuntu user for about 72 hours.

    P.S.

    I have also tried mediatomb, serviio, and ushare. so far, minidlna has gotten the closest to making this work.

Streaming a webcam video to a web-page https://askubuntu.com/questions/98035/streaming-a-webcam-video-to-a-web-page

I need software which is able to capture images from a webcam and stream them to a web-page.

I already tried a webcam-server, but it uses java applet on the client side for retrieving pictures, which is not supported on my client device (Android tablet).

An alternative may be be something that captures images from a webcam and writes them to the same file, constantly rewriting it. In that case, my java-script on the client side can just use this file to constantly refresh an image.

Any ideas and suggestions are greatly appreciated.

Use WebCam to record (Including movement detection) https://askubuntu.com/questions/33665/use-webcam-to-record-including-movement-detection

What Ubuntu software is there to use a webcam as a recording camera (Like a Security System). It NEEDS to detect movement in the room, take pictures and/or record.