How to reconfigure click behaviour to presses for trackpoint buttons? https://askubuntu.com/questions/1564508/how-to-reconfigure-click-behaviour-to-presses-for-trackpoint-buttons

I am currently running regular Ubuntu 24.04.4 LTS on my Lenovo ThinkPad A275. For a Windows 10 or 11 install on the same machine, the trackpoint buttons behave as would the respective ones on a regular mouse (middle serving as middle mouse button). Running Ubuntu, the mouse buttons the trackpoint buttons correspond to remain the same, except instead of registering as a press when pressed (so the release is registered only when released, as with a regular mouse), they register as a click (so it artificially registers the button as having been released in around 10ms) --- which means that I cannot perform actions that one would usually require a button on a mouse to be pressed continuously. Here is an example event from libinput pertaining to the press (and continued holding) of a left trackpoint button:

-event7   POINTER_BUTTON          +28.939s  BTN_LEFT (272) pressed, seat count: 1
 event7   POINTER_BUTTON          +28.948s  BTN_LEFT (272) released, seat count: 0

releasing the button afterwards is not registered.

I wish to change this to correspond to standard mouse button presses again instead. Gnome tweaks did not provide any settings to address this, and it is not entirely clear to me how to use xinput or xbindkeys (or if one can easily use it in this case) to fix this. The trackpad buttons work as normal. Changing to synaptic or evdev drivers did not fix the issue.

It would also be nice to configure the middle trackpoint button to act as on Windows --- allowing one to scroll (including sideways) when holding it (it is partially configurable in firefox, say, but would be nice if it was useable across all programs) and moving the trackpoint.

How do I launch Thunderbird in Terminal? https://askubuntu.com/questions/1564505/how-do-i-launch-thunderbird-in-terminal

I can run Thunderbird from the menu. I want to create a shortcut to assign to the mail button on my keyboard. I put in "thunderbird" for the command and pressing the button did nothing. I decided to test the command in Terminal. As you can see from this screen shot, I tried several ways but none launched Thunderbird.

enter image description here

I copied the menu entry to my desktop and opened it with a text editor. I found this in it:

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64
--command=thunderbird --file-forwarding org.mozilla.Thunderbird @@u %u @@ Terminal=false Type=Application Icon=org.mozilla.Thunderbird
Categories=Network;Email;

I searched for the executable file (it may be a snap installation) using the "which" command. I got no results: Screenshot of Terminal

Alternative or fix for Streamtuner2 https://askubuntu.com/questions/1564504/alternative-or-fix-for-streamtuner2

I can not get Streamtuner2 to work properly on 24.04. I can get to internet-radio top menu but when I try to step down it will not step down into the categories. (the catalog of stations is the desirable part of the program) When I select Online Forum under help, it opens VLC and nothing opens in VLC. In Shoutcast, I can step down into the menus and select a station that will play. I have purged and reloaded by several methods and this best result was achieved with the terminal - sudo apt install streamtuner2

Searching online, it appears that Streamtuner2 may be obsolete. Is there another program that will do the same thing, including the station lists to pull from?

Dell Pro 14 Premium (Lunar Lake 64a0) - Hang on Boot Ubuntu 24.04/25.10 https://askubuntu.com/questions/1564503/dell-pro-14-premium-lunar-lake-64a0-hang-on-boot-ubuntu-24-04-25-10

Laptop Model: Dell Pro 14 Premium (PA14250)

CPU/GPU: Intel Core Ultra 200V (Lunar Lake), Graphics ID 64a0 (Stepping B0)

OS: Ubuntu 25.10 (Kernel 6.17.0-14-generic) same with Ubuntu 24.04

Firmware: Dell BIOS 2.4.2 same with Dell BIOS 2.9

The Issue: The system boots, decrypts the LUKS partition, and completes the services load (reaches snapd.apparmor.service), but then stops there. Does not reach the login page. I tried a couple of GRUB workarounds. The system is active in the background (keyboard lights up on trackpad touch), but Ctrl+Alt+F3 does not bring up a TTY. LLM suggests that: the xe driver is hanging during the display initialization handshake. Key Logs (via journalctl -b -1):

xe 0000:00:02.0: [drm] Found lunarlake (device ID 64a0) integrated display version 20.00 stepping B0

xe 0000:00:02.0: [drm] Selective fetch area calculation failed in pipe A

gnome-shell[3032]: Added device '/dev/dri/card1' (xe) using atomic mode setting.

wmi_bus wmi_bus-PNP0C14:02: [Firmware Bug]: WQBC data block query control method not found

What I have tried so far:

BIOS Updates: Updated to 2.9

GRUB Parameters: Tried combinations of xe.force_probe=64a0, xe.enable_psr=0, xe.enable_fbc=0, and video=eDP-1:e.

Blacklisting: Blacklisted intel_vsc and intel_ish_ipc to resolve a -517 context sensing error.

Display Server: Disabled Wayland in /etc/gdm3/custom.conf to force X11.

Firmware: Verified lnl_guc_70.bin and lnl_huc.bin are loading successfully.

Workaround: System only boots with nomodeset, but this disables all graphics acceleration.

How to restrict sudo access to only apt update and apt install for a specific path opt/app? [closed] https://askubuntu.com/questions/1564501/how-to-restrict-sudo-access-to-only-apt-update-and-apt-install-for-a-specific-pa

I have a user named appadmin1 who does not have full sudo access.

I want to allow this user to run only: sudo apt update sudo apt install

But the user should NOT have access to any other path except opt/app i want to run these commands only these path

I created a sudoers file using:

visudo -f /etc/sudoers.d/appadmin1

And added the following line:

appadmin1 ALL=(root) NOPASSWD: /usr/bin/apt update, /usr/bin/apt install *
Where is TLP installed on 24.04? https://askubuntu.com/questions/1564499/where-is-tlp-installed-on-24-04

I installed TLP on a ThinkPad T440 with Ubuntu 24.04 by running . After going through a typical installation process it appears to be installed. But I can't find it. Wherever I look, it's not there. Was I supposed to do something else after installing it?

Unable to boot ubuntu and falling to shell / "Missing Modules" and "UUID does not exist" after a forced update on Windows partition / DUAL Boot^^ https://askubuntu.com/questions/1564495/unable-to-boot-ubuntu-and-falling-to-shell-missing-modules-and-uuid-does-no

I ran my ACER laptop with Windows alongside my Ubuntu (one harddrive) perfectly until Windows forced an update. Now Ubuntu isnt able to boot and falling back to BusyBox shell as follows: " Gave up waiting for root file system device. Common problems:

  • Boot args (cat /proc/cmdline)
  • Check rootdelay= (..)
  • Missing modules (cat /proc/modules; ls /dev) ALERT! UUID=XX does not exist. Dropping to a shell! "

I assume this is a rather quick fix for advanced users but too hard for me :/ Help is much much appreciated since I need to access my data rather urgently.

Many thanks in advance.

Edit: Both Win and Ubuntu run in UEFI mode. I deactivated Hybernate / Fast boot in Windows. Still falling to shell while booting Ubuntu.

In accordance to user comment I added the output of sudo blkid and lsblk -f -o +partuuid .After that there is the report from boot-repair via live session.

