Going from X11 to Wayland on Ubuntu 24.04 https://askubuntu.com/questions/1565131/going-from-x11-to-wayland-on-ubuntu-24-04

I'm running Ubuntu 24.04.4 LTS x86_64 with NVIDIA Geforce RTX 3050, driver version 570.211.01. It boots to an X11 session. I don't recall disabling Wayland, but I'm not 100% sure. File /etc/gdm3/custom.conf has the original line #WaylandEnable=false. Login to Wayland session results in X11 session running instead.

Is X11 forced by Nvidia driver? What is an easy way to get a Wayland session?

Error message when updating packages with synaptic package manager https://askubuntu.com/questions/1565128/error-message-when-updating-packages-with-synaptic-package-manager

The message, which does not interfere with the package update process, is as follows:

W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_deb_opera_com_opera-stable\_-noble.list:1 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_deb_opera_com_opera-stable\_-noble.list:1 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_deb_opera_com_opera-stable\_-noble.list:1 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_deb_opera_com_opera-stable\_-noble.list:1 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_deb_opera_com_opera-stable\_-noble.list:1 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_deb_opera_com_opera-stable\_-noble.list:1 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_deb_opera_com_opera-stable\_-noble.list:1 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_deb_opera_com_opera-stable\_-noble.list:1 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_deb_opera_com_opera-stable\_-noble.list:1 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target DEP-11-icons-hidpi (non-free/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_deb_opera_com_opera-stable\_-noble.list:1 and /etc/apt/sources.list.d/opera-stable.list:4    
W: Target CNF (non-free/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_deb_opera_com_opera-stable\_-noble.list:1 and /etc/apt/sources.list.d/opera-stable.list:4    
W: Target CNF (non-free/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_deb_opera_com_opera-stable\_-noble.list:1 and /etc/apt/sources.list.d/opera-stable.list:4
How to install libcurl-dev on Ubuntu 22.04 for multilib environment https://askubuntu.com/questions/1565127/how-to-install-libcurl-dev-on-ubuntu-22-04-for-multilib-environment

I have a Ubuntu 22.04 system with multilib installed and I am trying to build a 32bit application that needs libcurl. The only version of libcurl on the system is the 64 bit version. I have tried to install the i386 version using "apt install libcurl4-openssl-dev:i386", but it says it needs to uninstall the 64bit versions of the many packages. I need to be able to support both 32bit and 64bit packages. Is there something that I am missing?

Gwenview will not start, https://askubuntu.com/questions/1565126/gwenview-will-not-start

This is the response that I get when I try to start Gwenview in Terminal: $ gwenview

/snap/gwenview/148/usr/bin/gwenview: error while loading shared libraries: libPlasmaActivities.so.6: cannot open shared object file: No such file or directory

Do I need to redirect the path somehow? It worked well before updating to 22.04.5 LTS

Thanks for any response.

Bluetooth "No default controller available" - Device missing from lsusb (Works in Windows Dual-Boot) https://askubuntu.com/questions/1565125/bluetooth-no-default-controller-available-device-missing-from-lsusb-works-i

I am experiencing a persistent issue where Bluetooth cannot be turned on in my Ubuntu installation, despite working perfectly on the same machine in Windows 11. The service is active, but the hardware is not being detected on the USB bus.

Hardware details:

  • Motherboard: ASUS B650-E WI-FI

  • CPU: AMD 9700x

SOftware details:

  • OS: Ubuntu 25.10. Note that i just updated from Ubuntu 25.04 but i don't recall if the bluetooth was working before as i did not use it.

  • Kernel: 6.17.0-19-generic

The Symptom:

  • lsusb | grep -i blue -> (No output)

  • bluetoothctl power on -> No default controller available

What i tried:

  • Disable windows fast boot

  • Disable Bios erp setting

  • rfkill list shows no soft or hard blocks

  • sudo systemctl status bluetooth shows the service is Active (running).

  • Attempted sudo modprobe -r btusb && sudo modprobe btusb with no change.

  • sudo dmesg | grep -iE "blue|firmware|hci"
    Output:

[    0.344220] xhci_hcd 0000:0a:00.0: xHCI Host Controller
[    0.344224] xhci_hcd 0000:0a:00.0: new USB bus registered, assigned bus number 1
[    0.400339] xhci_hcd 0000:0a:00.0: hcc params 0x0200ef81 hci version 0x110 quirks 0x0000000200000010
[    0.400571] xhci_hcd 0000:0a:00.0: xHCI Host Controller
[    0.400573] xhci_hcd 0000:0a:00.0: new USB bus registered, assigned bus number 2
[    0.400574] xhci_hcd 0000:0a:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[    0.401317] usb usb1: Product: xHCI Host Controller
[    0.401318] usb usb1: Manufacturer: Linux 6.17.0-19-generic xhci-hcd
[    0.402505] usb usb2: Product: xHCI Host Controller
[    0.402505] usb usb2: Manufacturer: Linux 6.17.0-19-generic xhci-hcd
[    0.403216] xhci_hcd 0000:0d:00.3: xHCI Host Controller
[    0.403218] xhci_hcd 0000:0d:00.3: new USB bus registered, assigned bus number 3
[    0.403569] xhci_hcd 0000:0d:00.3: hcc params 0x0120ffc5 hci version 0x120 quirks 0x0000000200000010
[    0.403756] xhci_hcd 0000:0d:00.3: xHCI Host Controller
[    0.403756] xhci_hcd 0000:0d:00.3: new USB bus registered, assigned bus number 4
[    0.403757] xhci_hcd 0000:0d:00.3: Host supports USB 3.1 Enhanced SuperSpeed
[    0.403769] usb usb3: Product: xHCI Host Controller
[    0.403770] usb usb3: Manufacturer: Linux 6.17.0-19-generic xhci-hcd
[    0.403999] usb usb4: Product: xHCI Host Controller
[    0.404000] usb usb4: Manufacturer: Linux 6.17.0-19-generic xhci-hcd
[    0.404219] xhci_hcd 0000:0d:00.4: xHCI Host Controller
[    0.404220] xhci_hcd 0000:0d:00.4: new USB bus registered, assigned bus number 5
[    0.404565] xhci_hcd 0000:0d:00.4: hcc params 0x0120ffc5 hci version 0x120 quirks 0x0000000200000010
[    0.404738] xhci_hcd 0000:0d:00.4: xHCI Host Controller
[    0.404739] xhci_hcd 0000:0d:00.4: new USB bus registered, assigned bus number 6
[    0.404739] xhci_hcd 0000:0d:00.4: Host supports USB 3.1 Enhanced SuperSpeed
[    0.404750] usb usb5: Product: xHCI Host Controller
[    0.404750] usb usb5: Manufacturer: Linux 6.17.0-19-generic xhci-hcd
[    0.404970] usb usb6: Product: xHCI Host Controller
[    0.404970] usb usb6: Manufacturer: Linux 6.17.0-19-generic xhci-hcd
[    0.405178] xhci_hcd 0000:0e:00.0: xHCI Host Controller
[    0.405180] xhci_hcd 0000:0e:00.0: new USB bus registered, assigned bus number 7
[    0.406435] xhci_hcd 0000:0e:00.0: USB3 root hub has no ports
[    0.406449] xhci_hcd 0000:0e:00.0: hcc params 0x0110ffc5 hci version 0x120 quirks 0x0000000200000010
[    0.406633] usb usb7: Product: xHCI Host Controller
[    0.406634] usb usb7: Manufacturer: Linux 6.17.0-19-generic xhci-hcd
[    0.507896] ahci 0000:0b:00.0: SSS flag set, parallel bus scan disabled
[    0.507924] ahci 0000:0b:00.0: AHCI vers 0001.0301, 32 command slots, 6 Gbps, SATA mode
[    0.507926] ahci 0000:0b:00.0: 4/6 ports implemented (port mask 0xf)
[    0.507927] ahci 0000:0b:00.0: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part sxs deso sadm sds apst 
[    0.511629] scsi host0: ahci
[    0.511700] scsi host1: ahci
[    0.511735] scsi host2: ahci
[    0.511766] scsi host3: ahci
[    0.511793] scsi host4: ahci
[    0.511825] scsi host5: ahci
[    0.704309] usb 1-2: new high-speed USB device number 2 using xhci_hcd
[    1.129618] usb 1-6: new high-speed USB device number 3 using xhci_hcd
[    1.420580] usb 1-2.1: new full-speed USB device number 4 using xhci_hcd
[    1.792286] usb 1-7: new full-speed USB device number 5 using xhci_hcd
[    2.155321] usb 1-2.2: new full-speed USB device number 6 using xhci_hcd
[    2.528595] usb 1-8: new high-speed USB device number 7 using xhci_hcd
[    2.839294] usb 1-2.3: new high-speed USB device number 8 using xhci_hcd
[    3.151563] usb 1-2.4: new full-speed USB device number 9 using xhci_hcd
[    3.748032] systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
[    3.908500] Bluetooth: Core ver 2.22
[    3.937308] NET: Registered PF_BLUETOOTH protocol family
[    3.937312] Bluetooth: HCI device and connection manager initialized
[    3.937315] Bluetooth: HCI socket layer initialized
[    3.937317] Bluetooth: L2CAP socket layer initialized
[    3.937321] Bluetooth: SCO socket layer initialized
[    4.182988] usb 1-8: reset high-speed USB device number 7 using xhci_hcd
[    4.864147] amdgpu 0000:0d:00.0: amdgpu: [drm] Loading DMUB firmware via PSP: version=0x05002A00
[    4.864435] amdgpu 0000:0d:00.0: amdgpu: Found VCN firmware Version ENC: 1.33 DEC: 4 VEP: 0 Revision: 12
[    5.962666] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.962669] Bluetooth: BNEP filters: protocol multicast
[    5.962671] Bluetooth: BNEP socket layer initialized
[    5.993276] Bluetooth: hci0: Opcode 0x0c03 failed: -110

I have no clue on how to solve this, some help would be much appreciated :)

Physical location on the M/B of the BIOS, for a Acer Aspiore AOA150 [closed] https://askubuntu.com/questions/1565122/physical-location-on-the-m-b-of-the-bios-for-a-acer-aspiore-aoa150

Need to know where or which chip is the BIOS chip in my Acer Aspire AOA150. I am upgrading the BIOS, ans since the old BIOS will not charge the battery. Since I use only Linux OS's and to flash the BIOS, the file is an .exe file which requires Windoze. So I am going to do a chip swap (unsolder old chip, clean the area, solder new chip.

Why is "docker compose up -d" freezing up terminal while trying to set up Immich? https://askubuntu.com/questions/1565121/why-is-docker-compose-up-d-freezing-up-terminal-while-trying-to-set-up-immich

I am pretty new with Docker and am hitting a problem I do not understand while setting up Immich.

I followed the official documentation; created the immich-app directory where I downloaded the docker-compose.yml and .env files, created two directories for UPLOAD_LOCATION and DB_DATA_LOCATION on the SSD in immich-app which I indicated in the .env file like so:

UPLOAD_LOCATION=/home/quieter3/immich-app/library
DB_DATA_LOCATION=/home/quieter3/immich-app/database_files

I also validated that docker.service is active and enabled.

When executing docker compose up -d, it starts pulling the details but stops somewhere while downloading and slowly, everything stops responding. I had to force shut down the machine.

EDIT adding details to error: Stops while pulling the images. Typing any command with CLI outputs "command not found", unable to reboot-shutdown normally.

I had this problem on Linux Mint and thought it was an issue of Mint not being officially supported, seems it is something else I have not yet figured out.

Any help/guidance would be well appreciated!

EDIT for machine details: MeLe Quieter 3C Fanless mini pc, Intel N5105 4 cores @ 2.0GHz, 8Gb RAM. Which is a bit more than the recommended specs suggested by Immich.

OWC ThunderBay Flex 8 (Thunderbolt 3) https://askubuntu.com/questions/1565120/owc-thunderbay-flex-8-thunderbolt-3

Does anyone have experience using the OWC ThunderBay Flex 8 (Thunderbolt 3) with Ubuntu 24.04 and Thunderbolt 4 drivers? I connected the Flex 8 to my Ubuntu system, but it is not being recognized.

Setting my mother's 2GB RAM computer with Lubuntu and have tried unsuccessfully to install Broadcom wireless drivers https://askubuntu.com/questions/1565118/setting-my-mothers-2gb-ram-computer-with-lubuntu-and-have-tried-unsuccessfully

My mother's computer is a 2GB RAM HP Steam, and as you can imagine it has been unused for a while. I am trying to give it a new life using Lubuntu. Everything is alright except for the Wi-Fi connection to the internet. It is my first time using a terminal and I have already tried multiple ways to update the drivers and none of them have worked.

I started here: Installing Broadcom Wireless Drivers and have been trying to fix the errors that appeared along the way until getting to this tutorial: https://forums.linuxmint.com/viewtopic.php?p=2749276#p2749276. And it still doesn't work.

Here is my terminal output.

cristina@cristina-computador:~$ sudo apt update
[sudo] password for cristina: 
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease 
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done      
3 packages can be upgraded. Run 'apt list --upgradable' to see them.

cristina@cristina-computador:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done      
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  vlc-plugin-qt libvlc5 qt5-qmake-bin libmagickcore-6.q16-7t64 libzvbi-common
  qtbase5-dev-tools vlc-data libqt5xml5t64 libvlccore9 qt5-gtk-platformtheme
  vlc imagemagick libqt5sql5t64 vlc-bin libmagickcore-6.q16-7-extra
  libqt5test5t64 vlc-l10n libcjson1 libpostproc57 vlc-plugin-samba
  libqt5gui5t64 libavcodec60 libzvbi0t64 libqt5printsupport5t64
  vlc-plugin-notify qtbase5-dev libqt5concurrent5t64 libavutil58
  libqt5widgets5t64 imagemagick-6.q16 libswscale7 libqt5dbus5t64
  vlc-plugin-access-extra libqt5network5t64 vlc-plugin-skins2 vlc-plugin-svg
  libqt5opengl5-dev libqt5opengl5t64 vlc-plugin-video-splitter libswresample4
  imagemagick-6-common vlc-plugin-video-output libqt5sql5-sqlite 7zip
  qt5-qmake libavformat60 libvlc-bin libqt5core5t64 vlc-plugin-base
  vlc-plugin-visualization libavfilter9 libmagickwand-6.q16-7t64
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following upgrades have been deferred due to phasing:
  alsa-ucm-conf libigdgmm12 ubuntu-drivers-common
0 packages upgraded, 0 new packages installed, 0 to remove and 3 not upgraded.
2 packages not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-19-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
 installed broadcom-sta-dkms package post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of bcmwl-kernel-source:
 bcmwl-kernel-source depends on broadcom-sta-dkms (= 6.30.223.271-23ubuntu1.1); however:
 Package broadcom-sta-dkms is not configured yet.

dpkg: error processing package bcmwl-kernel-source (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                         Errors were encountered while processing:
 broadcom-sta-dkms
 bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)

cristina@cristina-computador:~$ sudo dpkg --configure -a
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-19-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
 installed broadcom-sta-dkms package post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of bcmwl-kernel-source:
 bcmwl-kernel-source depends on broadcom-sta-dkms (= 6.30.223.271-23ubuntu1.1); however:
 Package broadcom-sta-dkms is not configured yet.

dpkg: error processing package bcmwl-kernel-source (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 broadcom-sta-dkms
 bcmwl-kernel-source

cristina@cristina-computador:~$ sudo apt install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done      
0 packages upgraded, 0 new packages installed, 0 to remove and 3 not upgraded.
2 packages not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-19-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
 installed broadcom-sta-dkms package post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of bcmwl-kernel-source:
 bcmwl-kernel-source depends on broadcom-sta-dkms (= 6.30.223.271-23ubuntu1.1); however:
 Package broadcom-sta-dkms is not configured yet.

dpkg: error processing package bcmwl-kernel-source (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                         Errors were encountered while processing:
 broadcom-sta-dkms
 bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)

cristina@cristina-computador:~$ sudo apt remove --purge bcmwl-kernel-source
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done      
The following packages will be REMOVED:
  bcmwl-kernel-source*
0 packages upgraded, 0 new packages installed, 1 to remove and 3 not upgraded.
2 packages not fully installed or removed.
After this operation, 22.5 kB of disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 326848 files and directories currently installed.)
Removing bcmwl-kernel-source (6.30.223.271+bdcom-23ubuntu1.1) ...
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-19-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
 installed broadcom-sta-dkms package post-installation script returned error exit status 10
Errors were encountered while processing:
 broadcom-sta-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

cristina@cristina-computador:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done      
0 packages upgraded, 0 new packages installed, 0 to remove and 3 not upgraded.
1 packages not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-19-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
 installed broadcom-sta-dkms package post-installation script returned error exit status 10
Errors were encountered while processing:
 broadcom-sta-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

cristina@cristina-computador:~$ sudo apt clean

cristina@cristina-computador:~$ sudo apt remove --purge broadcom-sta-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done      
The following package was automatically installed and is no longer required:
  dkms
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  broadcom-sta-dkms*
0 packages upgraded, 0 new packages installed, 1 to remove and 3 not upgraded.
1 packages not fully installed or removed.
After this operation, 14.5 MB of disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 326845 files and directories currently installed.)
Removing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
(Reading database ... 326780 files and directories currently installed.)
Purging configuration files for broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
cristina@cristina-computador:~$ sudo apt update
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done      
3 packages can be upgraded. Run 'apt list --upgradable' to see them.

