How unsafe is it to always update, upgrade, and autoremove? https://askubuntu.com/questions/1561941/how-unsafe-is-it-to-always-update-upgrade-and-autoremove

I am using Ubuntu for many years now and feel relatively safe that I could recover from weirder mistakes/problems as well (with the help of this forum e.g.). However, over the time some relatives and friends have also begun using Ubuntu, initially with my help. Can I just tell them to run

sudo apt update && sudo apt upgrade && sudo apt autoremove

once a week? (potentially with the -y flags)

What are the problems that could come up? As far as I understand autoremove always keeps a "backup" kernel as well. These are regular users, they are doing nothing special like managing a server, it's only their private machines.

How to fix the message qt.svg: /path/to/icon.svg:150:32: Could not add child element to parent element because the types are incorrect? https://askubuntu.com/questions/1561939/how-to-fix-the-message-qt-svg-path-to-icon-svg15032-could-not-add-child-ele

In my Qt app, I display the svg icon in the about page.

While the icon is displayed correctly, I get the following error message in terminal:

qt.svg: /usr/share/icons/hicolor/scalable/apps/io.github.archisman_panigrahi.QuickBib.svg:150:32: Could not add child element to parent element because the types are incorrect. 

How to fix this error?

How to restore the conservative interface on the latest versions of Ubuntu, like the one in version 14.04 https://askubuntu.com/questions/1561936/how-to-restore-the-conservative-interface-on-the-latest-versions-of-ubuntu-like

I'm talking about this interface.

enter image description here

I used to control my "sound laptop" via x11vnc, but upgraded it to 25.10 https://askubuntu.com/questions/1561934/i-used-to-control-my-sound-laptop-via-x11vnc-but-upgraded-it-to-25-10

Wired connections rule, in my world.
And I had my "old" laptop connected to amp and mixer , all working good with x11vnc. All my laptops then on 24.04.

Curious about new upgrades, I used to alfa and beta test, I upgraded to 25.10 and found that wayland does not play by the same rules. Earlier setup is not working.
Immediately I remembered I had done same before, different upgrades on server/client leading to workaround, but then I could fix it.

My main lap is Ubuntu 24.04.3 LTS, my server is 25.10

How do I get a remote connection, mostly streaming, to work again?
Do I have to upgrade my main from LTS?
Superhappy if I could get help about how to get this working again :)

Armenian keyboard support https://askubuntu.com/questions/1561931/armenian-keyboard-support

Does Ubuntu Ubuntu 24.04.3 LTS support Armenian language?

I cannot add Armenian language to keyboard.

Best regards,

Vahan Aghavelyan

Black screen when accessing Ubuntu 24.04 Desktop VM via web console https://askubuntu.com/questions/1561929/black-screen-when-accessing-ubuntu-24-04-desktop-vm-via-web-console

I deployed a fresh virtual machine using the Ubuntu 24.04 Desktop ISO.

The installation completed successfully, and the VM boots without any visible errors. However, when I try to access the GUI through the web console, the screen shows only a loading screen, as shown in the attached screenshot.

Even though the GUI does not load, the VM appears to be running normally — pinging the VM’s IP address is successful.

What I’ve tried:

  • Rebooting the VM

  • Reconnecting to the web console

  • Increasing the video memory from the default 8 MB to 12 MB

Has anyone encountered this issue with Ubuntu 24.04 Desktop in a virtualized environment?

Are there any known display or graphics-related issues, or recommended configurations to resolve this?

enter image description here

Software recommendation for a desktop environment for a Samsung touchscreen device https://askubuntu.com/questions/1561922/software-recommendation-for-a-desktop-environment-for-a-samsung-touchscreen-devi

I'm looking for a software recommendation for a desktop environment for a Samsung touchscreen device. Samsung calls it a tablet, but it also has a detachable keyboard that permits it to be used as a laptop. The most important factor for me is to have a good user experience while using the touchscreen.

How to disable warnings during `apt install`s to better locate errors? https://askubuntu.com/questions/1561913/how-to-disable-warnings-during-apt-installs-to-better-locate-errors

I am attempting to install and run cmake 4.2. Several warnings repeatedly appear, some of which I think I could fix once I complete the installation. How can I suppress these messages? This would allow me to better locate any error messages.

Raspberry Pi 5 & Ubuntu 25.10, How to disable USB auto-suspend? https://askubuntu.com/questions/1561910/raspberry-pi-5-ubuntu-25-10-how-to-disable-usb-auto-suspend

Please help, I'm new to Linux, trying to escape from Microsoft Windows:

I have Ubuntu installed on a Raspberry Pi 5, this was done via the Raspberry Pi Imager and selecting Ubuntu Desktop to image its SD card.

It booted and updated OK. Overall, running well until I ran into the power management problem.

Just a few of my USB devices would not recover though. That is good but I have no GUI option to stop it over when back to wake state.

No sleep in power setting

There is no GUI option to disable it even though it is not a portable device.