sudo blkid
/dev/sda1: BLOCK_SIZE="2048" UUID="2024-08-27-16-23-26-00" LABEL="Ubuntu 24.04.1 LTS amd64" TYPE="iso9660" PARTLABEL="ISO9660" PARTUUID="eed3de8a-acd3-4541-ba14-9014c007d874"
/dev/loop1: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop2: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop0: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/sda4: LABEL="writable" UUID="7ba8f5eb-459c-4775-81b1-5eb96208e392" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="1ba88122-8cb4-4515-9ad6-af24d7c251fe"
/dev/sda2: SEC_TYPE="msdos" LABEL_FATBOOT="ESP" LABEL="ESP" UUID="3C53-CAEB" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="Appended2" PARTUUID="eed3de8a-acd3-4541-ba17-9014c007d874"
/dev/nvme0n1: PTUUID="3c18016c-6841-4b50-97e2-4485ca4261e2" PTTYPE="gpt"
/dev/loop8: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop6: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop13: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop4: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop11: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop9: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop7: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/sda3: PARTLABEL="Gap1" PARTUUID="eed3de8a-acd3-4541-ba16-9014c007d874"
/dev/loop5: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop12: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop3: BLOCK_SIZE="131072" TYPE="squashfs"
/dev/loop10: BLOCK_SIZE="131072" TYPE="squashfs"

lsblk -f -o +partuuid
NAME FSTYPE FSVER LABEL                    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS PARTUUID
loop0
     squash 4.0                                                                       0   100% /rofs      
loop1
     squash 4.0                                                                                            
loop2
     squash 4.0                                                                                            
loop3
     squash 4.0                                                                       0   100% /snap/core22/1564
                                                                                                           
loop4
     squash 4.0                                                                       0   100% /snap/firefox/4793
                                                                                                           
loop5
     squash 4.0                                                                       0   100% /snap/bare/5
                                                                                                           
loop6
     squash 4.0                                                                       0   100% /snap/gnome-42-2204/176
                                                                                                           
loop7
     squash 4.0                                                                       0   100% /snap/firmware-updater/127
                                                                                                           
loop8
     squash 4.0                                                                       0   100% /snap/thunderbird/507
                                                                                                           
loop9
     squash 4.0                                                                       0   100% /snap/ubuntu-desktop-bootstrap/237
                                                                                                           
loop10
     squash 4.0                                                                       0   100% /snap/snap-store/1173
                                                                                                           
loop11
     squash 4.0                                                                       0   100% /snap/snapd-desktop-integration/178
                                                                                                           
loop12
     squash 4.0                                                                       0   100% /snap/snapd/21759
                                                                                                           
loop13
     squash 4.0                                                                       0   100% /snap/gtk-common-themes/1535
                                                                                                           
sda  iso966 Jolie Ubuntu 24.04.1 LTS amd64 2024-08-27-16-23-26-00                                          
├─sda1
│    iso966 Jolie Ubuntu 24.04.1 LTS amd64 2024-08-27-16-23-26-00                     0   100% /cdrom      eed3de8a-acd3-4541-ba14-9014c007d874
├─sda2
│    vfat   FAT12 ESP                      3C53-CAEB                                                       eed3de8a-acd3-4541-ba17-9014c007d874
├─sda3
│                                                                                                          eed3de8a-acd3-4541-ba16-9014c007d874
└─sda4
     ext4   1.0   writable                 7ba8f5eb-459c-4775-81b1-5eb96208e392   48.2G     0% /var/crash  1ba88122-8cb4-4515-9ad6-af24d7c251fe
                                                                                               /var/log    
nvme0n1
       




boot-repair-4ppa2088                                              [20260301_1528]

============================== Boot Info Summary ===============================

 => No boot loader is installed in the MBR of /dev/nvme0n1.

nvme0n1p1: _____________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 

nvme0n1p2: _____________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 

nvme0n1p3: _____________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 

nvme0n1p4: _____________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 

sda: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sda and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sda: /dev/sda already mounted or mount point busy.
       dmesg(1) may have more information after failed mount system call.


================================ 0 OS detected =================================


================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Alder Lake-P GT1 [UHD Graphics] from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04.1 LTS, noble, x86_64)

===================================== UEFI =====================================

BIOS/UEFI firmware: V1.27(1.27) from Insyde Corp.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0002,2001,2002,2003
Boot0000* Linpus lite   HD(2,GPT,eed3de8a-acd3-4541-ba17-9014c007d874,0xb8b5a0,0x27a0)/File(\EFI\Boot\grubx64.efi)RC
Boot0001* Windows Boot Manager  HD(1,GPT,c765804e-bb9d-441f-baf6-d3e9de1d12ae,0x800,0x219800)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400
Boot0002* ubuntu    HD(1,GPT,c765804e-bb9d-441f-baf6-d3e9de1d12ae,0x800,0x219800)/File(\EFI\ubuntu\shimx64.efi)
Boot2001* EFI USB Device    RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network   RC


============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________


Partitions info (1/3): _________________________________________________________


Partitions info (2/3): _________________________________________________________


Partitions info (3/3): _________________________________________________________


fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 3C18016C-6841-4B50-97E2-4485CA4261E2
             Start        End   Sectors   Size Type
nvme0n1p1      2048    2203647   2201600     1G EFI System
nvme0n1p2   2203648  510017535 507813888 242.1G Linux filesystem
nvme0n1p3 510017536  510050303     32768    16M Microsoft reserved
nvme0n1p4 510050304  998334463 488284160 232.8G Microsoft basic data
nvme0n1p5 998334464 1000212479   1878016   917M Windows recovery environment
Disk sda: 57.71 GiB, 61964550144 bytes, 121024512 sectors
Disk identifier: EED3DE8A-ACD3-4541-BA15-9014C007D874
        Start       End   Sectors  Size Type
sda1        64  12105119  12105056  5.8G Microsoft basic data
sda2  12105120  12115263     10144    5M EFI System
sda3  12115264  12115863       600  300K Microsoft basic data
sda4  12115968 121022463 108906496 51.9G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:62.0GB:scsi:512:512:gpt: USB  SanDisk 3.2Gen1:;
1:32.8kB:6198MB:6198MB::ISO9660:hidden, msftdata;
2:6198MB:6203MB:5194kB::Appended2:boot, esp;
3:6203MB:6203MB:307kB::Gap1:hidden, msftdata;
4:6203MB:62.0GB:55.8GB:ext4::;
nvme0n1:512GB:nvme:512:512:gpt:Micron_2450_MTFDKBA512TFK:;
1:1049kB:1128MB:1127MB:fat32::boot, esp;
2:1128MB:261GB:260GB:ext4::;
3:261GB:261GB:16.8MB::Microsoft reserved partition:msftres, no_automount;
4:261GB:511GB:250GB:ntfs:Basic data partition:msftdata;
5:511GB:512GB:962MB:ntfs::hidden, diag, no_automount;

blkid (filtered): ______________________________________________________________

NAME    FSTYPE   UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda     iso9660  2024-08-27-16-23-26-00                                                    Ubuntu 24.04.1 LTS amd64 
├─sda1  iso9660  2024-08-27-16-23-26-00               eed3de8a-acd3-4541-ba14-9014c007d874 Ubuntu 24.04.1 LTS amd64 ISO9660
├─sda2  vfat     3C53-CAEB                            eed3de8a-acd3-4541-ba17-9014c007d874 ESP                      Appended2
├─sda3                                                eed3de8a-acd3-4541-ba16-9014c007d874                          Gap1
└─sda4  ext4     7ba8f5eb-459c-4775-81b1-5eb96208e392 1ba88122-8cb4-4515-9ad6-af24d7c251fe writable                 
nvme0n1                                                                                                             