cristina@cristina-computador:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done      
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  dkms
Use 'sudo apt autoremove' to remove it.
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  vlc-plugin-qt libvlc5 qt5-qmake-bin libmagickcore-6.q16-7t64 libzvbi-common
  qtbase5-dev-tools vlc-data libqt5xml5t64 libvlccore9 qt5-gtk-platformtheme
  vlc imagemagick libqt5sql5t64 vlc-bin libmagickcore-6.q16-7-extra
  libqt5test5t64 vlc-l10n libcjson1 libpostproc57 vlc-plugin-samba
  libqt5gui5t64 libavcodec60 libzvbi0t64 libqt5printsupport5t64
  vlc-plugin-notify qtbase5-dev libqt5concurrent5t64 libavutil58
  libqt5widgets5t64 imagemagick-6.q16 libswscale7 libqt5dbus5t64
  vlc-plugin-access-extra libqt5network5t64 vlc-plugin-skins2 vlc-plugin-svg
  libqt5opengl5-dev libqt5opengl5t64 vlc-plugin-video-splitter libswresample4
  imagemagick-6-common vlc-plugin-video-output libqt5sql5-sqlite 7zip
  qt5-qmake libavformat60 libvlc-bin libqt5core5t64 vlc-plugin-base
  vlc-plugin-visualization libavfilter9 libmagickwand-6.q16-7t64
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following upgrades have been deferred due to phasing:
  alsa-ucm-conf libigdgmm12 ubuntu-drivers-common