I found also that my PI 5 does not use GRUB so I could not use any of those posted solutions.

So, how can I get USB auto-suspend turned off?

Booting problem with 24.04 https://askubuntu.com/questions/1561903/booting-problem-with-24-04

Today, I installed Ubuntu on my desktop PC. It works well, but when I reboot, it can't find the boot files, so I have to go into the BIOS boot menu and select my SSD every time I want to start my system.

How to have "<?>" and "<+>" in a ~/.XCompose file? https://askubuntu.com/questions/1561882/how-to-have-and-in-a-xcompose-file

I added some entries to my ~/.XCompose file and they work fine.

Except, those with <?>, <+>, and <*> seem to be ignored (perhaps others too).

Significantly, when editing it in vim, rather than the usual red colour, those three sequences are displayed in white:

XCompose file in vim, with <?>, <+>, and <*> in a different colour.

I couldn't find any documentation saying that these characters are disallowed, or how one should enter them.

HPLIP scan issues on Raspberry PI 3B+ https://askubuntu.com/questions/1561847/hplip-scan-issues-on-raspberry-pi-3b

I am not able to get scanning working on my HP Smart Tank 523 printer. Printing works fine, but scanning always fails with a SANE error (logs screenshot attached). I also think it is a known problem on ARM devices where printing works fine but scanning fails.

I have tried both the package version (3.23.10) and manually installing other versions of HPLIP (3.25.6), (3.25.8) on Ubuntu Server 24.04. Does anyone here have a fix?

enter image description here

How to fix terrible theme in Qt6 apps installed via snap? https://askubuntu.com/questions/1560676/how-to-fix-terrible-theme-in-qt6-apps-installed-via-snap

I created a software called QuickBib, and I also made a snap package. Here is the yml file for snap. It is a python app using pyqt6.

The snap package gets a theme that looks like Windows 95. The APT package, of course, uses the correct system theme. Even the flatpak adheres to the system theme.

How to fix the theme in the snap package of my app?

I am using Kubuntu 24.04.

Grub bootloader doesn't show up anymore https://askubuntu.com/questions/1560636/grub-bootloader-doesnt-show-up-anymore

I recently installed Ubuntu 24.03.3 LTS on a new bought Lenovo IdeaPad 5 2-in-1 14IAL10, alongside Windows 11. Everything worked fine (except the Realtek sound card, but that's another issue) until after two days the bootloader didn't show up anymore. It's not listed in the bios either. The only option there is the Windows bootloader. I can still log in the Windows 11 partition, but not anymore into Ubuntu. With an Ubuntu live edition I downloaded "Boot repair" and got the following report:

boot-repair-4ppa2081                                              [20251208_1536]

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

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

nvme0n1p1: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/mmx64.efi 
                       /efi/Microsoft/Boot/SecureBootRecovery.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

nvme0n1p2: _____________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 

nvme0n1p3: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 8 or 10
    Boot files:        /Windows/System32/winload.exe

nvme0n1p4: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

nvme0n1p5: _____________________________________________________________________

    File system:       
    Boot sector type:  -
    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.


================================ 1 OS detected =================================

OS#1 (windows):   Windows 8 or 10 on nvme0n1p3

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

CPU architecture: 64-bit
Video: Arrow Lake-U [Intel Graphics] from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04.3 LTS, noble, x86_64)

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