Mount points (filtered): _______________________________________________________

                                                              Avail Use% Mounted on
/dev/sda1                                                         0 100% /cdrom
efivarfs                                                      76.2K  70% /sys/firmware/efi/efivars

Mount options (filtered): ______________________________________________________

/dev/sda1                                                     iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

======================== Unknown MBRs/Boot Sectors/etc =========================


/dev/nvme0n1p3: unknown GPT attributes
8000000000000000
Unknown BootLoader on nvme0n1p1

Unknown BootLoader on nvme0n1p2

Unknown BootLoader on nvme0n1p3

Unknown BootLoader on nvme0n1p4




Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would not act on the boot.
How to fix lost RAM size caused by apt upgrade? https://askubuntu.com/questions/1564454/how-to-fix-lost-ram-size-caused-by-apt-upgrade

In the recent upgrade, the following packages changed:

Start-Date: 2026-02-28  19:10:05
Commandline: aptdaemon role='role-commit-packages' sender=':1.3465'
Upgrade: google-chrome-stable:amd64 (145.0.7632.109-1, 145.0.7632.116-1), software-properties-common:amd64 (0.99.49.3, 0.99.49.4), python3-software-properties:amd64 (0.99.49.3, 0.99.49.4), software-properties-gtk:amd64 (0.99.49.3, 0.99.49.4), linux-firmware:amd64 (20240318.git3b128b60-0ubuntu2.23, 20240318.git3b128b60-0ubuntu2.25), brave-browser:amd64 (1.87.190, 1.87.191)
End-Date: 2026-02-28  19:10:25 

Today, I discovered that my this upgrade caused my system 32GB of RAM to show up as 4GB of RAM. I suspect that linux-firmware:amd64 (20240318.git3b128b60-0ubuntu2.23, 20240318.git3b128b60-0ubuntu2.25) caused this issue.

How do I undo this problem?

Update:

I ran:

sudo apt install linux-firmware=20240318.git3b128b60-0ubuntu2.23

Although this older firmware failed to be installed, I did notice something related to a AMD or microcode? package had changed; sorry I did not record down the returned message from the above command to share it here.

After rebooting the system, I entered the UEFI and found that 32GB RAM did reappear there. Also, after logging into Ubuntu, I found that 32GB RAM was reported there too.

$ apt policy linux-firmware
linux-firmware:
  Installed: 20240318.git3b128b60-0ubuntu2.25
  Candidate: 20240318.git3b128b60-0ubuntu2.25
  Version table:
 *** 20240318.git3b128b60-0ubuntu2.25 500
        500 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     20240318.git3b128b60-0ubuntu2.21 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
     20240318.git3b128b60-0ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages

The above shows that the latest linux-firmware is still being used and that the previous command did not change it.

I also explore upgrading ASRock X870E Nova WiFi motherboard firmware to the latest stable version, i.e. X870ENA4.04.ROM. After this upgrade, 32GB RAM is still shown on my system.

I hope this info can help others with the same issue too.

How to install UGREEN AX900 USB WiFi adapter? https://askubuntu.com/questions/1564377/how-to-install-ugreen-ax900-usb-wifi-adapter

I have the same problem as described in previous question when installing the same WiFi adapter. I have followed the instructions exactly, but the driver installation fails.

Here is the output from lsusb.

paul@paul-Lenovo-IdeaPad-Yoga-13:~$ lsusb  
..  
Bus 003 Device 007: ID a69c:8d80 aicsemi AIC Wlan  
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub  
..  

Here is some of the output the output from the dpkg command:

$ sudo dpkg -i CM762/Linux/linux_driver_package/aic8800d80fdrvpackage.deb >ax900install.txt  
[sudo] password for paul:   
rmmod: ERROR: Module aic8800_fdrv is not currently loaded  
rmmod: ERROR: Module aic_load_fw is not currently loaded  
/bin/sh: 1: test: -lt: unexpected operator  
/bin/sh: 1: test: -lt: unexpected operator  
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.  
warning: the compiler differs from the one used to build the kernel  
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0  
  You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0  
make[5]: warning: -j4 forced in makefile: resetting jobserver mode.  
aic_load_fw/aicbluetooth.c:259:5: warning: no previous prototype for ‘aic_crc32’ [-Wmissing-prototypes]  
  259 | u32 aic_crc32(u8 *p, u32 len, u32 crc)  
      |     ^~~~~~~~~  
aic_load_fw/aicbluetooth.c: In function ‘rwnx_plat_flash_bin_upload_android’:  
aic_load_fw/aicbluetooth.c:760:15: warning: conversion from ‘long unsigned int’ to ‘u32’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow]   
  760 |     u32 crc = ~0UL;  
      |               ^  
aic_load_fw/aicbluetooth.c: At top level:  
aic_load_fw/aicbluetooth.c:900:6: warning: no previous prototype for ‘get_fw_path’ [-Wmissing-prototypes]  
  900 | void get_fw_path(char* fw_path){  
      |      ^~~~~~~~~~~  
.. 
Lots of Wmissing-prototypes messages.  
..   
aic8800_fdrv/rwnx_wakelock.c:15:12: warning: assignment to ‘struct wakeup_source *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]  
   15 |         ws = wakeup_source_create(name);  
      |            ^  