0 packages upgraded, 0 new packages installed, 0 to remove and 3 not upgraded.

cristina@cristina-computador:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done      
The following packages will be REMOVED:
  dkms
0 packages upgraded, 0 new packages installed, 1 to remove and 3 not upgraded.
After this operation, 196 kB of disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 326779 files and directories currently installed.)
Removing dkms (3.0.11-1ubuntu13) ...
Processing triggers for man-db (2.12.0-4build2) ...
cristina@cristina-computador:~$ sudo apt install bcmwl-kernel-source
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done      
The following additional packages will be installed:
  broadcom-sta-dkms dkms
Suggested packages:
  menu
The following NEW packages will be installed:
  bcmwl-kernel-source broadcom-sta-dkms dkms
0 packages upgraded, 3 new packages installed, 0 to remove and 3 not upgraded.
Need to get 2542 kB of archives.
After this operation, 14.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 dkms all 3.0.11-1ubuntu13 [51.5 kB]
Get:2 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 broadcom-sta-dkms all 6.30.223.271-23ubuntu1.1 [2482 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 bcmwl-kernel-source amd64 6.30.223.271+bdcom-23ubuntu1.1 [8516 B]
Fetched 2542 kB in 2s (1345 kB/s)             
Selecting previously unselected package dkms.
(Reading database ... 326764 files and directories currently installed.)
Preparing to unpack .../dkms_3.0.11-1ubuntu13_all.deb ...
Unpacking dkms (3.0.11-1ubuntu13) ...
Selecting previously unselected package broadcom-sta-dkms.
Preparing to unpack .../broadcom-sta-dkms_6.30.223.271-23ubuntu1.1_all.deb ...
Unpacking broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Selecting previously unselected package bcmwl-kernel-source.
Preparing to unpack .../bcmwl-kernel-source_6.30.223.271+bdcom-23ubuntu1.1_amd64.deb ...
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-23ubuntu1.1) ...
Installing dkms (3.0.11-1ubuntu13) ...
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-19-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
 installed broadcom-sta-dkms package post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of bcmwl-kernel-source:
 bcmwl-kernel-source depends on broadcom-sta-dkms (= 6.30.223.271-23ubuntu1.1); however:
 Package broadcom-sta-dkms is not configured yet.