BIOS/UEFI firmware: RBCN20WW(1.20) from LENOVO
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: 2001,0003,2002,2003
Boot0000* EFI USB Device (KingstonDT 101 G2)    UsbWwid(951,1642,0,001CC0EC34F1FAC1B7E3143)/HD(2,GPT,b5416491-a6d3-42b2-a3f4-260427bcf601,0xbcf500,0x27b0)RC
Boot0003* Windows Boot Manager  HD(1,GPT,1ed5da32-f79a-4135-9767-74ed4fe68ff5,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400
Boot2001* EFI USB Device    RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network   RC

07e25dcaf57c776875f78fa36827c58e   nvme0n1p1/Boot/bootx64.efi
39bc76ff6662f4fbe9aa116e4c997b41   nvme0n1p1/Boot/fbx64.efi
4ba5a5aad43c197e9fb58b76b404d287   nvme0n1p1/Boot/mmx64.efi
2460f2fe283f93b48d7618e4d8fcf05e   nvme0n1p1/Microsoft/Boot/SecureBootRecovery.efi
5a2a56ec90a9e18a186e8aecf57515f5   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
cee6ba033a2c963880f0d92778ed36a7   nvme0n1p1/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

nvme0n1 : is-GPT,   no-BIOSboot,    has---ESP,  not-usb,    not-mmc, has-os,    has-win,    2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

nvme0n1p1   : no-os,    64, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   not-far
nvme0n1p3   : is-os,    64, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   end-after-100GB
nvme0n1p4   : no-os,    64, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   end-after-100GB
nvme0n1p5   : no-os,    64, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   end-after-100GB

Partitions info (2/3): _________________________________________________________

nvme0n1p1   : is---ESP, part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot, vfat
nvme0n1p3   : isnotESP, part-has-no-fstab,  no-nt,  haswinload, no-recov-nor-hid,   no-bmgr,    notwinboot, ntfs
nvme0n1p4   : isnotESP, part-has-no-fstab,  no-nt,  no-winload, recovery-or-hidden, no-bmgr,    notwinboot, ntfs
nvme0n1p5   : isnotESP, part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot, 

Partitions info (3/3): _________________________________________________________

nvme0n1p1   : not--sepboot, no-kernel,  part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  no--grub.d, nvme0n1
nvme0n1p3   : not--sepboot, no---boot,  part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  no--grub.d, nvme0n1
nvme0n1p4   : not--sepboot, no---boot,  part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  no--grub.d, nvme0n1
nvme0n1p5   : maybesepboot, no---boot,  part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  no--grub.d, nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk identifier: C6F83763-09F9-4B27-A7D6-952947FC5267
              Start        End    Sectors   Size Type
nvme0n1p1       2048     534527     532480   260M EFI System
nvme0n1p2     534528     567295      32768    16M Microsoft reserved
nvme0n1p3     567296  222046207  221478912 105.6G Microsoft basic data
nvme0n1p4 1996312576 2000408575    4096000     2G Windows recovery environment
nvme0n1p5  222046208 1996312575 1774266368   846G Linux filesystem
Partition table entries are not in disk order.
Disk sda: 7.45 GiB, 7995197440 bytes, 15615620 sectors
Disk identifier: B5416491-A6D3-42B2-A3F6-260427BCF601
        Start      End  Sectors  Size Type
sda1        64 12383487 12383424  5.9G Microsoft basic data
sda2  12383488 12393647    10160    5M EFI System
sda3  12393648 12394247      600  300K Microsoft basic data
sda4  12394496 15613951  3219456  1.5G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:7995MB:scsi:512:512:gpt:Kingston DT 101 G2:;
1:32.8kB:6340MB:6340MB::ISO9660:hidden, msftdata;
2:6340MB:6346MB:5202kB::Appended2:boot, esp;
3:6346MB:6346MB:307kB::Gap1:hidden, msftdata;
4:6346MB:7994MB:1648MB:ext4::;
nvme0n1:1024GB:nvme:512:512:gpt:SAMSUNG MZAL81T0HFLB-00BL2:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:114GB:113GB:ntfs:Basic data partition:msftdata;
5:114GB:1022GB:908GB:::;
4:1022GB:1024GB:2097MB:ntfs:Basic data partition:hidden, diag, no_automount;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda         iso9660  2025-08-05-18-20-26-00                                                    Ubuntu 24.04.3 LTS amd64 
├─sda1      iso9660  2025-08-05-18-20-26-00               b5416491-a6d3-42b2-a3f7-260427bcf601 Ubuntu 24.04.3 LTS amd64 ISO9660
├─sda2      vfat     73B7-988D                            b5416491-a6d3-42b2-a3f4-260427bcf601 ESP                      Appended2
├─sda3                                                    b5416491-a6d3-42b2-a3f5-260427bcf601                          Gap1
└─sda4      ext4     5e7f783e-fa91-499c-ba85-947fa6bada52 3795c79d-7169-40de-9751-4d9490da2d35 writable                 
nvme0n1                                                                                                                 
├─nvme0n1p1 vfat     5C17-39E0                            1ed5da32-f79a-4135-9767-74ed4fe68ff5 SYSTEM_DRV               EFI system partition
├─nvme0n1p2                                               c9f71b0a-b454-449c-82b4-73d192717260                          Microsoft reserved partition
├─nvme0n1p3 ntfs     3AC417C7C41783F3                     1820a08c-b60e-4652-a352-ab9c22ee9b00 Windows-SSD              Basic data partition
├─nvme0n1p4 ntfs     4A8C181E8C18075B                     f0089e24-1ec3-4b7b-bfd4-95b3b32111d7 WINRE_DRV                Basic data partition
└─nvme0n1p5                                               d6783c6f-3105-4772-a296-31f45f34337a                          

Mount points (filtered): _______________________________________________________

                                                               Avail Use% Mounted on
/dev/nvme0n1p1                                                  207M  19% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p3                                                 20.1G  81% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4                                                  1.3G  35% /mnt/boot-sav/nvme0n1p4
/dev/sda1                                                          0 100% /cdrom
efivarfs                                                      107.9K  58% /sys/firmware/efi/efivars

Mount options (filtered): ______________________________________________________

/dev/nvme0n1p1                                                vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p3                                                fuseblk         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p4                                                fuseblk         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda1                                                     iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

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


/dev/nvme0n1p4: unknown GPT attributes
8000000000000001



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would not act on the MBR.
Additional repair would be performed:  win-legacy-basic-fix

(copied from https://paste.ubuntu.com/p/JhZQ9w8JSV/)

Does anybody have an idea what to do? Thanks for input on the issue.

Running Ubuntu 24.04.3 LTS Kernel 6.11. Is it safe to upgrade to 6.14? https://askubuntu.com/questions/1556475/running-ubuntu-24-04-3-lts-kernel-6-11-is-it-safe-to-upgrade-to-6-14

I just noticed a new kernel version is available via apt-cache search linux-image (6.14.x)

From what I understand, this is the latest LTS version of the kernel, and is suppored/shipped with the latest Ubuntu 24.04.3 (my system was upgraded from 24.04.1 over time).

Just curious before I upgrade if there's anything I should be wary of when upgrading/if anyone in a similar situation upgraded and had success/issues when updating the kernel?

Launchpad login issues https://askubuntu.com/questions/1477724/launchpad-login-issues

This should almost certainly be on Meta. Apologies, I had to create a new account to submit this question because of the issues below. Can a moderator please move this?

Stack Exchange appears to have automatically logged me out of Ask Ubuntu. When I attempt to log in, using Launchpad, it creates a new token on Launchpad and claims that token:

List of authorized tokens showing Ask Ubuntu as the application in the "Claimed token" section:

List of Authorized Tokens showing Ask Ubuntu as the application in the "Claimed token" section.

I also got an email from Launchpad confirming the token creation:

Email showing "A new OAuth token consumer was enabled in Launchpad.":

Email showing "A new OAuth token consumer was enabled in Launchpad."

(I tried going to irc.libera.chat but the website seems to time out. I haven't tried (re)installing an IRC client yet.)

However it always returns me to the same page that says "Launchpad Login failed. Please try logging in again.":

"Launchpad Login failed.  Please try logging in again."

I have tried:

  1. Disabling all ad blockers
  2. Clearing the cache
  3. Accepting all cookies on both sites
  4. Changing the token access all the way up to "Change private data"
  5. Attempting to log in through Incognito mode
  6. Deleting all other Launchpad Tokens (both claimed and unclaimed)
  7. Using Firefox (instead of Chrome)
  8. Waiting a couple of days

This is, of course, all on Ubuntu. I haven't tried from Windows (puke) or MacOS (lol).

Is the Launchpad login broken?

Apache PHP modules not upgraded in 22.04 https://askubuntu.com/questions/1406082/apache-php-modules-not-upgraded-in-22-04

After upgrading from 21.10 to 22.04, Apache server does not start anymore:

apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php8.0.load: Cannot load /usr/lib/apache2/modules/libphp8.0.so into server: /usr/lib/apache2/modules/libphp8.0.so: cannot open shared object file

Here the PHP package installed:

$ dpkg -l | grep php8
ii  libapache2-mod-php8.0                      8.1.2-1ubuntu2                          amd64        Transitional package
ii  libapache2-mod-php8.1                      8.1.2-1ubuntu2                          amd64        server-side, HTML-embedded scripting language (Apache 2 module)
ii  php-symfony-polyfill-php80                 1.24.0-1ubuntu2                         all          Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
ii  php-symfony-polyfill-php81                 1.24.0-1ubuntu2                         all          Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions
rc  php8.0-bz2                                 8.0.8-1ubuntu0.3                        amd64        bzip2 module for PHP
rc  php8.0-cli                                 8.0.8-1ubuntu0.3                        amd64        command-line interpreter for the PHP scripting language
rc  php8.0-common                              8.0.8-1ubuntu0.3                        amd64        documentation, examples and common module for PHP
rc  php8.0-curl                                8.0.8-1ubuntu0.3                        amd64        CURL module for PHP
rc  php8.0-gd                                  8.0.8-1ubuntu0.3                        amd64        GD module for PHP
rc  php8.0-intl                                8.0.8-1ubuntu0.3                        amd64        Internationalisation module for PHP
rc  php8.0-mbstring                            8.0.8-1ubuntu0.3                        amd64        MBSTRING module for PHP
rc  php8.0-mysql                               8.0.8-1ubuntu0.3                        amd64        MySQL module for PHP
rc  php8.0-opcache                             8.0.8-1ubuntu0.3                        amd64        Zend OpCache module for PHP
rc  php8.0-readline                            8.0.8-1ubuntu0.3                        amd64        readline module for PHP
rc  php8.0-xml                                 8.0.8-1ubuntu0.3                        amd64        DOM, SimpleXML, XML, and XSL module for PHP
rc  php8.0-zip                                 8.0.8-1ubuntu0.3                        amd64        Zip module for PHP
ii  php8.1-bz2                                 8.1.2-1ubuntu2                          amd64        bzip2 module for PHP
ii  php8.1-cli                                 8.1.2-1ubuntu2                          amd64        command-line interpreter for the PHP scripting language
ii  php8.1-common                              8.1.2-1ubuntu2                          amd64        documentation, examples and common module for PHP
ii  php8.1-curl                                8.1.2-1ubuntu2                          amd64        CURL module for PHP
ii  php8.1-gd                                  8.1.2-1ubuntu2                          amd64        GD module for PHP
ii  php8.1-mbstring                            8.1.2-1ubuntu2                          amd64        MBSTRING module for PHP
ii  php8.1-mysql                               8.1.2-1ubuntu2                          amd64        MySQL module for PHP
ii  php8.1-opcache                             8.1.2-1ubuntu2                          amd64        Zend OpCache module for PHP
ii  php8.1-readline                            8.1.2-1ubuntu2                          amd64        readline module for PHP
ii  php8.1-xml                                 8.1.2-1ubuntu2                          amd64        DOM, SimpleXML, XML, and XSL module for PHP
ii  php8.1-zip                                 8.1.2-1ubuntu2                          amd64        Zip module for PHP

The available librarie is:

$ ls -l /usr/lib/apache2/modules/libphp*
-rw-r--r-- 1 root root 5354272 apr  7 19:46 /usr/lib/apache2/modules/libphp8.1.so

Here the content of the offending mods:

$ cat /etc/apache2/mods-enabled/php8.0.load
# Conflicts: php5
# Depends: mpm_prefork
LoadModule php_module /usr/lib/apache2/modules/libphp8.0.so

Changing it to libphp8.1.so leads to apache2 service restarts correctly.

Why it didn't update this file? What should I do to avoid this manually hacking?

How to compile Clang LibTooling programs under Bionic? https://askubuntu.com/questions/1298167/how-to-compile-clang-libtooling-programs-under-bionic

I'm trying to port a project that uses Clang's LibTooling library from Arch to Ubuntu/Debian. I have installed the clang-10, llvm-10 and libclang-10-dev packages. The latter installs the necessary headers to /usr/lib/llvm-10/include/clang/ (i.e. usr/lib/llvm-10/include/clang/Tooling/Tooling.h). However, trying to link a program that uses these headers results in various linking errors such as:

undefined reference to `clang::ast_matchers::internal::DynTypedMatcher::matches(clang::ast_type_traits::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const'

Under Arch I can resolve this with -lclang-cpp but no such library exists under Ubuntu. Several posts on StackOverflow recommend linking to various other libraries, so I have als tried:

-lclangFrontendTool -lclangFrontend -lclangDriver -lclangSerialization -lclangCodeGen -lclangParse -lclangSema -lclangStaticAnalyzerFrontend -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore -lclangAnalysis -lclangARCMigrate -lclangRewriteFrontend -lclangEdit -lclangAST -lclangLex -lclangBasic

But that does not work either. Are the libclang-*-dev packages incomplete/broken? Am I missing yet another package? Or am I just linking against the wrong libraries?

Issues while booting Ubuntu 20.04 LTS after installation on Asus Tuf A15 (FA506IH) "PPM init fail" https://askubuntu.com/questions/1254362/issues-while-booting-ubuntu-20-04-lts-after-installation-on-asus-tuf-a15-fa506i

This is the error I get when I boot from the installation media:

0365066 ACPI BIOS Error (bug): Could not resolve symbol (_ 88.PCI.GPP4.
LANI, AE_NOT_FOUND
20190916 /dswload2-169) 0365066 ACPI Error AE NOT FOUND, During name lookup/catalog (20190816/ps object-220)
0654395 ACPI Error Aborting method
0654347 ACPI BIOS Error (bug): Could not resolve symbol T2. THRM.SCP.CTYP), AE NOT FOUND 20190616 /psargs-930) TZ. SHRM. SCP due to previous error (AE_NOT_FOUND) 20190816 /psparse-529)
1.440993) tdrm:andgpuinit tundul ) ERROR# VGACON disablas andgpu kernel nodesetting.
3092070 sd 21010:01 (sdc No Caching mode page found
30929041 sd 210:0:0: (sda Assuming drive cache: units through

The error I get on booting after installation is complete:

usci_acpi USBC000:00: PPM init failed (-110)

I'm having these issues on the laptop I've recently bought:

Asus Tuf A15 (FA506IH)

Please help me with this.

Repair corrupt GPT partition table of OSX disk from Linux https://askubuntu.com/questions/1115944/repair-corrupt-gpt-partition-table-of-osx-disk-from-linux

My wife's OSX laptop won't boot. I've pulled the drive out and plugged it into a USB adapter and can see it from my Ubuntu laptop.

When I plug it and run gdisk I get the following output:

matthewh@drone:~$ sudo gdisk /dev/sdc
GPT fdisk (gdisk) version 1.0.3

Warning! Disk size is smaller than the main header indicates! Loading
secondary header from the last sector of the disk! You should use 'v' to
verify disk integrity, and perhaps options on the experts' menu to repair
the disk.
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: damaged

****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************

Command (? for help): p
Disk /dev/sdc: 976773167 sectors, 465.8 GiB
Model:  FA GOFlex Desk 
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): F660E686-2651-434C-BC89-334BFB8D3282
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 8-sector boundaries
Total free space is 13 sectors (6.5 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              40          409639   200.0 MiB   EF00  EFI System Partition
   2          409640       975503591   465.0 GiB   AF00  Untitled 1
   3       975503592       976773127   619.9 MiB   AB00  Recovery HD

Command (? for help): v

Problem: The secondary header's self-pointer indicates that it doesn't reside
at the end of the disk. If you've added a disk to a RAID array, use the 'e'
option on the experts' menu to adjust the secondary header's and partition
table's locations.

Problem: Disk is too small to hold all the data!
(Disk size is 976773167 sectors, needs to be 976773168 sectors.)
The 'e' option on the experts' menu may fix this problem.

Identified 2 problems!

Command (? for help): q

What's the recommended course of action at this point?

And I should point out that the drive is a Samsung 840 Evo. I think I need to upgrade the firmware as I hear there was a bug. Could the corruption be related?

How to remove disabled (unused) snap packages with a single line of command? https://askubuntu.com/questions/1036633/how-to-remove-disabled-unused-snap-packages-with-a-single-line-of-command

When I run snap list --all command it shows all the installed versions of snap packages.

Name                  Version       Rev   Tracking  Developer     Notes
atom                  1.26.1        150   stable    snapcrafters  classic
brave                 v0.22.669dev  23    stable    brave         -
core                  16-2.32.6     4571  stable    canonical     core
core                  16-2.32.5     4486  stable    canonical     core,disabled
firefox               59.0.2-1      71    stable    mozilla       disabled
firefox               60.0-2        85    stable    mozilla       -
gimp                  2.10.0        38    stable    snapcrafters  disabled
gimp                  2.10.0        39    stable    snapcrafters  -
gimp                  2.8.22        30    stable    snapcrafters  disabled
gnome-3-26-1604       3.26.0        64    stable/…  canonical     -
gnome-3-26-1604       3.26.0        62    stable/…  canonical     disabled
gnome-characters      3.28.0        86    stable/…  canonical     -
gnome-characters      3.26.2        69    stable/…  canonical     disabled
gnome-logs            3.26.2        25    stable/…  canonical     disabled
gnome-logs            3.28.0        31    stable/…  canonical     -
gnome-system-monitor  3.26.0        36    stable/…  canonical     disabled
gnome-system-monitor  3.26.0        39    stable/…  canonical     -
libreoffice           6.0.3.2       59    stable    canonical     disabled
libreoffice           6.0.4.2       63    stable    canonical     -

Now there are so many disabled packages there which are no longer used. So I want to remove those packages. Here the command is snap remove gnome-3-26-1604 --revision=62 . Now I have to do it for all the revisions and for all the packages one by one. Is there any command which will remove the disabled or unused snap packages with single line of command?

Thanks in advance...

Icecast on linux using AAC https://askubuntu.com/questions/548985/icecast-on-linux-using-aac

I'm pretty new to using Icecast. We are streaming MP3s from a Linux box with Icecast, but we need to move to AAC. How can I make Icecast stream AAC files?

pppd: LCP terminated by peer (peer refused to authenticate) https://askubuntu.com/questions/520220/pppd-lcp-terminated-by-peer-peer-refused-to-authenticate

I'm confused, VPN client worked flawlessly on my virtual machine and today when I tried it failed to connect to L2TP VPN server... This is the log from my client VM, can someone help? I changed nothing (on purpose) and I do not understand why suddenly peer does not want to authenticate and was that expected in the past or its a new thing? My tablet still manage to connect as before.

Sep  4 22:29:51 ubuntu64 ipsec_setup: ...Openswan IPsec started
Sep  4 22:29:51 ubuntu64 L2tpIPsecVpnControlDaemon: Command ipsec setup start finished with exit code 0
Sep  4 22:29:51 ubuntu64 L2tpIPsecVpnControlDaemon: Executing command service xl2tpd start
Sep  4 22:29:51 ubuntu64 xl2tpd[4665]: setsockopt recvref[30]: Protocol not available
Sep  4 22:29:51 ubuntu64 ipsec__plutorun: adjusting ipsec.d to /etc/ipsec.d
Sep  4 22:29:51 ubuntu64 xl2tpd[4665]: This binary does not support kernel L2TP.
Sep  4 22:29:51 ubuntu64 L2tpIPsecVpnControlDaemon: Command service xl2tpd start finished with exit code 0
Sep  4 22:29:51 ubuntu64 pluto: adjusting ipsec.d to /etc/ipsec.d
Sep  4 22:29:51 ubuntu64 xl2tpd[4666]: xl2tpd version xl2tpd-1.3.6 started on ubuntu64 PID:4666
Sep  4 22:29:51 ubuntu64 xl2tpd[4666]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Sep  4 22:29:51 ubuntu64 xl2tpd[4666]: Forked by Scott Balmos and David Stipp, (C) 2001
Sep  4 22:29:51 ubuntu64 xl2tpd[4666]: Inherited by Jeff McAdams, (C) 2002
Sep  4 22:29:51 ubuntu64 xl2tpd[4666]: Forked again by Xelerance (www.xelerance.com) (C) 2006
Sep  4 22:29:51 ubuntu64 xl2tpd[4666]: Listening on IP address 0.0.0.0, port 1701
Sep  4 22:29:51 ubuntu64 ipsec__plutorun: 002 added connection description "CBER_L2TP_CABLE"
Sep  4 22:29:51 ubuntu64 L2tpIPsecVpnControlDaemon: Executing command ipsec auto --ready
Sep  4 22:29:52 ubuntu64 ipsec__plutorun: 002 added connection description "CBER_L2TP_ADSL"
Sep  4 22:29:52 ubuntu64 L2tpIPsecVpnControlDaemon: Command ipsec auto --ready finished with exit code 0
Sep  4 22:29:52 ubuntu64 L2tpIPsecVpnControlDaemon: Executing command ipsec auto --up CBER_L2TP_CABLE
Sep  4 22:29:52 ubuntu64 L2tpIPsecVpnControlDaemon: Command ipsec auto --up CBER_L2TP_CABLE finished with exit code 0
Sep  4 22:29:53 ubuntu64 L2tpIPsecVpnControlDaemon: Closing client connection
Sep  4 22:29:53 ubuntu64 xl2tpd[4666]: Connecting to host yin-cable.dyndns.biz, port 1701
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: Connection established to 999.999.999.999, 1701.  Local: 19801, Remote: 56042 (ref=0/0).
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: Calling on tunnel 19801
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: check_control: Received out of order control packet on tunnel 56042 (got 0, expected 1)
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: handle_packet: bad control packet!
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: check_control: Received out of order control packet on tunnel 56042 (got 0, expected 1)
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: handle_packet: bad control packet!
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: Call established with 999.999.999.999, Local: 5753, Remote: 13038, Serial: 1 (ref=0/0)
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: start_pppd: I'm running: 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: "/usr/sbin/pppd" 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: "passive" 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: "nodetach" 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: ":" 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: "file" 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: "/etc/ppp/CBER_L2TP_CABLE.options.xl2tpd" 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: "/dev/pts/4" 
Sep  4 22:29:55 ubuntu64 pppd[4725]: Plugin passprompt.so loaded.
Sep  4 22:29:55 ubuntu64 pppd[4725]: pppd 2.4.5 started by root, uid 0
Sep  4 22:29:55 ubuntu64 pppd[4725]: Using interface ppp0
Sep  4 22:29:55 ubuntu64 pppd[4725]: Connect: ppp0 <--> /dev/pts/4
Sep  4 22:29:55 ubuntu64 NetworkManager[794]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Sep  4 22:29:55 ubuntu64 NetworkManager[794]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Sep  4 22:29:55 ubuntu64 NetworkManager[794]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring...
Sep  4 22:29:55 ubuntu64 pppd[4725]: LCP terminated by peer (peer refused to authenticate)
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: control_finish: Connection closed to 999.999.999.999, serial 1 ()
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: Terminating pppd: sending TERM signal to pid 4725
Sep  4 22:29:55 ubuntu64 pppd[4725]: Terminating on signal 15
Sep  4 22:29:55 ubuntu64 pppd[4725]: Modem hangup
Sep  4 22:29:55 ubuntu64 pppd[4725]: Connection terminated.
Sep  4 22:29:55 ubuntu64 NetworkManager[794]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Sep  4 22:29:55 ubuntu64 pppd[4725]: Exit.
LUKS Disk Encryption https://askubuntu.com/questions/487564/luks-disk-encryption

I have setup disk encryption with LUKS and configure it to auto mount when the system boots up. So now as it supposed, it prompts me a passphrase when the system boots up. If i enter the correct passphrase it continuous the system.

So in some cases I want to escape from typing my passphrase. Is there a way to do that?

How to check the process is already running or not https://askubuntu.com/questions/473880/how-to-check-the-process-is-already-running-or-not

I want to check the particular process in already running or not.

I refereed this Q&A.

But I didn't get any specific solution. Following is the example that I tried: I have created abc.sh file and run this script on background, like sh abc.sh &.

Now this file is running on background and I fire the ps aux | grep "abc" command.

Following is the output of this command:

prakash     3594  0.0  0.0   4388   820 pts/0    S+   16:44   0:00 grep --color=auto abc

After that I stop the abc.sh running script and fire the same command ps aux | grep "abc" command.

But I am getting same output like:

prakash     3594  0.0  0.0   4388   820 pts/0    S+   16:44   0:00 grep --color=auto abc

Is there any other way to find the process is running or not?

Installing Ubuntu 14 - Scrambled screen / display issues https://askubuntu.com/questions/470964/installing-ubuntu-14-scrambled-screen-display-issues

When I attempt to boot into Ubuntu 14, I'm able to get all the way into the GUI w/o issue.. but once i'm there, the background is corrupted (black/white stripe/block images) as is anything "inside" a window (the window chrome is fine however).

I CAN see the navigation bar and menu bars, but any dropdown windows are also corrupted. It doesn't matter if I'm booting up to "try" Ubuntu 14, or install it. Complete power-down (vs reboot from windows 8) doesn't seem to make any difference either.

System specs:

  • MSI Mainboard, Z77 chipset (onboard Intel gfx disabled in BIOS)
  • Core I5-3750K (stock clock), 16GB RAM
  • *2x MSI TwinFrozr 7870's (AMD Radeon HD7870's)
  • 3x Monitors - 2x ASUS VS239's, 1x Lenovo L2321 (rotated 90 degrees).
  • 320GB Samsung SSD
  • 2x WD 1TB HDD

*The video cards are NOT in CrossFire mode (bridge is not attached).. actually, there's nothing connected to the second card at all at the moment.

I would attach screenshots for reference.. but I don't have a high enough reputation to do so... You can find them here: corrupted screen images

I'd appreciate any pointers y'all might have. Thanks!

Why do cdimage.ubuntu.com and releases.ubuntu.com list different images? https://askubuntu.com/questions/458480/why-do-cdimage-ubuntu-com-and-releases-ubuntu-com-list-different-images

There are two places I go when I want to download Ubuntu installer images: cdimage.ubuntu.com and releases.ubuntu.com.

Both of these appear equally official: they are both subdomains of ubuntu.com, and the main Ubuntu website makes references to both for its download links. (http://www.ubuntu.com/download/alternative-downloads uses the former for its 'Network installer' download links, and the latter for its 'BitTorrent' download links, for example.)

If I visit http://releases.ubuntu.com/ and follow links for the current Ubuntu release, I reach a page that lists numerous links to desktop and server installer images. Likewise, if I visit http://cdimage.ubuntu.com/ and follow links in a similar manner, I get to another very similar page that also gives numerous links to desktop and server installer images. At the moment, these pages are:

(Following '14.04' links instead of 'trusty' leads to pages identical to the above, aside from their URLs.)

The language used on those two pages suggests that each page lists all of the available image files. For example, they each say "A full list of available files, including BitTorrent files, can be found below", and they each provide a wide variety of link types (.iso, .torrent, .metalink etc).

Neither page makes any reference to the other page's existence, and for a long time I thought that these were simply two different URLs serving essentially the same list of installer images.

Right?


Now that I look more closely I see that, despite appearances, the actual lists of files are almost entirely different. For the Trusty release, releases serves i386 and amd64 images, whilst the cdimage site serves PowerPC and Mac-friendly images. Even going back to the Precise release, when the architectures overlapped more, there are still installer images on each page that are not available from the other.

I've searched for explanations as to why the two sites are so disjoint, but have so far found none.

I assume that releases.ubuntu.com is intended to hold the more common installer images, whilst cdimage.ubuntu.com is intended to be a more comprehensive archive, given that it also hosts installers for the various spins such as Lubuntu, Xubuntu, etc.

However, this still doesn't explain some things:

  • Why is there no single page I can go to and see all available images? For example, if releases.ubuntu.com is reserved for the more popular images, why are these not also included in the (more comprehensive) list at cdimage.ubuntu.com?

  • If there's a good reason for keeping them separate, then why does neither page acknowledge the other as a complementary source of installer images?

  • Is there any historical reason for this split?

If anyone has any behind-the-scenes insight into this, I'd be interested to hear how things ended up this way.

Share wireless Internet connection through ethernet https://askubuntu.com/questions/359856/share-wireless-internet-connection-through-ethernet

I want to share the wireless Internet connection on my desktop with my old laptop, through ethernet.

I have ticked the option "Make available to others" on both connections, on my desktop, but my laptop doesn't connect. Am I doing something wrong or is it a bug?

Thunderbird: Missing folders after restore https://askubuntu.com/questions/184095/thunderbird-missing-folders-after-restore

Before installing a new OS I tried to backup my Thunderbird by copying the .thunderbird directory.

To be on the safe side I tried to emulate the restore procedure on another machine. I copied the .thunderbird directory to it and set up a symlink from /home/username/.thunderbird to this backup directory.

Thunderbird starts correctly, it shows plugins, calendar, address book, all news feeds and all mail accounts.

But for POP accounts it shows only the Inbox folder (which is empty) and the Trash folder. All the other folders are missing (Archives, Drafts, Sent).

What I have tried so far and it did not help:

  • click 'Repair folder' from the menu folder;
  • Delete .msf files to force Thunderbird to rebuild index;
  • Delete Panacea.dat;
  • start Thunderbird with -profilemanager to choose the particular profile directory;
  • all tips from the official documentation.

It seems like Thunderbird successfully restores all the information from the backup, except the folders and messages for POP mail accounts.

Any ideas regarding such a strange behavior of Thunderbird?

What's the best, simplest OCR solution? https://askubuntu.com/questions/16268/whats-the-best-simplest-ocr-solution

I'd like to scan a good amount of papers I have lying around, with the least possible hassle. I would like to convert them to images using Simple Scan, then convert them to text using OCR. Is there a good OCR app with a GUI that will give me good results at the push of a button?