aic8800_fdrv/rwnx_msg_rx.c: In function ‘rwnx_rx_scanu_result_ind’:  
aic8800_fdrv/rwnx_msg_rx.c:792:29: warning: the comparison will always evaluate as ‘true’ for the address of ‘bssid’ will never be NULL [-Waddress]
  792 |                 if (!bss || !bss->bssid) {  
      |                             ^  
In file included from aic8800_fdrv/rwnx_defs.h:20,  
                 from aic8800_fdrv/rwnx_msg_rx.c:14:  
/usr/src/linux-headers-6.17.0-14-generic/include/net/cfg80211.h:3091:12: note: ‘bssid’ declared here  
 3091 |         u8 bssid[ETH_ALEN];  
      |            ^~~~~  
aic8800_fdrv/rwnx_msg_rx.c:797:68: warning: the comparison will always evaluate as ‘true’ for the address of ‘bssid’ will never be NULL [-Waddress]  
  797 |                         if (!scan_re_wext || !scan_re_wext->bss || !scan_re_wext->bss->bssid) {  
      |                                                                    ^  
/usr/src/linux-headers-6.17.0-14-generic/include/net/cfg80211.h:3091:12: note: ‘bssid’ declared here  
 3091 |         u8 bssid[ETH_ALEN];  
      |            ^~~~~  


aic8800_fdrv/rwnx_wakelock.c:25:9: error: implicit declaration of function ‘wakeup_source_destroy’; did you mean ‘wakeup_source_register’? [-Werror=implicit-function-declaration]  
   25 |         wakeup_source_destroy(ws);  
      |         ^~~~~~~~~~~~~~~~~~~~~  
      |         wakeup_source_register  
cc1: some warnings being treated as errors  
make[5]: *** [/usr/src/linux-headers-6.17.0-14-generic/scripts/Makefile.build:287: aic8800_fdrv/rwnx_wakelock.o] Error 1  
make[5]: *** Waiting for unfinished jobs....  
aic_load_fw/aic_compat_8800d80.c: In function ‘aicfw_download_fw_8800d80’:  
aic_load_fw/aic_compat_8800d80.c:375:31: warning: unused variable ‘patch_info’ [-Wunused-variable]  
  375 |     struct aicbt_patch_info_t patch_info = {    
  
make[4]: *** [/usr/src/linux-headers-6.17.0-14-generic/scripts/Makefile.build:556: aic8800_fdrv] Error 2  
make[4]: *** Waiting for unfinished jobs....  
aic_load_fw/aicwf_txq_prealloc.c:13:7: warning: no previous prototype for ‘aicwf_prealloc_txq_alloc’ [-Wmissing-prototypes]
   13 | void *aicwf_prealloc_txq_alloc(size_t size)  
      |       ^~~~~~~~~~~~~~~~~~~~~~~~  
aic_load_fw/aicwf_txq_prealloc.c:50:6: warning: no previous prototype for ‘aicwf_prealloc_txq_free’ [-Wmissing-prototypes]  
   50 | void aicwf_prealloc_txq_free(void)  
      |      ^~~~~~~~~~~~~~~~~~~~~~~  
make[3]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:2016: .] Error 2  
make[2]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:248: __sub-make] Error 2  
make[1]: *** [Makefile:248: __sub-make] Error 2  
make: *** [Makefile:64: modules] Error 2  
dpkg: error processing package aic8800d80fdrvpackage (--install):  
 installed aic8800d80fdrvpackage package post-installation script subprocess returned error exit status 1  
Errors were encountered while processing:  
 aic8800d80fdrvpackage  
No Sound (Dummy Output) Issue in Ubuntu 25.10 | Intel Lunar Lake-M HD Audio https://askubuntu.com/questions/1560460/no-sound-dummy-output-issue-in-ubuntu-25-10-intel-lunar-lake-m-hd-audio

After sound miraculously worked suddenly in 25.04, I have now the same problem like before in 25.10 (upgrade):

Sound shows just dummy output after boot. When loading a card profile manually ( pactl set-card-profile alsa_card.pci-0000_00_1f.3-platform-sof_sdw pro-audio ) there is no speaker in the sound test window.

Ubuntu 25.10, Linux ith-Yoga 6.17.0-7-generic,

inxi -A
Audio:
  Device-1: Intel Lunar Lake-M HD Audio driver: sof-audio-pci-intel-lnl
  API: ALSA v: k6.17.0-7-generic status: kernel-api
  Server-1: PipeWire v: 1.4.7 status: active

It might be a kernel problem (Regression in kernel 6.17.8)


Suddenly sound works but no speakers in test.

How to move Ubuntu 24.04, currently standalone, to replace Ubuntu 20.04 on a dual-boot drive https://askubuntu.com/questions/1559556/how-to-move-ubuntu-24-04-currently-standalone-to-replace-ubuntu-20-04-on-a-dua

Currently, this PC has Ubuntu 20.04 LTS in the 256 GB ext4 partition, as shown below, dual booting with Windows 10. This works well, using GRUB to select OS when booting.

Internal SSD

In the meanwhile, I've set up Ubuntu 24.04 LTS on an external SSD, using 140 GB, as shown below.

External SSD

The OS and software on the external SSD is up-to-date, customized to my preferences, and works well.

Though I can switch OS by plugging in the USB drive and changing boot order from the PC's firmware menu, my goal is to replace Ubuntu 20.04 with 24.04, still dual booting with Windows (kept for a few legacy apps, such as current and future tax software). Though I could delete the 256 GB ext4 partition of the internal, making the end of the drive unallocated, and then copy to it the 140 GB Ubuntu 24.04 ext4 partition of the external drive, I'm concerned if GRUB will find either Windows or Ubuntu partitions.

Would simply copying over the 24.04 ext4 partition work, or is there a better way to do this?

For various reasons, I'd prefer not upgrading to 22.04 and then 24.04, among them being that the OS and software on the external drive works as-is, and I have cloned it successfully to two other machines that boot Ubuntu alone.

F1 .Help me about to install dpkg Having an infinite loop problem [duplicate] https://askubuntu.com/questions/1547767/f1-help-me-about-to-install-dpkg-having-an-infinite-loop-problem
mahmoodesk@Biostar-A68N-2100K:~$ sudo apt install dpkg

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dpkg is already the newest version (1.22.6ubuntu6.1).
The following packages will be REMOVED:
  **linux-image-6.8.0-59-generic**
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 15.0 MB disk space will be freed.
Do you want to continue? [Y/n] 
E: Sub-process **dpkg --set-selections** returned an error code (100)
E: Couldn't clean the currently selected dpkg states

mahmoodesk@Biostar-A68N-2100K:~$ dpkg --set-selections

Command 'dpkg' not found, but can be installed with:
**sudo apt install dpkg**

mahmoodesk@Biostar-A68N-2100K:~$ sudo apt remove linux-image-6.8.0-59-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  **linux-image-6.8.0-59-generic**
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 15.0 MB disk space will be freed.
Do you want to continue? [Y/n] 
E: Sub-process **dpkg --set-selections** returned an error code (100)
E: Couldn't clean the currently selected dpkg states

mahmoodesk@Biostar-A68N-2100K:~$ dpkg --set-selections

Command 'dpkg' not found, but can be installed with:
**sudo apt install dpkg**
GUI for Unix talk/ntalk making it similar to WhatsApp messenger https://askubuntu.com/questions/1546086/gui-for-unix-talk-ntalk-making-it-similar-to-whatsapp-messenger

I wonder whether anyone has developed a GUI for Unix talk/ntalk making it similar to WhatsApp messenger.

Lenovo Ideapad Slim3 – internal keyboard stops working after prolonged suspend https://askubuntu.com/questions/1530145/lenovo-ideapad-slim3-internal-keyboard-stops-working-after-prolonged-suspend

I'm experiencing an issue with my Lenovo Ideapad Slim3 with a AMD CPU and graphics running the latest version of Ubuntu. When I close the laptop lid and it remains in suspend mode for an extended period, the internal laptop keyboard stops working upon waking up. The touchpad and any externally connected keyboards continue to function normally.

No Wayland with my new Ubuntu 23.04 https://askubuntu.com/questions/1470424/no-wayland-with-my-new-ubuntu-23-04

Edited: Made a mistake my version is 23.04 not 22.04. That changes everything. Will close this question as soon as new installation solves the problem.

I can't make Wayland to work on my Thinkpad A485 Laptop with Ryzen 3 AMD (previously on 20.04 it worked). I installed from the LiveUSB created with MkUSB (to have a persistent drive). But the behaviour is:

  • When i boot everything is text only till the login screen.
  • No option to change between Xorg and Wayland

Changed /etc/gdm3/custom.conf uncommenting (#) and editing so it reads:

WaylandEnable = true

Changed the file /usr/lib/udev/rules.d/61-gdm.rules commenting every single line ( # )

No luck so far. The syslog messages associated with wayland used to say:

syslog.1:2023-05-25T21:34:39.527556-06:00 thinkpad systemd[2447]: Starting org.gnome.Shell@wayland.service - GNOME Shell on Wayland...
syslog.1:2023-05-25T21:34:39.533462-06:00 thinkpad systemd[2447]: org.gnome.Shell@wayland.service: Skipped due to 'exec-condition'.
syslog.1:2023-05-25T21:34:39.533627-06:00 thinkpad systemd[2447]: Condition check resulted in org.gnome.Shell@wayland.service - GNOME Shell on Wayland being skipped.

Changed grub to include:

amdgpu.cik_support=1 amdgpu.si_support=1 radeon.si_support=0 radeon.cik_support=0
Unable to install nodemon globally on ubuntu 22.04 LTS https://askubuntu.com/questions/1456377/unable-to-install-nodemon-globally-on-ubuntu-22-04-lts

Initially I installed node using the command sudo apt install nodejs. This command installed an older version of node and npm so I removed the package using the command
sudo apt-get remove --purge nodejs.

To get the latest LTS version of nodejs I download the zip file extracted it to the path /usr/local/lib/nodejs/.

After this to set the environment variable of nodejs I took the path of nodejs bin file, then configured the path to .bashrc file which was present in the home directory.

This is how I installed the latest LTS version of nodejs and npm. I also verified the installation by checking the versions of node and npm in my system.

Now when I run npm install -g nodemon it gives me error stating that you need specific permissions to do so.

Then I tried sudo npm install -g nodemon, now it says command not found.

But I can install nodemon locally (i.e npm install nodemon works fine but still can't start the node server using nodemon). What I want is to install nodemon globally and use it to start my server

I googled around and tried several things but it didn't really work for me.

Newbie here... It's been two weeks where I have totally wiped windows from my system and installed ubuntu in it.

Ubuntu 22.04 only boot normally via recovery mode https://askubuntu.com/questions/1443718/ubuntu-22-04-only-boot-normally-via-recovery-mode

After recent upgrade (sudo apt upgrade -y) my screen resolution is stuck at 640, neither ethernet nor wifi is being detected. I tried reinstalling nvidia drivers but the problem persists.

However, when I boot to recovery mode and select the option 'Resume normal boot', everything works fine (screen resolution, network etc.)

Configuration:

OS: Ubuntu 22.04.1 LTS x86_64 
Kernel: 5.15.0-56-generic 
Uptime: 16 mins 
Packages: 2355 (dpkg), 20 (snap) 
Shell: bash 5.1.16 
Resolution: 1920x1080 
DE: GNOME 42.5 
WM: Mutter 
WM Theme: Adwaita 
Theme: Yaru [GTK2/3] 
Icons: Yaru [GTK2/3] 
Terminal: gnome-terminal 
CPU: Intel i7-3770 (8) @ 3.900GHz 
GPU: NVIDIA GeForce GT 730 
Memory: 2041MiB / 15958MiB 

Any help is highly appreciated. Thank you.

Minimal Bash Like Line Editing Is Supported Windows 11 https://askubuntu.com/questions/1422186/minimal-bash-like-line-editing-is-supported-windows-11

I have attempted to dual boot Ubuntu alongside Windows 11 on my Acer Spin-5 laptop. Everything seemed fine and dandy at first; I created a live USB, installed Ubuntu, and it actually booted up without the USB and was working!

This is where the trouble began. At some point when I was away from the computer, it had been turned off. I'm not sure if it was a hard shut-down (like holding the power button) or if the computer had been turned off from in the software, however on reboot, Linux started displaying the "Minimal Bash-like" error which I've seen is very common. I also loaded windows and noticed that it had gone into recovery mode.

I have tried several approaches to try to fix this myself, but not a single online or posted fix has worked for me thus far.

The following is what I've tried in order:

  1. Tried using boot-repair in the live USB, however the only option boot repair gave me was to make a report. It didn't seem to even recognize a problem.
  2. Checked my Partitions (Linux System is in /dev/sba5 with 40G of space.)
  3. I used a guide specifically for Acer spin-5 laptops to install Ubuntu, which is apparently tricky. The guide said that I would need to change the SATA mode to AHCI through Windows Command prompt, which I did, however this did not help the installation either.
  4. I attempted the method of mounting a root partition using sudo mount to my /dev/sba5 partition and installing grub, however this did not seem to work either (I have a UEFI system).
  5. I attempted to simply reinstall Linux using the live USB, however where the installer should have had the option to re-install Linux, it only gave me the options to erase disk, install alongside Windows, and something else.
  6. Finally I simply tried deleting the partition /dev/sba5, the Linux System File, using fdisk so I could just completely start over, however fdisk didn't recognize the partition even existing.

At this point I'm not sure where to go from here and I really appreciate any help that I might get. I will continue to update this thread as I try different solutions and receive feedback as what to try. Thanks so much for reading and any advice that you may give! :)

Resources

Updates:

  • I tried typing exit into the minimal prompt however no error message appeared. The computer just seemed to restart and boot directly into the minimal prompt as it did before. Thanks user68186 for the first attempt lol! :)
  • So I think the problem may be a result of either not having all the files required to boot present on my disk or perhaps it may be bad file locations, as in GRUB doesn't know where to look to load the kernel. The following are my partitions accessed through my live USB and there will be a picture of the set command while in GRUB.
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/loop0: 2.33 GiB, 2502324224 bytes, 4887352 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 61.89 MiB, 64901120 bytes, 126760 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 155.63 MiB, 163188736 bytes, 318728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 248.76 MiB, 260841472 bytes, 509456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 45.86 MiB, 48087040 bytes, 93920 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop6: 43.63 MiB, 45748224 bytes, 89352 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop7: 81.26 MiB, 85209088 bytes, 166424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: HFS256G39TND-N21
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: D1FF29AD-6B22-4C76-A90D-2203D0A78407

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    206847    204800   100M EFI System
/dev/sda2     206848    239615     32768    16M Microsoft reserved
/dev/sda3     239616 414169586 413929971 197.4G Microsoft basic data
/dev/sda4  498020352 500117503   2097152     1G Windows recovery environment
/dev/sda5  414171136 498020351  83849216    40G Linux filesystem

Partition table entries are not in disk order.


Disk /dev/sdb: 3.75 GiB, 4026531840 bytes, 7864320 sectors
Disk model: UDisk           
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 18929DE9-0851-4C8A-8A1B-CE3271B13118

Device     Start     End Sectors  Size Type
/dev/sdb1   2048 7864286 7862239  3.7G Microsoft basic data


Disk /dev/loop8: 284 KiB, 290816 bytes, 568 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

"Device x was not an MTP device" when using usbmount https://askubuntu.com/questions/1403302/device-x-was-not-an-mtp-device-when-using-usbmount

I am trying to setup a raspberry pi to automatically copy SD card contents when it's inserted. I have managed to manually mount the cards fine using the mount command but usbmount has so far not worked at all. At the moment I get this logged when I plug in a new device:

Apr 20 07:43:11 pi3testbench mtp-probe[839]: checking bus 1, device 9: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2.4"
Apr 20 07:43:11 pi3testbench mtp-probe[839]: bus: 1, device: 9 was not an MTP device
Apr 20 07:43:11 pi3testbench mtp-probe[840]: checking bus 1, device 9: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2.4"
Apr 20 07:43:11 pi3testbench mtp-probe[840]: bus: 1, device: 9 was not an MTP device
Apr 20 07:43:13 pi3testbench systemd-udevd[844]: sdc: Process '/usr/share/usbmount/usbmount add' failed with exit code 2.
Apr 20 07:43:13 pi3testbench usbmount[870]: /dev/sdd does not contain a filesystem or disklabel
Apr 20 07:43:13 pi3testbench systemd-udevd[846]: sdd: Process '/usr/share/usbmount/usbmount add' failed with exit code 1.

I can see the drive using lsblk fine:

pi@pi3testbench:~ $ lsblk -fp
NAME             FSTYPE FSVER LABEL  UUID                                 FSAVAIL FSUSE% MOUNTPOINT
/dev/sdb
└─/dev/sdb1      exfat  1.0

and as I said I can manually mount it and see the files.

(the following might be best as a second question but I'll put it here anyway) I have previously seen usbmount run mount commands but the drive contents never appears. I tried running exactly the same mount commands and they work fine but they don't work when run by usbmount. This was alos with a "not an MTP device" error so perhaps this issue will be resolved when the MTP device issue is fixed.

I did try some suggestions I found such as modifying the /etc/usbmount/usbmount.conf and changing the options used for different file systems but that didn't help. I have tried several different usb sticks and SD cards from different manufacturers but they all have the same problem.

Impossible to install MySQL 5.7 on Ubuntu 20.04 https://askubuntu.com/questions/1325975/impossible-to-install-mysql-5-7-on-ubuntu-20-04

This is what I've done so far on a fresh Ububntu 20.04 installation:
wget https://dev.mysql.com/get/mysql-apt-config_0.8.12-1_all.deb

sudo dpkg -i mysql-apt-config_0.8.12-1_all.deb

In the prompt, I chose Ubuntu Bionic.
In the next prompt, I selected MySQL 5.7 server.
The next prompt selects MySQL5.7 by default. I chose the last option Ok.

sudo apt-get update

sudo apt-cache policy mysql-server

mysql-server:
  Installed: (none)
  Candidate: 8.0.23-0ubuntu0.20.04.1
  Version table:
     8.0.23-0ubuntu0.20.04.1 500
        500 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages
     8.0.19-0ubuntu5 500
        500 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 Packages
     5.7.33-1ubuntu18.04 500
        500 http://repo.mysql.com/apt/ubuntu bionic/mysql-5.7 amd64 Packages

Than I tried to install the MySQL 5.7.32 server:
sudo apt-get install -f mysql-client=5.7.32-1ubuntu18.04

But here is the response:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '5.7.32-1ubuntu18.04' for 'mysql-server' was not found

So what can I do ?
Can someone help me ?

Detect and fix slow startup on Ubuntu 20.04 https://askubuntu.com/questions/1280508/detect-and-fix-slow-startup-on-ubuntu-20-04

I'm lately having slow startup times (90sec vs 20sec in the past) since I upgraded from Ubuntu 18.04 to 20.04.

I'm on Ubuntu 20.04.1 LTS 64-bit. I'm working on a hybrid SSD (120GB) + HHD (500GB) system, Intel Core i3-6100U CPU @ 2.30GHz × 4 and 8GB of RAM DDR4. My partitions are: SSD: 249MB EFI (/boot/efi), 40GB FileSystem (/), 8GB Swap and 72 GB FileSystem (/home). The HDD is not mounted.

I've formatted my system and re-installed Ubuntu, but the booting time is pretty much the same. I also tried to Open /etc/fstab (as superuser), remove (or comment out) the line contains old swap partition, set up a new swap:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdc2 during installation
UUID=cf116583-5203-458c-855e-6f412a1ba35d /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdc1 during installation
UUID=4C04-C9BD  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sdc4 during installation
UUID=a5f9b844-bb2a-49e0-9a8e-d88c76eeb832 /home           ext4    defaults        0       2
# swap was on /dev/sdc3 during installation
# UUID=3bd915e8-cdd5-4ffd-a477-b355a73d53b3 none            swap    sw              0       0

And, I also cancelled the Press Ctrl+C to cancel all filesystem checks in progress message at the booting by adding fsck.mode=skip to /etc/default/grub.

Here are some commands I ran for troubleshooting along with their respective output:

$ systemd-analyze time
Startup finished in 23.446s (firmware) + 9.900s (loader) + 5.114s (kernel) + 41.224s (userspace) = 1min 19.686s 
graphical.target reached after 40.975s in userspace
$ systemd-analyze blame
24.614s plymouth-quit-wait.service                                                               
11.743s dev-sdb2.device                                                                          
10.361s snapd.service                                                                            
 9.676s NetworkManager-wait-online.service                                                       
 6.549s dev-loop8.device                                                                         
 6.492s dev-loop10.device                                                                        
 6.460s dev-loop9.device                                                                         
 6.413s dev-loop11.device                                                                        
 4.894s dev-loop0.device                                                                         
 4.856s dev-loop4.device                                                                         
 4.707s dev-loop2.device                                                                         
 4.705s dev-loop1.device                                                                         
 4.693s dev-loop6.device                                                                         
 4.688s dev-loop3.device                                                                         
 4.582s dev-loop7.device                                                                         
 4.526s dev-loop5.device                                                                         
 3.761s upower.service                                                                           
 3.310s systemd-rfkill.service                                                                   
 2.588s udisks2.service                                                                          
 2.232s fwupd.service                                                                            
 2.108s systemd-logind.service                                                                   
 2.025s accounts-daemon.service                                                                  
 1.931s networkd-dispatcher.service                                                              
 1.497s user@1000.service                                                                        
 1.383s polkit.service                                                                           
 1.264s avahi-daemon.service                                                                     
 1.223s bluetooth.service                                                                        
 1.214s NetworkManager.service                                                                   
 1.119s systemd-resolved.service                                                                 
 1.037s switcheroo-control.service                                                               
 1.022s apport.service                                                                           
 1.009s keyboard-setup.service                                                                   
  954ms systemd-timesyncd.service                                                                
  900ms systemd-journald.service                                                                 
  868ms snapd.apparmor.service                                                                   
  826ms systemd-udev-trigger.service                                                             
  822ms grub-common.service

In the following command the time when unit became active or started is printed after the @ character. The time the unit took to start is printed after the + character.

$ systemd-analyze critical-chain
graphical.target @40.975s
└─multi-user.target @40.956s
  **└─kerneloops.service @25.596s +293ms**
    └─network-online.target @25.548s
      **└─NetworkManager-wait-online.service @15.866s +9.676s
        └─NetworkManager.service @14.638s +1.214s**
          └─dbus.service @14.590s
            └─basic.target @14.444s
              └─sockets.target @14.443s
                **└─snapd.socket @14.434s +6ms**
                  └─sysinit.target @14.374s
                    **└─snapd.apparmor.service @13.504s +868ms**
                      └─apparmor.service @13.042s +452ms
                        └─local-fs.target @13.032s
                          └─run-user-1000-doc.mount @30.724s
                            └─run-user-1000.mount @18.199s
                              └─swap.target @12.881s
                                **└─dev-sdb3.swap @12.750s +114ms**
                                  └─dev-sdb3.device @12.730s

Please, take into account that I'm a general user of Ubuntu, so practical solutions will be appreciated.

EDIT 16:35 2020/10/06

Screenshots and info asked by @heynnema:

$ grep -i swap /etc/fstab
# swap was on /dev/sdc3 during installation
UUID=316dc5cd-e888-48b8-868a-0e5d6072e480 none            swap    sw              0       0
$ sudo blkid
/dev/sdb2: UUID="cf116583-5203-458c-855e-6f412a1ba35d" TYPE="ext4" PARTUUID="8767a42b-380a-45af-87f9-84c9fe0a6bc4"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sda1: LABEL="HDD" UUID="42365cfd-df11-4b02-9f9b-9047da487338" TYPE="ext4" PARTUUID="ee264f0e-6367-4360-9216-a3b24c63d56b"
/dev/sdb1: UUID="4C04-C9BD" TYPE="vfat" PARTUUID="8648f750-04c5-4508-8b4e-82f7b947e6b9"
/dev/sdb3: UUID="316dc5cd-e888-48b8-868a-0e5d6072e480" TYPE="swap" PARTLABEL="lol" PARTUUID="86bf4b4a-0d1e-4341-94fb-c674c1c39b88"
/dev/sdb4: UUID="a5f9b844-bb2a-49e0-9a8e-d88c76eeb832" TYPE="ext4" PARTUUID="3833323d-93a2-4961-9ba8-a3aee724153e"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
$ ls -al /var/crash
total 8
drwxrwsrwt  2 root whoopsie 4096 jul 31 18:31 .
drwxr-xr-x 14 root root     4096 jul 31 18:35 ..

Screenshots from GParted and Disks (SMART):

01_disks_smart_SSD

02_disks_smart_SSD

disks_smart_HDD

gparted_sda

gparted_sdb

EDIT 18:07 2020-10-06

@heynnema here are the last requests:

$ systemctl status plymouth-quit-wait
     Loaded: loaded (/lib/systemd/system/plymouth-quit-wait.service; stat>
     Active: inactive (dead) since Tue 2020-10-06 17:11:13 CEST; 42min ago
     Process: 1056 ExecStart=/bin/plymouth --wait (code=exited, status=0/S>   
   Main PID: 1056 (code=exited, status=0/SUCCESS)

oct 06 17:10:48 matheus-Vostro-15-3568 systemd[1]: Starting Hold until bo>
oct 06 17:11:13 matheus-Vostro-15-3568 systemd[1]: plymouth-quit-wait.ser>
oct 06 17:11:13 matheus-Vostro-15-3568 systemd[1]: Finished Hold until bo>
$ free -h
              total        used        free      shared  buff/cache   available
Mem:          7,6Gi       1,9Gi       3,9Gi       196Mi      1,9Gi       5,3Gi
Swap:         7,4Gi          0B       7,4Gi
$ sysctl vm.swappiness
vm.swappiness = 60
$ ls -al /
total 84 
drwxr-xr-x 20 root root   4096 oct 5 23:57 . 
drwxr-xr-x 20 root root   4096 oct 5 23:57 .. 
lrwxrwxrwx 1 root root       7 oct 5 23:49 bin -> usr/bin 
drwxr-xr-x 4 root root    4096 oct 6 00:09 boot 
drwxrwxr-x 2 root root    4096 oct 5 23:57 cdrom 
drwxr-xr-x 21 root root   4540 oct 6 17:10 dev 
drwxr-xr-x 127 root root 12288 oct 6 16:20 etc 
drwxr-xr-x 4 root root    4096 oct 5 23:58 home 
lrwxrwxrwx 1 root root       7 oct 5 23:49 lib -> usr/lib 
lrwxrwxrwx 1 root root       9 oct 5 23:49 lib32 -> usr/lib32 
lrwxrwxrwx 1 root root       9 oct 5 23:49 lib64 -> usr/lib64 
lrwxrwxrwx 1 root root      10 oct 5 23:49 libx32 -> usr/libx32 
drwx------ 2 root root   16384 oct 5 23:48 lost+found 
drwxr-xr-x 3 root root    4096 oct 6 16:49 media 
drwxr-xr-x 2 root root    4096 jul 31 18:27 mnt 
drwxr-xr-x 2 root root    4096 jul 31 18:27 opt 
dr-xr-xr-x 251 root root     0 oct 6 17:10 proc 
drwx------ 6 root root    4096 oct 6 00:19 root 
drwxr-xr-x 34 root root    880 oct 6 17:11 run 
lrwxrwxrwx 1 root root       8 oct 5 23:49 sbin -> usr/sbin 
drwxr-xr-x 12 root root   4096 oct 6 02:15 snap 
drwxr-xr-x 2 root root    4096 jul 31 18:27 srv 
dr-xr-xr-x 13 root root      0 oct 6 17:10 sys 
drwxrwxrwt 21 root root   4096 oct 6 17:57 tmp 
drwxr-xr-x 14 root root   4096 jul 31 18:28 usr 
drwxr-xr-x 14 root root   4096 jul 31 18:35 var
$ sudo dmidecode -s bios-version
2.6.0

Exact make/model # of my computer/motherboard: DELL vVstro 15 3568, i3-6100u

EDIT 18:05 2020-10-08

Messages shown when pressing Esc at boot:

         Starting Permit User Sessions...
[  OK  ] Finished OpenVPN service.
[  OK  ] Started Switcheroo Control Proxy service.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Authorization Manager.
         Starting Modem Manager...
         Starting Save/Restore Sound Card State...
         Starting GNOME Display Manager...
         Starting Hold until boot process finishes up...
         Starting Hostname Service...
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Started Accounts Service.
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Reached target Sound Card.
[  OK  ] Started Login Service.
[  OK  ] Started Unattended Upgrades Shutdown.
[  OK  ] Started GNOME Display Manager.
[  OK  ] Started Modem Manager.
rsyslog.service
bluetooth.service
thermald.service
wpa_supplicant.service
avahi-daemon.service
[  OK  ] Started LSB: automatic crash report generation.
[  OK  ] Started LSB: Record successful boot for GRUB.
cups-browsed.service
NetworkManager.service
openvpn.service
switcheroo-control.service
systemd-user-sessions.service
polkit.service
networkd-dispatcher.service
accounts-daemon.service
alsa-restore.service
systemd-logind.service
unattended-upgrades.service
gdm.service
ModemManager.service
apport.service
grub-common.service
[   22.370810] pcieport 0000:00:1c.0: AER: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[   22.376896] pcieport 0000:00:1c.0: AER:   device [8086:9d14] error status/mask=00000081/00002000
[   22.383223] pcieport 0000:00:1c.0: AER:    [ 0] RxErr
[   22.389376] pcieport 0000:00:1c.0: AER:    [ 7] BadDLLP
[   22.404935] pcieport 0000:00:1c.0: AER: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[   22.410805] pcieport 0000:00:1c.0: AER:   device [8086:9d14] error status/mask=00000001/00002000
[   22.417034] pcieport 0000:00:1c.0: AER:    [ 0] RxErr
How to activate fingerprint on ubuntu 20.04 for login? https://askubuntu.com/questions/1244053/how-to-activate-fingerprint-on-ubuntu-20-04-for-login

I couldn't able to enable the fingerprint by Settings->Users->Authentication & Login.

When doing like above I getting error like "Could not access any fingerprint readers Please contact your system administrator for help!"

Can anyone help to enable it.

Can't ping own machine using public IP or registered domain name https://askubuntu.com/questions/1203624/cant-ping-own-machine-using-public-ip-or-registered-domain-name

I try to ping my newly set up Ubuntu 18 server (running as VPS at some hosting provider) from the command line after I ssh into the machine. Both when using the public IP address (196.189.91.144) or the registered domain name (swapme.et) the just ping times out.

As I am a bit ignorant when it comes to server configuration, I'm lost and surprised this is not working, especially since I haven't had the same issue on previous VPS-servers I have fiddled with.

Do I need to do some extra manual configuration to get the loopback working? I thought it was possible to ping yourself using the public IP or domain name, out of the box(?)

This is what I have right now and what I can think of is relevant info for the solving the problem:

/etc/hostname

etisp

/etc/hosts

127.0.0.1   localhost.localdomain   localhost
::1     localhost6.localdomain6 localhost6

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

$ ifconfig -a

ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.180.53.144  netmask 255.255.255.0  broadcast 10.180.53.255
        inet6 fe80::f816:3eff:fe43:32d6  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:43:32:d6  txqueuelen 1000  (Ethernet)
        RX packets 4478573  bytes 324094022 (324.0 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 279023  bytes 41316618 (41.3 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 730566  bytes 43043266 (43.0 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 730566  bytes 43043266 (43.0 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Firewall rules

Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
22/tcp (OpenSSH)           ALLOW IN    Anywhere
80/tcp                     ALLOW IN    Anywhere
443/tcp                    ALLOW IN    Anywhere
80,443/tcp (Nginx Full)    ALLOW IN    Anywhere
22/tcp (OpenSSH (v6))      ALLOW IN    Anywhere (v6)
80/tcp (v6)                ALLOW IN    Anywhere (v6)
443/tcp (v6)               ALLOW IN    Anywhere (v6)
80,443/tcp (Nginx Full (v6)) ALLOW IN    Anywhere (v6)

Note that pinging other servers is working and pinging the public ip address and domain name from another machine is working

Thanks!

unable to connect mongodb https://askubuntu.com/questions/939146/unable-to-connect-mongodb

when i am trying to run 'sudo service mongo start' then output is 'Failed to start mongod.service: Unit mongod.service not found.'

the output of mongo is-:

x2@jj2:~$ mongo
MongoDB shell version: 3.0.15
connecting to: test
2017-07-24T12:59:56.386+0530 W NETWORK  Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: errno:111 Connection refused
2017-07-24T12:59:56.388+0530 E QUERY    Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed
    at connect (src/mongo/shell/mongo.js:179:14)
    at (connect):1:6 at src/mongo/shell/mongo.js:179
exception: connect failed

and status is :-

x2@jj2:~$ sudo service mongodb status
● mongodb.service - High-performance, schema-free document-oriented database
   Loaded: loaded (/etc/systemd/system/mongodb.service; enabled; vendor preset: 
   Active: failed (Result: exit-code) since Mon 2017-07-24 13:06:05 IST; 9min ag
  Process: 29210 ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf (co
 Main PID: 29210 (code=exited, status=1/FAILURE)

Jul 24 13:06:05 x2 systemd[1]: Started High-performance, schema-free docu
Jul 24 13:06:05 x2 systemd[1]: mongodb.service: Main process exited, code
Jul 24 13:06:05 x2 systemd[1]: mongodb.service: Unit entered failed state
Jul 24 13:06:05 x2 systemd[1]: mongodb.service: Failed with result 'exit-
Ubuntu Server on IBM x3200 m3 https://askubuntu.com/questions/912172/ubuntu-server-on-ibm-x3200-m3

I would like to buy an IBM x3200 m3 Server. Is it possible to install a version of Ubuntu Server on it?

Not able to connect to school wifi network in Ubuntu 16.04 - need to edit ca-certificate https://askubuntu.com/questions/907477/not-able-to-connect-to-school-wifi-network-in-ubuntu-16-04-need-to-edit-ca-cer

My school asks us to do this to connect to the wifi in the ca-certificate

Search for the line:

system-ca-certs=true

Change this line to:

system-ca-certs=false

The problem is that I cannot find this line in the ca-certificate.

I can't connect to the network. A dialogue box pops up every time asking for my user id and password for the school wifi, I enter the right credentials but it doesn't work.

P.S There is no problem in connecting to my home wifi network.

these are [the instructions given by my school][1] for connecting to the wifi

The settings are:

  • Security Type: WPA2 Enterprise
  • Username: ldap-Username
  • Password: ldap-Password
  • Authentication: PEAP
  • PEAP version: automatic
  • Inner authentication: MSCHAPV2
  • ca-certificate: none

Note: For Ubuntu 14.04 users-

The ca-certificate settings has to be changed to false. This may be done in the following way:

Open the file in an editor of your choice: /etc/NetworkManager/system-connections/IITB-Wireless

Search for the line:

system-ca-certs=true

Change this line to:

system-ca-certs=false

THIS IS THE CA_CERTIFICATE

[connection]
id=IITB-Wireless
uuid=xxxxxxxxx
type=wifi
permissions=
secondaries=

[wifi]
mac-address=D8:5D:E2:BC:D2:05
mac-address-blacklist=
mac-address-randomization=0
mode=infrastructure
seen-bssids=
ssid=IITB-Wireless

[wifi-security]
group=
key-mgmt=wpa-eap
pairwise=
proto=

[802-1x]
altsubject-matches=
ca-cert=/usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt
eap=ttls;
identity=xxxxxxx
password=xxxxxxx
phase2-altsubject-matches=
phase2-autheap=mschapv2

[ipv4]
dns-search=
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=auto
How do I get hardware info about my laptop camera? https://askubuntu.com/questions/709796/how-do-i-get-hardware-info-about-my-laptop-camera

I want to know if there is any way to extract hardware specific information about the built-in webcam in my system from the Ubuntu command line.

Basically, I want to extract the field of view and focal length of the camera, to use in another program. Is this info even stored?

Thanks!

How to purge and competely reinstall tryton https://askubuntu.com/questions/696310/how-to-purge-and-competely-reinstall-tryton

I made a mistake when trying to install Tryton. I think I deleted an important part of a text file when trying to configure it.This is the error message I get: enter image description here I didn't realize that the username was admin, that was where the trouble started. It just won't open up at all any more. I have tried these commands

sudo add-apt-repository --remove ppa:rayanayar/tryton-3.6
sudo apt-get purge tryton-modules-account
sudo apt-get purge sudo apt-get purge tryton-modules-account-product

The problem may be that I do not know how to purge neso. This is because in the software center it says Neso and there is not a command line name there.

I wish to purge and completely reinstall Tryton. How do you do this without doing a complete reinstall of the system?

How do I boot a Linux LiveCD on a Lenovo Yoga? https://askubuntu.com/questions/585886/how-do-i-boot-a-linux-livecd-on-a-lenovo-yoga

I just bought the book Hacking: The Art of Exploitation and it comes with a Linux LiveCD that is pre-installed with Ubuntu and a bunch of Source Code. on my desktop computer(running Windows 7) I insert the disc and reboot and it loads. When I insert the disc into my external DVD drive connected to my Lenovo Yoga(Running Windows 8.1) and reboot, it boots directly to Windows. How do I get it to boot to the LiveCD?

After upgrading to Ubuntu 1310 I cannot used a period https://askubuntu.com/questions/371147/after-upgrading-to-ubuntu-1310-i-cannot-used-a-period

I upgraded to Ubuntu 1310 and now the period doesn't work on my keyboard