dpkg: error processing package bcmwl-kernel-source (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.12.0-4build2) ...
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                         Errors were encountered while processing:
 broadcom-sta-dkms
 bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)

cristina@cristina-computador:~$ wget http://archive.ubuntu.com/ubuntu/pool/restricted/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb
--2026-03-24 10:03:01--  http://archive.ubuntu.com/ubuntu/pool/restricted/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb
Resolving archive.ubuntu.com (archive.ubuntu.com)... 2620:2d:4002:1::102, 2620:2d:4000:1::101, 2620:2d:4000:1::102, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|2620:2d:4002:1::102|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2482710 (2.4M) [application/vnd.debian.binary-package]
Saving to: ‘broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb.1’

broadcom-sta-dkms_6.30.223.271 100%[=================================================>]   2.37M   566KB/s    in 15s     

2026-03-24 10:03:19 (162 KB/s) - ‘broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb.1’ saved [2482710/2482710]

cristina@cristina-computador:~$ sudo apt install ./broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done      
Note, selecting 'broadcom-sta-dkms' instead of './broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb'
The following packages will be REMOVED:
  bcmwl-kernel-source
The following packages will be upgraded:
  broadcom-sta-dkms
1 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
2 packages not fully installed or removed.
Need to get 0 B/2483 kB of archives.
After this operation, 20.5 kB of disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 /home/cristina/broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb broadcom-sta-dkms all 6.30.223.271-23ubuntu1.2 [2483 kB]
(Reading database ... 326848 files and directories currently installed.)
Removing bcmwl-kernel-source (6.30.223.271+bdcom-23ubuntu1.1) ...
(Reading database ... 326845 files and directories currently installed.)
Preparing to unpack .../broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb ...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Unpacking broadcom-sta-dkms (6.30.223.271-23ubuntu1.2) over (6.30.223.271-23ubuntu1.1) ...
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.2) ...
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
Done.

wl.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.17.0-19-generic/updates/dkms/
depmod........
N: Download is performed unsandboxed as root as file '/home/cristina/broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

cristina@cristina-computador:~$ sudo apt install /tmp/./broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb
Reading package lists... Done
E: Unsupported file /tmp/./broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb given on command line

cristina@cristina-computador:~$ sudo apt install /tmp/broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb
Reading package lists... Done
E: Unsupported file /tmp/broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb given on command line

cristina@cristina-computador:~$ sudo apt-get --download install ./broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done      
Note, selecting 'broadcom-sta-dkms' instead of './broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb'
broadcom-sta-dkms is already the newest version (6.30.223.271-23ubuntu1.2).
broadcom-sta-dkms set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
cristina@cristina-computador:~$

I have been at it since yesterday and am currently losing my mind. Does anyone know what is going on? Also please explain in a very simple way. I am a first time terminal user and am in way over my head.

 cristina@cristina-computador:~$ /var/lib/dkms/broadcom-sta/6.30.233.271/build/make.log
bash: /var/lib/dkms/broadcom-sta/6.30.233.271/build/make.log: Ficheiro ou pasta inexistente
cristina@cristina-computador:~$ cat  /var/lib/dkms/broadcom-sta/6.30.233.271/build/make.log
cat: /var/lib/dkms/broadcom-sta/6.30.233.271/build/make.log: Ficheiro ou pasta inexistente
Noticeable performance boost on Ubuntu 25.10 (Dell OptiPlex 3050) [closed] https://askubuntu.com/questions/1565117/noticeable-performance-boost-on-ubuntu-25-10-dell-optiplex-3050

Noticeable performance boost on Ubuntu 25.10 (Dell OptiPlex 3050)

Hi everyone,

I wanted to share some positive feedback regarding the latest Ubuntu 25.10 (Questing Quokka) release. After upgrading from 24.04 LTS, I noticed a significant and very obvious improvement in system responsiveness and overall speed.

The UI feels much "snappier," and animations are noticeably smoother on my hardware.

My System Specs:

  • Model: Dell OptiPlex 3050

  • CPU: Intel Core i5-6500 (Skylake)

  • GPU: Intel HD Graphics 530

  • RAM: 16GB

  • Kernel: 6.17.0

  • GNOME: 49 (Wayland)

Great job by the team on the optimizations in this interim release. It makes me very excited for the upcoming 26.04 LTS!


Samba min protocol SMB3, nmap report SMBv1 https://askubuntu.com/questions/1341049/samba-min-protocol-smb3-nmap-report-smbv1

I use a Linux system with Ubuntu 18.04.5. Te file /etc/samba/smb.conf contains the rules:

client min protocol = SMB3

and

smb encrypt = required

The command nmap -p445 -Pn -vvv --script smb-protocols on this system gives (between others) the following output:

  Host script results:
  | smb-protocols:
  | dialects:
  | NT LM 0.12 (SMBv1) [dangerous, but default]
  | 2.02
  | 2.10
  | 3.00
  | 3.02
  |_ 3.11

Is that in contrast to each other?

In Samba it is set that the minimum SMB protocol is 3. nmap reports the dangerous SMBv1 protocol anyway.

Can the Ubuntu system still be accessed with SMBv1?

How do I set scaling in Wine? https://askubuntu.com/questions/1337156/how-do-i-set-scaling-in-wine

When I use regular or fractional scaling, content generated by Wine does not scale. This looks particularly bad under fractional scaling because the Wine content takes up relatively less of the screen.

No scaling, 125% scaling, 200% scaling. Adjusted for perceived height.

In other software that does not honor desktop scaling I have found an independent scaling setting for that software. (e.g. layout.css.devPixelsperPx in Firefox).

How can I set scaling in Wine?

Firefox Browser Console reports several errors on Ubuntu 20.04 fresh install https://askubuntu.com/questions/1284702/firefox-browser-console-reports-several-errors-on-ubuntu-20-04-fresh-install

In both my live USB (official 20.04 iso) and a fresh Focal install, Firefox reports a few different errors in the Browser Console every time it is launched. This happens with new FF profile, no add-ons, cookies etc. I've reset profiles anyways and it still persists. Booting firefox in safe mode does not do anything. I've updated/upgraded with apt & snap, the issue still persists. I tried FF on the live USB on two different computers and the same errors appeared. I've re-downloaded the iso and re-made the live USB, still no change. I think these may be unresolved low priority bugs but I cannot find ANYTHING online regarding them, which I find surprising if they were common bugs.

These errors are not causing any issues per se (although I do see error messages frequently when browsing and especially so with any add-ons). However, I've spun my wheels long enough that I need some sort of closure haha. Are these just bugs? Does anyone else get these same errors? Is there some underlying issue that I could fix besides my anal personality?

22:37:33.870 [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsICommandLine.handleFlagWithParam]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource:///modules/BrowserContentHandler.jsm :: bch_handle :: line 415"  data: no] BrowserContentHandler.jsm:415:34

2:37:33.871 Warning: unrecognized command line flag -new-window
BrowserContentHandler.jsm:989

22:37:34.376 browser.startup.average_time - Truncating float/double number.

22:37:34.380 [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIAppStartup.secondsSinceLastOSRestart]"  nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)"  location: "JS frame :: resource:///modules/BrowserGlue.jsm :: _collectStartupConditionsTelemetry :: line 1682"  data: no] BrowserGlue.jsm:1682:9

22:37:34.673 Unknown category for SetEventRecordingEnabled: fxmonitor

22:37:35.567 Cc[aContract] is undefined XPCOMUtils.jsm:144

22:37:40.306 debuggee 'resource://devtools/shared/base-loader.js:289' would run builtin-modules.js:196:11
Using StartupWMClass for applications running in a terminal https://askubuntu.com/questions/1279779/using-startupwmclass-for-applications-running-in-a-terminal

In 18.04 I had a launcher in the Dash to run an application in a terminal with the Dash showing an indicator dot for the launcher when it was running, rather than an indicator for the generic terminal launcher (this way I was able to find it if other terminal windows are open). I was able to use the --class option in the Exec entry along with StartupWMClass to achieve this.

In 20.04 the launcher doesn't work in that a terminal is opened, the application tries to launch and then the terminal closes. I googled this and there is some chatter about the --class option being depreciated. If I delete the --class option the launcher works, but the indicator dot is attached to the generic terminal launcher.

Here is the .desktop file before deleting the --class option

[Desktop Entry]
Version=1.0
Type=Application
Terminal=true
Encoding=UTF-8
StartupNotify=true
Icon[en_US]=sage-terminal
Icon=sage-terminal
Exec=/home/rquint/Sage/SageMath/sage --class=SageTerminal
StartupWMClass=SageTerminal
Name=SageTerminal
Name[en_US]=SageTerminal
Actions=SageDocumentation;

[Desktop Action SageDocumentation]
Name=Sage Documentation
Exec=firefox /home/rquint/Sage/SageMath/local/share/doc/sage/html/en/index.html
Kubuntu 18.04: I can't change my display resolution https://askubuntu.com/questions/1207168/kubuntu-18-04-i-cant-change-my-display-resolution

I just installed Kubuntu 18.04.

And for some reason I'm stuck on 1024x768 but my monitor is 1400x900.

I can't change it in the settings. When I try to use Xrandr I get

xrandr: Failed to get size of gamma for output default

Xrandr says the maximum is 1024x768.

Is this a plasma thing? What do?

This application failed to start because it could not find or load the Qt platform plugin "wayland-egl" https://askubuntu.com/questions/1156444/this-application-failed-to-start-because-it-could-not-find-or-load-the-qt-platfo

Suddenly robo3t doesn't start,

Error Message

usama@usama:~$ robo3t-snap
This application failed to start because it could not find or load the Qt platform plugin "wayland-egl"
in "".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)

Help me with this issue.

How to navigate to a network drive when using Ubuntu via the Windows Subsystem for Linux https://askubuntu.com/questions/1118645/how-to-navigate-to-a-network-drive-when-using-ubuntu-via-the-windows-subsystem-f

I installed Ubuntu on my Windows 10 laptop via the Windows Subsystem for Linux.

I have a NAS drive connected to my home Wi-Fi network. There's a "share" on it, accessible at \\MYCLOUDEX2ULTRA\Home that I've also mounted in Windows as my Z: drive.

When I start up the Ubuntu console, if I go to /mnt/ I can see c and d directories there (for my laptop's local hard drives), but how can I navigate to my Z Drive?

Black screen after rebooting following upgrade to 18.10 https://askubuntu.com/questions/1085132/black-screen-after-rebooting-following-upgrade-to-18-10

To upgrade from 18.04 to 18.10 I executed the following commands: "sudo apt-get dist-upgrade" and "sudo do-release-upgrade"

Upgrade proceeded normally until the system reached the reboot phase. Following reboot the normal maroon dot progress screen was displayed for a few seconds. This was replaced with a black screen with the message "Main-Linux clean 574402/3567072 files, 7146011/14350592 blocks". And there it stopped with no further changes evident.

Ctrl-F1 took me to the normal console log in. I could log in and found everything was running normally. Disks were all present, active and with plenty of free space. Ctrl-F7 took me back to the black screen with the single message at the top of the screen.

I tried booting with the previous kernel but got the same result.

I have a spare 18.04 Linux on another partition. After booting into it a cursory look at my main system showed nothing untoward.

I have successfully upgraded Ubuntu for more than ten years and this is the first problem I have experienced.

Where do I go from here? How do I fix the problem?

Edit:

After booting into my spare Ubuntu 18.04 on another partition I used the Disks program to do file system checks on the main partitions. This reported that the file systems were clean. I then tried to reboot into 18.10 but again got the same problem, described above.

I have checked the SMART status of the SSD and it reports all is OK after self-test. The processor is Intel Pentium(R) CPU G4400 @ 3.30GHz × 2 and the GPU is Intel HD Graphics 510 (Skylake GT1)

Update:

After logging in at the console(Alt-Ctrl-F1) I can start the GUI by entering startx. For some reason the GUI subsystem fails to start automatically, as it did before.

How to log all the output displayed at screen? https://askubuntu.com/questions/1054648/how-to-log-all-the-output-displayed-at-screen

Running Ubuntu 18.04 on a non-headless server dedicated only to cryptocurrency mining.

The server, after some moments of mining, beeps and reboots. While it does that, there is some kind of error message that I can't get to read, is a lot like if you blink it you'll miss kinda thing. Lasts less than a second on screen before rebooting.

I've tried checking every log at /var/log and also journalctl looking for this error message with no luck. Tried to log all the output of the miner to >> minerlog.log with no luck. If i SSH to the server through putty, the error message is not shown, so logging a putty session doesn't work either.

My question is, then, is there a way to log all the text displayed in the monitor to a file so I can check lather what's that error message? Or if a log like that already exists?

mono - "file does not contain a valid cil image"? https://askubuntu.com/questions/975096/mono-file-does-not-contain-a-valid-cil-image

I have been using a program on my Windows computer for quite some time, but I am using my Ubuntu pc the most these days. Thus, I would like to be able to run this program (.exe file with associated .dll files) on my Ubuntu pc, but I have already given it a try myself using mono, however, this failed. Not sure if this is important, but the program requires the .net framework, which is why I chose to use mono.

I installed mono like this: Tutorial on how to install

The problem is that when I use the command mono /root/myprogram.exe, it prints out the error "file does not contain a valid cil image". What can I do?

cannot find - No such file or directory - libusb - Ubuntu 32 & 64 bit https://askubuntu.com/questions/972677/cannot-find-no-such-file-or-directory-libusb-ubuntu-32-64-bit

I'm trying to write a program that transfers data to my device. I'm using libusb. I had many problems to install its package in both 32 & 64 bit edition of Ubuntu 16 LTS. Commands for installation:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libusb-1.0-0-dbg

also tried: http://www.linuxfromscratch.org/blfs/view/svn/general/libusb.html

"dpkg -l libusb*" in Ubuntu 64 bit; shows that it has been installed while 32 bit one announces "no such package...".

Compiling command:

sudo gcc -g -o usbtest usbtest.c -lusb-1.0

In Ubuntu 64 bit it compiled while in 32 bit one, following note appeared:

/usr/bin/ld: cannot find -lusb-1.0
collect2: error: ld returned 1 exit status

but I was sure that it exist then I tried following command and it compiled without any error.

sudo gcc -g -o usbtest usbtest.c -L/usr/local/lib -lusb-1.0

at the end when I execute my program, it can not find my device in other words can not open the device. following presents debugging procedure in Ubuntu (32 & 64 bit):

141      int r = 1; 
(gdb) s
143      r = libusb_init(NULL); 
(gdb) 
libusb_init (context=0x0) at ../../libusb/core.c:1983
1983    ../../libusb/core.c: No such file or directory.
(gdb) 
1985    in ../../libusb/core.c
(gdb) 
__GI_getenv (name=0xb7fb2f16 "LIBUSB_DEBUG") at getenv.c:34
34  getenv.c: No such file or directory.
(gdb) 
__x86.get_pc_thunk.bx () at ../sysdeps/i386/i686/multiarch/../memcmp.S:80
80  ../sysdeps/i386/i686/multiarch/../memcmp.S: No such file or directory.
(gdb) 
__GI_getenv (name=0xb7fb2f16 "LIBUSB_DEBUG") at getenv.c:35
35  getenv.c: No such file or directory.
(gdb) 
__strlen_ia32 () at ../sysdeps/i386/i686/multiarch/../../i586/strlen.S:43
43  ../sysdeps/i386/i686/multiarch/../../i586/strlen.S: No such file or directory.
(gdb) 
44  in ../sysdeps/i386/i686/multiarch/../../i586/strlen.S

I don't have any idea what should I do.

Ubuntu touchpad / USB mouse click event is not working https://askubuntu.com/questions/924074/ubuntu-touchpad-usb-mouse-click-event-is-not-working

I'm unable to use my touchpad as well as my USB mouse once I suspend or put my laptop on hibernate. How do I fix it?

Once the laptop goes to sleep, I'm unable to perform a button click using the touchpad / USB Mouse, and my laptop has a touchscreen that's also not working. Only the Button Click event does not work. Otherwise scrolling and everything else works fine.

How can I tell if I am running Wayland? https://askubuntu.com/questions/904940/how-can-i-tell-if-i-am-running-wayland

Wayland is the default display server for Ubuntu 17.10 "on supported systems". But how can I tell if my platform is supported and I'm actually using Wayland?

Install old version of boost https://askubuntu.com/questions/792010/install-old-version-of-boost

I am trying to compile this program called Doppia and it requires an older version of Boost (somewhere around 1.54 - 1.55) however when I try to install it using

sudo apt-get install libboost-all-dev

it installs the latest version while

sudo apt-get install libboost-all-dev=1.55.0.2

does not find any package. Is there any way to install an older version of a package without having to re-compile it?

Thank you.

How to keep sfdisk working? https://askubuntu.com/questions/696274/how-to-keep-sfdisk-working

I updated to Ubuntu 15.10 but it causes a huge issue for me: sfdisk doesn't work anymore.

I really need sfdisk to build partitions on SD card for my embedded Linux but it seems that options have changed.

Here is my script:

CARD_DEV=$1

unset LANG

umount ${CARD_DEV}* >& /dev/null

if [ -b "$CARD_DEV" ] ; then
    echo "*************** Formatting SD card... ***************"
    dd if=/dev/zero of=$CARD_DEV bs=1024 count=1024
    SIZE=`fdisk -l $CARD_DEV | grep Disk | awk '{print $5}'`
    echo DISK SIZE - $SIZE bytes
    CYLINDERS=`echo $SIZE/255/63/512 | bc`
    echo CYLINDERS - $CYLINDERS
    {
        echo 1,9,0x0C,*
        echo 10,,,-
    } | sfdisk -D -H 255 -S 63 -C $CYLINDERS $CARD_DEV
    mkfs.vfat -F 32 -n "boot" ${CARD_DEV}1
    mke2fs -j -L "filesystem" ${CARD_DEV}2
fi

And the output error:

sfdisk: invalid option -- 'D'

 sfdisk [options] <dev> [[-N] <part>]
 sfdisk [options] <command>

Display or manipulate a disk partition table.

Commands:
 -A, --activate <dev> [<part> ...] list or set bootable MBR partitions
 -d, --dump <dev>                  dump partition table (usable for later input)
 -g, --show-geometry [<dev> ...]   list geometry of all or specified devices
 -l, --list [<dev> ...]            list partitions of each device
 -s, --show-size [<dev> ...]       list sizes of all or specified devices
 -T, --list-types                  print the recognized types (see -X)
 -V, --verify                      test whether partitions seem correct

 --part-label <dev> <part> [<str>] print or change partition label
 --part-type <dev> <part> [<type>] print or change partition type
 --part-uuid <dev> <part> [<uuid>] print or change partition uuid
 --part-attrs <dev> <part> [<str>] print or change partition attributes

 <dev>                     device (usually disk) path
 <part>                    partition number
 <type>                    partition type, GUID for GPT, hex for MBR

Options:
 -a, --append              append partitions to existing partition table
 -b, --backup              backup partition table sectors (see -O)
     --bytes               print SIZE in bytes rather than in human readable format
 -f, --force               disable all consistency checking
     --color[=<when>]      colorize output (auto, always or never)
                             colors disabled by default
 -N, --partno <num>        specify partition number
 -n, --no-act              do everything except write to device
     --no-reread           do not check whether the device is in use
 -O, --backup-file <path>  override default backup file name
 -o, --output <list>       output columns
 -q, --quiet               suppress extra info messages
 -X, --label <name>        specify label type (dos, gpt, ...)
 -Y, --label-nested <name> specify nested label type (dos, bsd)

 -L, --Linux               deprecated, only for backward compatibility
 -u, --unit S              deprecated, only sector unit is supported

 -h, --help     display this help and exit
 -v, --version  output version information and exit

Available columns (for -o):
 gpt: Device Start End Sectors Size Type Type-UUID Attrs Name UUID
 dos: Device Start End Sectors Cylinders Size Type Id Attrs Boot End-C/H/S
      Start-C/H/S
 bsd: Slice Start End Sectors Cylinders Size Type Bsize Cpg Fsize
 sgi: Device Start End Sectors Cylinders Size Type Id Attrs
 sun: Device Start End Sectors Cylinders Size Type Id Flags

For more details see sfdisk(8).

Version:

sfdisk from util-linux 2.26.2
Installing Ubuntu on early 2011 Macbook pro using USB Stick: ''i8042 No Controller'' https://askubuntu.com/questions/567548/installing-ubuntu-on-early-2011-macbook-pro-using-usb-stick-i8042-no-controll

I have an early 2011 macbook pro.

My primary hard drive location has a mac os X yosemite installation.

I replaced the optical drive with a secondary hard drive, which has two partitions created with bootcamp: (1) Mac OS X Mavericks and (2) Windows 7

I followed official ubuntu instructions for creating a bootable USB stick on Mac OS X.

When I reboot the system holding the option key, two new boot disks appear with the USB logo. Both titled "EFI Boot". I click on one and it takes me to the Ubuntu menu. When I select "try ubuntu" in order to use a live installation, I then get the message ''i8042 No Controller'' and the system hangs. I then have to use the power button to reboot. Any idea as to how to get around this?

If I select install ubuntu, I get the same error.

Recovering disk with corrupted superblock https://askubuntu.com/questions/528686/recovering-disk-with-corrupted-superblock

I am trying to recover a disk that has corrupted superblock but I cant seem to unmount the disk at all. I used bcache for the three extra drive after a reboot one of the drive stopped working. so I removed the SSD cache drive and still cant seem to recover the drive

pavs@VAS:~$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda           8:0    0 149.1G  0 disk 
├─sda1        8:1    0 133.4G  0 part /
├─sda2        8:2    0     1K  0 part 
└─sda5        8:5    0  15.7G  0 part [SWAP]
sdb           8:16   0   2.7T  0 disk 
└─sdb1        8:17   0   2.7T  0 part 
  └─bcache0 251:0    0   2.7T  0 disk /var/www/html/directlink/FTP1
sdc           8:32   0   1.8T  0 disk 
└─sdc1        8:33   0   1.8T  0 part 
  └─bcache1 251:1    0   1.8T  0 disk 
sdd           8:48   0   1.8T  0 disk 
└─sdd1        8:49   0   1.8T  0 part 
  └─bcache2 251:2    0   1.8T  0 disk



pavs@VAS:~$ sudo fsck.ext4 -v /dev/sdd1
e2fsck 1.42.9 (4-Feb-2014)
/dev/sdd1 is in use.
e2fsck: Cannot continue, aborting.


pavs@VAS:~$ umount -l /dev/sdd
umount: /dev/sdd is not mounted (according to mtab)
pavs@VAS:~$ umount -l /dev/sdd1
umount: /dev/sdd1 is not mounted (according to mtab)


 1072.806897] EXT4-fs (bcache2): ext4_check_descriptors: Checksum for group 640 failed (57199!=0)
[ 1072.806900] EXT4-fs (bcache2): group descriptors corrupted!
How can I create one logical volume over two disks using LVM? https://askubuntu.com/questions/219881/how-can-i-create-one-logical-volume-over-two-disks-using-lvm

Hi. I've got a working Ubuntu 12.04 server, which is going to serve as media server. I've added two disks of size 3TB to put my data on, and I wish to combine these as one 6TB logical volume which I could mount under /media.

So far, I have created one partition on each disks with fdisk and formatted them to ext3. But now I am stuck on how to continue. Do I use Mdadm to create a Jbod array? Or do I use LVM to make a logical volume of these two disks? I can't seem to find the documentation I need, it's mostly about extending existing volumes or installing a fresh system which I don't need.

My OS is on /dev/sdc1 (it's a USB thumb-drive), and the two newly created partitions are on /dev/sda1 and /dev/sdb1.

Hope you can give me some directions.

How Do I Customize the "cryptroot" Script? https://askubuntu.com/questions/174818/how-do-i-customize-the-cryptroot-script

I have a system where all the partitions (/, /home, and swap) are encrypted except for /boot. /boot resides in an external device which also contains a set of encrypted key files used to automatically decrypt all of the partitions. In other words, my desired end result was to have 2-factor authentication using an external device and a password where the password would be entered once during boot and the boot scripts would use the password to decrypt all of the partitions.

I'm a newbie to Ubuntu (and Linux in general), but I did some trial and error modifying the various scripts found in initrd.img using update-initramfs. The cryptroot script seemed to be doing all the work mounting the partitions at first, but after some experimenting, it appears that it is only responsible for decrypting the root file system. I had modified a string in the script changing Enter the passphrase to simply Password, which appeared to work when decrypting the root file system, but used the old prompt again for decrypting the next partition. In other words, this is what I'm getting:

  1. cryptroot script loads.
  2. The script asks for a password to decrypt the key partition and mounts it.
  3. The script calls the setup_mapping function to decrypt the root file system.
  4. The script tries to read the key file from the key partition to decrypt the root file system.
  5. The root file system is decrypted and mounted.
  6. The system prompts to enter a passphrase to decrypt the next partition…

I think Ubuntu might be running another copy of the cryptroot script somewhere to decrypt all the other partitions after root, but I don't know what else to modify.

How do you create a custom application launcher in Gnome Shell? https://askubuntu.com/questions/112186/how-do-you-create-a-custom-application-launcher-in-gnome-shell

How do you create a custom application launcher in Gnome Shell?

I have a local Eclipse installation that I'd like to be to quickly launch. So I created a symlink to the eclipse binary and placed it on my desktop. If I open a terminal, cd to ~/Desktop and run ./eclipse it starts Eclipse perfectly. However, if I click the Eclipse icon on my desktop, and choose run, nothing happens.

Alternatively, I wouldn't mind being able to search for Eclipse on the "Activities" screen, but I can't find any documentation on adding or registering custom applications.