VLC 3.0.20 distorting audio on Ubuntu 24.04.3 https://askubuntu.com/questions/1566138/vlc-3-0-20-distorting-audio-on-ubuntu-24-04-3

I'm using Ubuntu 24.04.4 LTS and VLC 3.0.20. Recently, I started noticing that mp3 audios that work fine with Clementine or basically any other app, come with background noise (crackling) with VLC. Same with videos. Any ideas ?

Error on upgrading from 24.04.4 LTS to 26.04: are there more users with the same problem? [closed] https://askubuntu.com/questions/1566136/error-on-upgrading-from-24-04-4-lts-to-26-04-are-there-more-users-with-the-same

Recently I tried to upgrade 2 different laptops from Ubuntu 24.04.4 LTS to 26.04 LTS, using the commands sudo update-manager -d (GUI tool) and sudo do-release-upgrade -d (terminal), after having assured that the system is fully updated. In all cases the newest version shows up and the upgrade process can be started, but there is a serious error message during step 2 (identification of new software channels - calculation of changes), after which the system is set back and the upgrade process is ended.

I already submitted a bug report to launchpad, but I wonder whether there are more users that encounter exactly the same problem. The fact that I have experienced exactly the same problem with 2 different machines can be seen as an indication that the problem is structural and machine independent. Therefore it is important to know whether other users are also affected by the same problem. Please react if you are also affected by this problem.

Touchscreen scrollbar behavior: don't warp slider in Evince/GTK3 https://askubuntu.com/questions/1566134/touchscreen-scrollbar-behavior-dont-warp-slider-in-evince-gtk3

Ubuntu 24.04 (Desktop-Ubuntu) on a 12 inch StarLite tablet. Evince 46.3.1.

While scrolling with my fingers on the main document area, I accidently hit the scrollbar at random places, which makes the document jump to that spot.

For left-button mouse clicks there is a setting to disable that behavior in ~/.config/gtk-3.0/settings.ini:

[Settings]
gtk-primary-button-warps-slider = false

Is there a similar setting related to touch input on the scrollbar? I'm okay with a touch input causing a page up or page down movement, but not with the "warp" effect.

(Firefox and Okular already behave like that. I don't remember if I had to apply any tweaks to achieve that.)

Looking for Stable Motherboard and System Configurations for RTX PRO 6000 Blackwell on Ubuntu 24.04 https://askubuntu.com/questions/1566133/looking-for-stable-motherboard-and-system-configurations-for-rtx-pro-6000-blackw

My current system configuration is as follows:

  • CPU: AMD Ryzen 9 9950X3D
  • Motherboard: MSI MAG X870E
  • RAM: DDR5-6000
  • PSU: PX-2200

I am currently experiencing issues on Ubuntu 24.04 where installing the NVIDIA graphics driver leads to an infinite boot logo loop and a black screen.

While investigating the issue, I came across reports suggesting possible compatibility problems between the RTX PRO 6000 Blackwell and certain MSI motherboards.

I would appreciate it if anyone who is successfully using the RTX PRO 6000 in an Ubuntu development environment could share their motherboard model and a stable hardware configuration.

In particular, I would also like to know whether this GPU has known issues with specific chipsets (e.g., X870E), or whether the problem is more likely related to BIOS settings or driver configuration.

Boot problems on battery power with Ubuntu 26.04 and Nvidia Drivers https://askubuntu.com/questions/1566131/boot-problems-on-battery-power-with-ubuntu-26-04-and-nvidia-drivers

after successfully upgrading from 24.04 to 26.04, when I boot my laptop on battery power most of the time I got stuck with a black screen and I'm forced to power off the laptop and boot it with AC plugged in. This happens only with Nvidia proprietary drivers and booting on battery power, no problem when AC is plugged in. off course everything was working fine with 24.04 and Xorg. Unfortunately I don't have any other info at the moment, I don't know if it's a problem with these drivers and the new kernel 7 and/or Wayland. Is anybody having a similar problem with 26.04?

Thank you.

Problem with network adapters on virtualbox, Ubuntu 24.04.4 LTS https://askubuntu.com/questions/1566129/problem-with-network-adapters-on-virtualbox-ubuntu-24-04-4-lts

On the VM settings i configured 2 network adapters in bridge mode, but during the boot i get networkd-wait-online Service time-out and the two adapters are on 10.xx.xx.xx like in NAT mode, i have the DHCP enabled for both. Anybody know if the error it's related to the time out or how to fix it? My computer is on 192.168.XX.XX.

On Ubuntu 26.04, how do I put app shortcuts onto the desktop? https://askubuntu.com/questions/1566126/on-ubuntu-26-04-how-do-i-put-app-shortcuts-onto-the-desktop

I tried to follow advice for older versions of Ubuntu, but going to /usr/share/applications only showed me files that I'm not familiar with and not my applications (Why aren't the root directories shown by default?). How do I put app shortcuts onto the desktop?

/usr/share/applications

Thunderbird is not in the application menu? https://askubuntu.com/questions/1566115/thunderbird-is-not-in-the-application-menu

For 26.04 I did an almost complete reinstallation of my system, only keeping my home drive but formatting all system drives.

I installed Thunderbird with apt, and it works fine with all my old settings and configurations.

But it doesn't show up in the applications menu... If I press the Windows key on my keyboard, searching for e.g. Vivaldi (my browser of choice) allows me to find and start it just fine, but Thunderbird does not show up. I have to start if from a terminal.

The /usr/share/applications/thunderbird.desktop file is there and seems to be fine.

I've logged out/in and restarted my computer multiple times to no avail.

Was something changed in regards to mail and/or Thunderbird in 26.04? Why can't I search for it?

Possible serious memory management bug (?) [closed] https://askubuntu.com/questions/1566106/possible-serious-memory-management-bug

The hardware requirements for Ubuntu 24.04.x are: 2GHz processor & at least 4GB of ram.

Has anyone ever actually tried to run 24.04.x on a system with only 4GB ram? I have to ask because I've been trying it, repeatedly, and every time the system gets to the point where it has to start swapping (as shown by top) SOMETHING crashes... either Firefox or gnome-shell or the kernel. (That last one is just a guess, but when the whole system locks up with a totally black screen I gotta think that's a kernel panic.) In one case where my keyboard & mouse clicks (but not mouse movements) suddenly stopped working, after a reboot I got some message asking me if I wanted to report an error to Ubuntu central and when I looked at the details it said that gnome-shell had gotten a SIGBUS! Yikes! THAT should never happen!!

So anyway I was able to repeat these failures, consistently, on 2 different, mostly identical systems, specifically my two HP T620 thin clients, each with a AMD "Kabini" GX-415GA (quad core), each having only 4GB ram installed and each with a Sandisk X600 128GB M.2 (SATA) "hard drive" installed. (The only differences between the two is that one has a WiFi card installed & the other doesn't and one has been updated to the latest HP T620 BIOS and the other hasn't yet... but the BIOS rev. apparently makes no difference to these mysterious crashes. I know. I checked.)

I have already ordered more memory for these machines, and yes, clock speed for these CPUs is only 1.5GHz, which doesn't meet the strict letter of the 24.x.x hardware requirements, but setting that aside, even if I put 8GB in each of these machines, if my guess is correct that there is a serious memory management bug underneath all these repeated crashes then what happens when and if I max out the 8GB and start swapping? Obviously the mysterious application, gnome-shell and (possibly) kernel crashes will reappear. So just adding more memory is obviously NOT a proper solution.

I'd like to hear whatever anybody might have to say about all this. Opinions welcome. Should I just give it up and accept that modern Ubuntu is just never going to work on 12.5 year old hardware? Should I file a formal bug report? If I do, will anybody even care to investigate, given that this hardware almost qualifies as "antique"?

As I say, I own two of these systems. They are slow enough to be perfectly useless as Windoze machines, and if I can't run Ubuntu on them then at best I could only maybe run LibreELEC on them (but maybe that would crash too). As they sit now they're really just expensive paper weights.

If anyone was at all interested in investigating these problems then I would be more than happy to loan one of these systems to that person for, say, 30 days, and I'd pay for shipping both ways (continental US only).

These were pretty cool machines in their time, and for most stuff, performance-wise, they still beat the pants off a Raspberry PI 4, and with a case & power supply they can be had used, off eBay, for less than half the cost of a PI4 + case + power supply. So I think that it's a damn shame that the most popular Linux distro won't support them in their standard (4GB) configuration. (There are, I'm sure, several hundred thousand of these exact machines out there in circulation. They were real popular for offices, back in the day, in part because they're fanless, passively cooled, and thus, dead silent.)

How to fix bad Bengali fonts on browser in Ubuntu? The issue started after installing GNU Octave https://askubuntu.com/questions/1566104/how-to-fix-bad-bengali-fonts-on-browser-in-ubuntu-the-issue-started-after-insta

I installed Octave, and the Bengali fonts in many websites such as Wikipedia (all articles) are rendering quite badly afterwards in both Firefox and Chromium.

Example: The font is very small, and it looks somewhat broken in this Wikipedia article:

enter image description here

How to fix this issue?

Ubuntu 2604 installation fails on installing ubuntu-desktop https://askubuntu.com/questions/1566100/ubuntu-2604-installation-fails-on-installing-ubuntu-desktop

During network install ubuntu 2604 with server image and cloud-init I am getting error during ubuntu-desktop installation:

start: subiquityInstall/install/ubuntu-desktop: unpacking ubuntu-desktop
start: subiquityInstall/install/postinstall/cmd-system-install: curtin command system-install
finish: subiquityInstall/install/ubuntu-desktop/unpacking: Command ['systemd-run', '--wait', '--same-dir', '--property', 'SyslogIdentifier=subiquity_log.2474', '--setenv', 'PATH=/snap/subiquity/7225/bin:/snap/subiquity/7225/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', '--setenv', 'PYTHONPATH=/snap/subiquity/7225/usr/lib/python3.12/site-packages', '--setenv', 'PYTHON=/snap/subiquity/7225/usr/bin/python3.12', '--setenv', 'SNAP=/snap/subiquity/7225', '--setenv', 'SNAP_NAME=subiquity', '--setenv', 'SNAP_INSTANCE_NAME=subiquity', '--setenv', 'SNAP_REVISION=7225', '--setenv', 'SNAP_ARCH=amd64', '--setenv', 'SNAP_LIBRARY_PATH=/snap/subiquity/7225/lib', '--setenv', 'SNAP_COOKIE=subiquity_7225', '--setenv', 'SNAP_CONTEXT=subiquity_7225', '--setenv', 'SNAP_VERSION=22.04.4', '--setenv', 'SNAP_USER_COMMON=/root/snap/subiquity/common', '--setenv', 'SNAP_USER_DATA=/root/snap/subiquity/7225', '--setenv', 'SNAP_DATA=/var/snap/subiquity/7225', '--setenv', 'SNAP_COMMON=/var/snap/subiquity/common', '--setenv', 'SNAP_REAL_HOME=/root', '--setenv', 'SNAP_USER_REAL_HOME=/root', '--setenv', 'SNAP_INSTANCE_KEY=subiquity_7225', '--setenv', 'SNAP_INSTANCE_ID=subiquity_7225', '--setenv', 'SNAP_INSTANCE_NAME=subiquity', '--setenv', 'SNAP_INSTANCE_REVISION=7225', '--setenv', 'SNAP_INSTANCE_ARCH=amd64', '--setenv', 'SNAP_INSTANCE_LIBRARY_PATH=/snap/subiquity/7225/lib', '--setenv', 'SNAP_INSTANCE_COOKIE=subiquity_7225', '--setenv', 'SNAP_INSTANCE_CONTEXT=subiquity_7225', '--setenv', 'SNAP_INSTANCE_VERSION=22.04.4', '--setenv', 'SNAP_INSTANCE_USER_COMMON=/root/snap/subiquity/common', '--setenv', 'SNAP_INSTANCE_USER_DATA=/root/snap/subiquity/7225', '--setenv', 'SNAP_INSTANCE_DATA=/var/snap/subiquity/7225', '--setenv', 'SNAP_INSTANCE_COMMON=/var/snap/subiquity/common', '--setenv', 'SNAP_INSTANCE_REAL_HOME=/root', '--setenv', 'SNAP_INSTANCE_USER_REAL_HOME=/root', '--setenv', 'SNAP_INSTANCE_KEY=subiquity_7225', '--setenv', 'SNAP_INSTANCE_ID=subiquity_7225', '--setenv', 'SNAP_INSTANCE_NAME=subiquity', '--setenv', 'SNAP_INSTANCE_REVISION=7225', '--setenv', 'SNAP_INSTANCE_ARCH=amd64', '--setenv', 'SNAP_INSTANCE_LIBRARY_PATH=/snap/subiquity/7225/lib', '--setenv', 'SNAP_INSTANCE_COOKIE=subiquity_7225', '--setenv', 'SNAP_INSTANCE_CONTEXT=subiquity_7225', '--setenv', 'SNAP_INSTANCE_VERSION=22.04.4', '--setenv', 'SNAP_INSTANCE_USER_COMMON=/root/snap/subiquity/common', '--setenv', 'SNAP_INSTANCE_USER_DATA=/root/snap/subiquity/7225', '--setenv', 'SNAP_INSTANCE_DATA=/var/snap/subiquity/7225', '--setenv', 'SNAP_INSTANCE_COMMON=/var/snap/subiquity/common', '--setenv', 'SNAP_INSTANCE_REAL_HOME=/root', '--setenv', 'SNAP_INSTANCE_USER_REAL_HOME=/root', '--setenv', 'SNAP_INSTANCE_KEY=subiquity_7225', '--setenv', 'SNAP_INSTANCE_ID=subiquity_7225', '--setenv', 'SNAP_INSTANCE_NAME=subiquity', '--setenv', 'SNAP_INSTANCE_REVISION=7225', '--setenv', 'SNAP_INSTANCE_ARCH=amd64', '--setenv', 'SNAP_INSTANCE_LIBRARY_PATH=/snap/subiquity/7225/lib', '--setenv', 'SNAP_INSTANCE_COOKIE=subiquity_7225', '--setenv', 'SNAP_INSTANCE_CONTEXT=subiquity_7225', '--setenv', 'SNAP_INSTANCE_VERSION=22.04.4', '--setenv', 'SNAP_INSTANCE_USER_COMMON=/root/snap/subiquity/common', '--setenv', 'SNAP_INSTANCE_USER_DATA=/root/snap/subiquity/7225', '--setenv', 'SNAP_INSTANCE_DATA=/var/snap/subiquity/7225', '--setenv', 'SNAP_INSTANCE_COMMON=/var/snap/subiquity/common', '--setenv', 'SNAP_INSTANCE_REAL_HOME=/root', '--setenv', 'SNAP_INSTANCE_USER_REAL_HOME=/root', '--setenv', 'SNAP_INSTANCE_KEY=subiquity_7225', '--setenv', 'SNAP_INSTANCE_ID=subiquity_7225', '--setenv', 'SNAP_INSTANCE_NAME=subiquity', '--setenv', 'SNAP_INSTANCE_REVISION=7225', '--setenv', 'SNAP_INSTANCE_ARCH=amd64', '--setenv', 'SNAP_INSTANCE_LIBRARY_PATH=/snap/subiquity/7225/lib', '--setenv', 'SNAP_INSTANCE_COOKIE=subiquity_7225', '--setenv', 'SNAP_INSTANCE_CONTEXT=subiquity_7225', '--setenv', 'SNAP_INSTANCE_VERSION=22.04.4', '--setenv', 'SNAP_INSTANCE_USER_COMMON=/root/snap/subiquity/common', '--setenv', 'SNAP_INSTANCE_USER_DATA=/root/snap/subiquity/7225', '--setenv', 'SNAP_INSTANCE_DATA=/var/snap/subiquity/7225', '--setenv', 'SNAP_INSTANCE_COMMON=/var/snap/subiquity/common', '--setenv', 'SNAP_INSTANCE_REAL_HOME=/root', '--setenv', 'SNAP_INSTANCE_USER_REAL_HOME=/root']
finish: subiquityInstall/install/postinstall/cmd-system-install: curtin command system-install
finish: subiquityInstall/install/postinstall/cmd-system-install: Command returned non-zero exit status 100
finish: subiquityInstall/install/postinstall: curtin command system-install
finish: subiquityInstall/install: curtin command install
start: subiquityInstall/error: finish-install
finish: subiquityInstall/error: finish-install
An error occurred. Press enter to start a shell.
written to /var/crash/1776968472.930894921.install_fail.crash

My user-data file (wokrs well with Ubuntu 24.04):

#cloud-config
autoinstall:
  version: 1
  ssh:
    install-server: yes
    authorized-keys:
      - "your SSH pub key here"
    allow-pw: yes
  apt:
    preserve_sources_list: false
    primary:
      - arches: [amd64]
        uri: "http://security.ubuntu.com/ubuntu"

  storage:
    grub:
      reorder_uefi: false
    config:
      - id: disk-sda
        type: disk
        match: {}
        ptable: gpt
        wipe: superblock-recursive
        preserve: false
        grub_device: false

      - id: partition-sda1
        type: partition
        device: disk-sda
        size: 512M
        wipe: superblock
        flag: boot
        number: 1
        preserve: false
        grub_device: true

      - id: format-0
        type: format
        fstype: fat32
        volume: partition-sda1
        preserve: false

      - id: partition-sda2
        type: partition
        device: disk-sda
        size: 1G
        wipe: superblock
        flag: linux
        number: 2
        preserve: false

      - id: format-1
        type: format
        fstype: ext4
        volume: partition-sda2
        preserve: false

      - id: partition-sda3
        type: partition
        device: disk-sda
        size: -1
        wipe: superblock
        flag: linux
        number: 3
        preserve: false

      - id: dm_crypt
        type: dm_crypt
        volume: partition-sda3
        key: "test"
        preserve: false

      - id: lvm_volgroup-0
        type: lvm_volgroup
        name: ubuntu-vg
        devices: [dm_crypt]
        preserve: false

      - id: lvm_partition-0
        type: lvm_partition
        name: swap
        volgroup: lvm_volgroup-0
        size: 4G
        preserve: false

      - id: lvm_partition-1
        type: lvm_partition
        name: root
        volgroup: lvm_volgroup-0
        size: 95%
        preserve: false

      - id: format-2
        type: format
        fstype: swap
        volume: lvm_partition-0
        preserve: false

      - id: format-3
        type: format
        fstype: ext4
        volume: lvm_partition-1
        preserve: false

      - id: mount-3
        type: mount
        device: format-3
        path: /

      - id: mount-2
        type: mount
        device: format-2
        path: /swap

      - id: mount-1
        type: mount
        device: format-1
        path: /boot

      - id: mount-0
        type: mount
        device: format-0
        path: /boot/efi

  identity:
    hostname: ubuntu
    username: administrator
    password: "$6$lzzh3A/U7wYF6SR4$bpzIAjzd3CqSsjVLlv181dG9VVAQdsBmEmFneP1ajIlkrS8h5b44G6r8WnQ4L0"

  packages:
    - ubuntu-desktop
    - htop
    - build-essential
    - git-core
    - wget
    - curl
    - ssl-cert
    - net-tools
    - evolution
    - evolution-ews
    - tpm2-tools
    - unzip

  snaps:
    - name: firefox

  package_update: true
  package_upgrade: true

  late-commands:
    - curtin in-target --target=/target -- sed -i 's/#PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config
    - curtin in-target --target=/target -- sed -i 's/XKBLAYOUT="us"/XKBLAYOUT="us,ru"/' /etc/default/keyboard
    - curtin in-target --target=/target -- sed -i 's/XKBVARIANT=""/XKBVARIANT=","/' /etc/default/keyboard
    - curtin in-target --target=/target -- sed -i 's/XKBOPTIONS=""/XKBOPTIONS="grp_led:scroll"/' /etc/default/keyboard
    - curtin in-target --target=/target -- systemctl disable cups-browsed || true
    - curtin in-target --target=/target -- systemctl disable open-iscsi.service || true
    - curtin in-target --target=/target -- systemctl disable systemd-networkd-wait-online.service || true
    - curtin in-target --target=/target -- apt remove -y transmission-common || true
    - curtin in-target --target=/target -- update-grub || true

  user-data:
    disable_root: false
    ntp:
      enabled: true
      ntp_client: systemd-timesyncd
      servers:
        - ntp.ubuntu.com
Apps opening in cage on wayland too zoomed out https://askubuntu.com/questions/1566080/apps-opening-in-cage-on-wayland-too-zoomed-out

I'm using cage (the single app opener on the cli that runs individual apps without a desktop environment,) to run apps on wayland in an effort to remove all distraction. Can't have 50 different windows open and all that temptation if you only have one app to work with!

I start the apps like this:

cage thunderbird.

It works! but the windows (the window X, minimize and maximize buttons, and all the content inside the window) of the apps I run all look zoomed out and shrunken. Even if I zoom in to the content, the buttons on the top of the window "menu bar" part and the minimize maximize and exit buttons, all remain shrunken.

I want the window edges, window buttons, and everything in the window to not look miniature. How do I expand it all? All of it.

sound on my new laptop is not working https://askubuntu.com/questions/1565548/sound-on-my-new-laptop-is-not-working

I am using ubuntu 24.04 LTS, and my laptop is infinix

System Details Report


Report details

  • Date generated: 2026-04-08 06:38:37

Hardware Information:

  • Hardware Model: Infinix BL41A7H
  • Memory: 16.0 GiB
  • Processor: AMD Ryzen™ 5 7535HS with Radeon™ Graphics × 12
  • Graphics: AMD Radeon™ 660M
  • Disk Capacity: 512.1 GB

Software Information:

  • Firmware Version: BL41A7H_BIOS_EM_AHP336_315B_V3.0_XBOOK_B14_0.13
  • OS Name: Ubuntu 24.04.4 LTS
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 46
  • Windowing System: Wayland
  • Kernel Version: Linux 6.17.0-20-generic

and the sound is not activated, somebody helpme please thank you.

Document Scanner can not detect Wi-Fi printers https://askubuntu.com/questions/1564364/document-scanner-can-not-detect-wi-fi-printers

Previously, I had 3 Wi-Fi printers from Brothers, HP, and Epson. Then I removed the Brothers printer, but the Document Scanner no longer recognizes the HP and Epson Wi-Fi printers, although I can print from them normally. How can I get the Document Scanner to recognize the HP and Epson Wi-Fi printers again? (In the image, the black background represents Computer 1, where the Document Scanner cannot see the HP and Epson printers, while the white background represents Computer 2, where the Document Scanner can see the HP and Epson printers.) enter image description here

Auto update will not boot. Kernel Panic! Please reboot your computer. VFS: Unable to mount root fs on unknown-block(0,0) https://askubuntu.com/questions/1554324/auto-update-will-not-boot-kernel-panic-please-reboot-your-computer-vfs-unabl

enter image description here Kernel Panic! Please reboot your computer. VFS: Unable to mount root fs on unknown-block(0,0)

The above screen is all I get when trying to boot after another auto update. I got that screen after the kernel 6.14.0-24, and dropped back to using 6.11. And then today, another auto update which installed 6.14.0-27. And that screen shows up with that as well. I've never worked with this error before, so don't really know how to proceed. Naturally I would rather not reformat the HDD by reinstalling Ubuntu 24.04.

enter image description here

To get back to normal, I've had to drop to the kernel 6.11.0-29, then I thought that I'll use Boot Repair. Dunno what magic it does but I could then boot to 6.14.0-24. I tried the Boot Repair magic again in that kernel, but I still can't boot to 6.14.0-27 without getting that screen above.

What is that screen telling me? Note I'm not a power user. Ubuntu works so well, I seldom need to open the hood or dig too deep.

Further info: I don't want to use 6.14.0-24 because the res is only 1024 and doesn't change in Control Center and can't be changed higher as higher res isn't shown as available. Even with the res set for 1920 in GRUB it comes up in 1024.

More info: I tried the suggestion from david and that didn't work. Didn't change the results when I boot. Still get the red-screen-of-death. It did however fix the boot to 6.14.0-24 however, I cannot get it to boot to anything other than 1024 screen size as I posted above. Anyone know how to force it to give me a higher screen res?

Final post: I gave up trying to solve this problem. I was able to burn the live Ubuntu 25.04 ISO to an SD card, did a full clone of the drive, and then installed 25.04 to one of them. The funny thing was when I connected the drives and tried to boot to either of them, what showed was the "No boot drive found" error message just after the BIOS splash screen. If I unplugged either drive from the PC's SATA cable, then I could boot to the connected drive. It's strange that the kernel panic could prevent booting now that there's a bootable 25.04 drive. So I couldn't copy the Home folder with both drives operating, instead booted to the 25.04 drive, hooked up my external cloning/docking tool, installed the 24.04 drive in that, plugged the USB cable into the PC, and copied the files that way. Anyway, I'm up and running with 25.04 now. That only took 4 months to get there.

The reason I wanted to upgrade from 24.04 to 24.10 and then to 25.04 was tradition and the fact that it takes freakin' hours (I'm to hour 6 now) to get all my favorite apps reinstalled and configured. Even then there are problems. So just installing a full, new 25.04 on a backup HDD was the nuclear option. Every route I took trying to upgrade in the steps needed ended up in frustration and failure, so reinstalling Ubuntu was the only option I had left.

Kubuntu/Ubuntu/Fedora Stuck at install on HP Spectre x360 Meteor Lake Core Ultra 155H Laptop dual boot https://askubuntu.com/questions/1502003/kubuntu-ubuntu-fedora-stuck-at-install-on-hp-spectre-x360-meteor-lake-core-ultra

I am a beginner at linux and trying to install it on a HP Spectre X360 laptop with Meteor Lake Core Ultra 155H with dual boot on a single 2TB NVME disk.

I am creating a separate /root partition, but no separate /boot partition since it's a UEFI FS and I believe the grub bootloader will be installed in Windows UEFI partition?

I tried Ubuntu 20.04/22.04/23.10, Fedora 39/38 and Kubuntu 23.04/23.10.

I have turned off Secure Boot, power on lid, hibernation etc from windows 11. The only Ubuntu I was successful in installing is Ubuntu 20.04 with kernel 5.15 and then upgrade to Ubuntu 22.04 or 23.10 through sudo do-release-upgrade, staying on the same kernel. Caveat is the touchpad, WiFi, screen brightness adjustment, Bluetooth etc nothing works. I downloaded the latest Linux firmware to install the drivers, but that didn't help. It was BE200 Wifi7 chip and dmesg | grep iwlwifi does show the driver. I use a USB C 2.5G Ethernet through which I can use internet and upgrade. I was able to make WiFi once by bringing the link up (network unclaimed status right now).

The moment I upgrade the kernel to get the right drivers for all the peripherals, I get a kernel panic error or timed out waiting for device/dependency failed for multiple file systems including /boot/efi. If not these, then I am stuck at Hub sensors for all night. Fedora 39/38 doesn't even show the logo as soon as I select try Fedora or install Fedora. I tried everything suggested so far over the internet (nomodeset, noacpi), balena installer, dd, on 3 different USB drives.

Nothing has worked. Currently trying to install Kubuntu 23.10 and stuck on sensor hub id. I'm looking for help as I don't want to be a Windows user and don't wish to use a VM. I was able to install Ubuntu 23.10 using VirtualBox, but I want to have a dual boot system.

There is no legacy UEFI option in the boot menu.

Kubuntu got stuck here all day:

enter image description here

Dependency error when kernel updated to anything above 6.1 in Ubuntu 22.04:

enter image description here

Mutex Error in Ubuntu kernel 6.5 / Mutex Error when USB-C Ethernet is connected:

enter image description here

ACPI Bios error before every boot:

enter image description here

Update:

Yesterday I installed 20.04 and updated it to 22.04 LTS Desktop version with kernel 5.15. I then updated the kernel to 5.19, which gives me the main desktop screen, but like 5.15, no interfaces are working except the USB-C connected Realtek 2.5G Ethernet controller to connect to internet.

I then installed kernel 6.1.76 & 6.2. I compiled kernel 6.1.76 and used mainline repository for installing 6.2. Both got stuck at this place:

enter image description here

Sorting a text file based on numerical values present in each line https://askubuntu.com/questions/1491272/sorting-a-text-file-based-on-numerical-values-present-in-each-line

I have a text file containing paths of various wav files. But when they are created they are sorted based on alphabetical order. Hence the paths are like this

/home/wav_path/converted_Interpreter_TC_100.wav
/home/wav_path/converted_Interpreter_TC_101.wav
/home/wav_path/converted_Interpreter_TC_102.wav
/home/wav_path/converted_Interpreter_TC_103.wav
/home/wav_path/converted_Interpreter_TC_104.wav
/home/wav_path/converted_Interpreter_TC_105.wav
/home/wav_path/converted_Interpreter_TC_106.wav
/home/wav_path/converted_Interpreter_TC_107.wav
/home/wav_path/converted_Interpreter_TC_108.wav
/home/wav_path/converted_Interpreter_TC_109.wav
/home/wav_path/converted_Interpreter_TC_10.wav
/home/wav_path/converted_Interpreter_TC_110.wav
/home/wav_path/converted_Interpreter_TC_111.wav
/home/wav_path/converted_Interpreter_TC_11.wav
/home/wav_path/converted_Interpreter_TC_12.wav
/home/wav_path/converted_Interpreter_TC_13.wav
/home/wav_path/converted_Interpreter_TC_14.wav
/home/wav_path/converted_Interpreter_TC_15.wav
/home/wav_path/converted_Interpreter_TC_16.wav
/home/wav_path/converted_Interpreter_TC_17.wav
/home/wav_path/converted_Interpreter_TC_18.wav
/home/wav_path/converted_Interpreter_TC_19.wav
/home/wav_path/converted_Interpreter_TC_1.wav
/home/wav_path/converted_Interpreter_TC_20.wav
/home/wav_path/converted_Interpreter_TC_21.wav
/home/wav_path/converted_Interpreter_TC_22.wav
/home/wav_path/converted_Interpreter_TC_23.wav
/home/wav_path/converted_Interpreter_TC_24.wav
/home/wav_path/converted_Interpreter_TC_25.wav
/home/wav_path/converted_Interpreter_TC_26.wav
/home/wav_path/converted_Interpreter_TC_27.wav
/home/wav_path/converted_Interpreter_TC_28.wav
/home/wav_path/converted_Interpreter_TC_29.wav
/home/wav_path/converted_Interpreter_TC_2.wav
/home/wav_path/converted_Interpreter_TC_30.wav
/home/wav_path/converted_Interpreter_TC_31.wav
/home/wav_path/converted_Interpreter_TC_32.wav
/home/wav_path/converted_Interpreter_TC_33.wav
/home/wav_path/converted_Interpreter_TC_34.wav
/home/wav_path/converted_Interpreter_TC_35.wav
/home/wav_path/converted_Interpreter_TC_36.wav
/home/wav_path/converted_Interpreter_TC_37.wav
/home/wav_path/converted_Interpreter_TC_38.wav
/home/wav_path/converted_Interpreter_TC_39.wav
/home/wav_path/converted_Interpreter_TC_3.wav
/home/wav_path/converted_Interpreter_TC_40.wav
/home/wav_path/converted_Interpreter_TC_41.wav
/home/wav_path/converted_Interpreter_TC_42.wav
/home/wav_path/converted_Interpreter_TC_43.wav
/home/wav_path/converted_Interpreter_TC_44.wav
/home/wav_path/converted_Interpreter_TC_45.wav
/home/wav_path/converted_Interpreter_TC_46.wav
/home/wav_path/converted_Interpreter_TC_47.wav
/home/wav_path/converted_Interpreter_TC_48.wav
/home/wav_path/converted_Interpreter_TC_49.wav
/home/wav_path/converted_Interpreter_TC_4.wav
/home/wav_path/converted_Interpreter_TC_50.wav
/home/wav_path/converted_Interpreter_TC_51.wav
/home/wav_path/converted_Interpreter_TC_52.wav
/home/wav_path/converted_Interpreter_TC_53.wav
/home/wav_path/converted_Interpreter_TC_54.wav
/home/wav_path/converted_Interpreter_TC_55.wav
/home/wav_path/converted_Interpreter_TC_56.wav
/home/wav_path/converted_Interpreter_TC_57.wav
/home/wav_path/converted_Interpreter_TC_58.wav
/home/wav_path/converted_Interpreter_TC_59.wav
/home/wav_path/converted_Interpreter_TC_5.wav
/home/wav_path/converted_Interpreter_TC_60.wav
/home/wav_path/converted_Interpreter_TC_61.wav
/home/wav_path/converted_Interpreter_TC_62.wav
/home/wav_path/converted_Interpreter_TC_63.wav
/home/wav_path/converted_Interpreter_TC_64.wav
/home/wav_path/converted_Interpreter_TC_65.wav
/home/wav_path/converted_Interpreter_TC_66.wav
/home/wav_path/converted_Interpreter_TC_67.wav
/home/wav_path/converted_Interpreter_TC_68.wav
/home/wav_path/converted_Interpreter_TC_69.wav
/home/wav_path/converted_Interpreter_TC_6.wav
/home/wav_path/converted_Interpreter_TC_70.wav
/home/wav_path/converted_Interpreter_TC_71.wav
/home/wav_path/converted_Interpreter_TC_72.wav
/home/wav_path/converted_Interpreter_TC_73.wav
/home/wav_path/converted_Interpreter_TC_74.wav
/home/wav_path/converted_Interpreter_TC_75.wav
/home/wav_path/converted_Interpreter_TC_76.wav
/home/wav_path/converted_Interpreter_TC_77.wav
/home/wav_path/converted_Interpreter_TC_78.wav
/home/wav_path/converted_Interpreter_TC_79.wav
/home/wav_path/converted_Interpreter_TC_7.wav
/home/wav_path/converted_Interpreter_TC_80.wav
/home/wav_path/converted_Interpreter_TC_81.wav
/home/wav_path/converted_Interpreter_TC_82.wav
/home/wav_path/converted_Interpreter_TC_83.wav
/home/wav_path/converted_Interpreter_TC_84.wav
/home/wav_path/converted_Interpreter_TC_85.wav
/home/wav_path/converted_Interpreter_TC_86.wav
/home/wav_path/converted_Interpreter_TC_87.wav
/home/wav_path/converted_Interpreter_TC_88.wav
/home/wav_path/converted_Interpreter_TC_89.wav
/home/wav_path/converted_Interpreter_TC_8.wav
/home/wav_path/converted_Interpreter_TC_90.wav
/home/wav_path/converted_Interpreter_TC_91.wav
/home/wav_path/converted_Interpreter_TC_92.wav
/home/wav_path/converted_Interpreter_TC_93.wav
/home/wav_path/converted_Interpreter_TC_94.wav
/home/wav_path/converted_Interpreter_TC_95.wav
/home/wav_path/converted_Interpreter_TC_98.wav
/home/wav_path/converted_Interpreter_TC_99.wav
/home/wav_path/converted_Interpreter_TC_9.wav

I want them to be sorted based on the numerics after TC, so that they can be like this

/home/wav_path/converted_Interpreter_TC_1.wav
/home/wav_path/converted_Interpreter_TC_2.wav
/home/wav_path/converted_Interpreter_TC_3.wav
/home/wav_path/converted_Interpreter_TC_4.wav

I have tried using sort and sort -n but none are working. Can anyone please help me with how to do this?

Ubuntu won't boot after a Windows update https://askubuntu.com/questions/1418852/ubuntu-wont-boot-after-a-windows-update

When I installed Ubuntu a year ago, I created a partition (alas) on which I kept Windows, just in case. I've been booting in Windows extremely rarely because I work from Ubuntu only. Two days ago (alas again) I booted in Windows and naturally a ton of updates were waiting for me. So I did the updates choosing "Update and shut down". After that shutdown, however, both Windows and Ubuntu are failing to boot. Windows freezes in "Preparing Automatic Repair" and Ubuntu mostly just gives a black screen (sometimes it says "TPM interrupt not working, polling instead) although I did reach the purple screen twice, managed to enter my password but then it froze.

In UEFI, the computer (HP Zbook mobile workstation, i7) passes the system fast test, on the extensive test it passes the short DST check but freezes on the optimized DST check.

A boot through advanced Ubuntu options/recovery mode also doesn't work (it runs for a while giving error messages like kernel panic, etc. and then freezes).

I've created a live USB stick (which works, I've just used it to install Ubuntu on another computer) but also that won't boot, not even in the safe graphics mode, it starts booting and then freezes. (I've disabled Fast Boot in UEFI).

Is there any way this can be solved? I haven't done a back-up in a week and if nothing else I'd like to recover some of the data from that disk.

How to find duplicate lines in very large (65GB) text files? https://askubuntu.com/questions/1403016/how-to-find-duplicate-lines-in-very-large-65gb-text-files

I have 10 text files, that contain 65 characters of hex value in each line. Each text files is 6.5GB in size (having 99999999 lines)

i.e.file1-6.5GB, file2-6.5GB, file3-6.5GB, file4-6.5GB, ... file10-6.5GB

I need to find duplicate lines in all of these 10 text files combined and I need to be able to know which duplicate line came from which file and how many files have duplicate lines?

How can I do that?

I am currently using this command:

sort *.txt | uniq -d > dup

But it is hanging, and sometimes crashing. If I want to check a 65GB file, do I need double that size in the computer memory i.e do I need to install more memory?

Is there any other way to do this?

Ubuntu server strange behavior https://askubuntu.com/questions/1331835/ubuntu-server-strange-behavior

Please help me ... I'm not a very experimented user ...have some notions but my logic is not working :(

The story is the following

  • more then 10 years ago (maybe in 2010) decided to use a PC in our LAN (about 10 PCs) to store the common documents, invoices, datasheets and stuff like this in a centralized location so we choosed to use Linux (Debian Lenny) for our SHAREPOINT, after a few days we've started to use a CRM based on PHP4 and SQL database
  • everything worked fine without any intervention only a few small maintenace ... until a month ago
  • The main problem was that the PC stops to boot and display the following message Kernel panic - not syncing : attempted to kill int ! exit code=0x00007f00 This error appear even if I'm trying to boot from a bootable USB I've tried using BootRepair the report uploaded https://paste.ubuntu.com/p/7f8VZCjHW6/ after the reboot https://paste.ubuntu.com/p/kP7by6mB9d/

I've decided to install UBUNTU ... the latest version and Apache 2, PHP 7.4, SQL

so the problems:

  • crontab is not working neiher the global or the user's or the root's
  • the CRM based on PHP/SQL is working about 20xtimes slower
  • updated the PHP to 8.0 an the php -v display "PHP 8.0.3 (cli) (built: Mar 5 2021 07:54:13)" but phpinfo() displays "PHP Version 7.4.16"

Specs:

  • Processor: Intel Celeron CPU 2.80GHz
  • Memory: 967MB (575MB used)
  • Machine type Desktop
  • OS: Ubuntu 20.04.2
apt get rollback in time? https://askubuntu.com/questions/1301307/apt-get-rollback-in-time

I installed packages in the last days and I decided. I try to removed them, and chrome was suddenly stop working. I assume that some of the packages were already installed, so chrome couldn't start anymore. so I installed them again. is there a way to restore to the package state insatlled in the system, 3 days ago for instance?

Squid Proxy - The requested URL could not be retrieved https://askubuntu.com/questions/1069138/squid-proxy-the-requested-url-could-not-be-retrieved

I'm trying to redirect all of my subnet traffic to a squid proxy using iptables on the router gateway (the squid proxy is located in the LAN).

The redirection works (cache & access file respond well), but the requested page page shows an error (image is attached)

Squid version:3.5.27 The iptables lines that we used for the redirection: 192.168.0.110:3129 - the squid box port+IP. 192.168.0.1 - the router's IP.

iptables:

  1. iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.0.110:3129

  2. iptables -t nat -A POSTROUTING -p tcp -d 192.168.0.110 --dport 3129 -j SNAT --to-source 192.168.0.1

squid.conf

These are the lines that we have changed/added to the squid.conf:

acl localnet src 192.168.0.0/24

http_access allow localnet 
http_port 3129 

error img I can't figure it out where is the problem (iptables or squid.conf file). Thank you in advance. Chat Conversation End Type a message...

USB drive will not let me copy/paste files, "permission denied" https://askubuntu.com/questions/1033363/usb-drive-will-not-let-me-copy-paste-files-permission-denied

So today I plugged in my 31 GB USB flash drive and opened it up. I was in the process of creating a Windows bootable device, when I tried to copy the files from my computer to the USB. I got an error message telling me I do not have permissions to add files.

  • I added and removed partitions on the usb thousands of times
  • I formatted it a bazillion times

And it seems I am unable to do the simple task of copying and pasting files.

I have passwords for the systems. I own the computer.

Why can't I copy files?

Formated it to ext2, fat32 and nfts: no results, same nonsense

How to Mount NTFS partition in Ubuntu 16.04 https://askubuntu.com/questions/978746/how-to-mount-ntfs-partition-in-ubuntu-16-04

I'm new to Ubuntu. Installed ubuntu by formatting my existing C Drive in Windows 10 OS. So I have only Ubuntu in my laptop. My D drive is left untouched which is a NTFS file system. Please guide me how to mount this so that I can work with my files.

Wrong sorting a text file https://askubuntu.com/questions/956978/wrong-sorting-a-text-file

I have this simple text file and want to sort all lines by the response_time column:

1 console-2017_09_17.log:2017-09-17 00:04:02,507:INFO :pool-8982-thread-30:r.a.u.j.PerfRequestInterceptor - method=GET, uri==43975&items, response_time=1030, response_code=300 
2 console-2017_09_17.log:2017-09-17 00:04:02,628:INFO :pool-8982-thread-77:r.a.u.j.PerfRequestInterceptor - method=GET, uri==PBD4766&items, response_time=1142, response_code=200 
3 console-2017_09_17.log:2017-09-17 00:04:02,651:INFO :pool-8982-thread-67:r.a.u.j.PerfRequestInterceptor - method=GET, uri==MDC1810C&items, response_time=1166, response_code=200 
4 console-2017_09_17.log:2017-09-17 00:04:02,655:INFO :pool-8984-thread-47:r.a.u.j.PerfRequestInterceptor - method=GET, uri==1031086&items, response_time=1005, response_code=200 
5 console-2017_09_17.log:2017-09-17 00:04:02,668:INFO :pool-8984-thread-50:r.a.u.j.PerfRequestInterceptor - method=GET, uri==F1018P&items, response_time=1018, response_code=200 
6 console-2017_09_17.log:2017-09-17 00:04:02,677:INFO :pool-8983-thread-86:r.a.u.j.PerfRequestInterceptor - method=GET, uri==V2581261&items, response_time=1060, response_code=200 
7 console-2017_09_17.log:2017-09-17 00:04:02,681:INFO :pool-8982-thread-68:r.a.u.j.PerfRequestInterceptor - method=GET, uri==202581&items, response_time=1196, response_code=200 
8 console-2017_09_17.log:2017-09-17 00:04:02,686:INFO :pool-8984-thread-46:r.a.u.j.PerfRequestInterceptor - method=GET, uri==1563200600&, response_time=1036, response_code=200 
9 console-2017_09_17.log:2017-09-17 00:04:02,693:INFO :pool-8983-thread-29:r.a.u.j.PerfRequestInterceptor - method=GET, uri==8DB355025371, response_time=1207, response_code=200

I tried it this way:

sort -n -t " " -k 8 myfile.txt

But I still got an unsorted file. Why?

UPD: Time can be less than 1000 and more than 9999:

1 console-2017_09_17.log:2017-09-17 00:04:02,507:INFO :pool-8982-thread-30:r.a.u.j.PerfRequestInterceptor - method=GET, uri==43975&items, response_time=11030, response_code=300 
2 console-2017_09_17.log:2017-09-17 00:04:02,628:INFO :pool-8982-thread-77:r.a.u.j.PerfRequestInterceptor - method=GET, uri==PBD4766&items, response_time=1142, response_code=200 
3 console-2017_09_17.log:2017-09-17 00:04:02,651:INFO :pool-8982-thread-67:r.a.u.j.PerfRequestInterceptor - method=GET, uri==MDC1810C&items, response_time=1166, response_code=200 
4 console-2017_09_17.log:2017-09-17 00:04:02,655:INFO :pool-8984-thread-47:r.a.u.j.PerfRequestInterceptor - method=GET, uri==1031086&items, response_time=1005, response_code=200 
5 console-2017_09_17.log:2017-09-17 00:04:02,668:INFO :pool-8984-thread-50:r.a.u.j.PerfRequestInterceptor - method=GET, uri==F1018P&items, response_time=1018, response_code=200 
6 console-2017_09_17.log:2017-09-17 00:04:02,677:INFO :pool-8983-thread-86:r.a.u.j.PerfRequestInterceptor - method=GET, uri==V2581261&items, response_time=1060, response_code=200 
7 console-2017_09_17.log:2017-09-17 00:04:02,681:INFO :pool-8982-thread-68:r.a.u.j.PerfRequestInterceptor - method=GET, uri==202581&items, response_time=1196, response_code=200 
8 console-2017_09_17.log:2017-09-17 00:04:02,686:INFO :pool-8984-thread-46:r.a.u.j.PerfRequestInterceptor - method=GET, uri==1563200600&, response_time=1036, response_code=200 
9 console-2017_09_17.log:2017-09-17 00:04:02,693:INFO :pool-8983-thread-29:r.a.u.j.PerfRequestInterceptor - method=GET, uri==8DB355025371, response_time=7, response_code=200

UPD2: I'm reduce parameter uri. It can contain different numbers of "=".

In Shotwell, how can I delete files that have been removed from the library? https://askubuntu.com/questions/846326/in-shotwell-how-can-i-delete-files-that-have-been-removed-from-the-library

I emptied the Shotwell bin, and accidentally chose the "Remove from Library" option, rather than the "Remove and Trash" option. How can I now delete the files permanently from disc that are no longer in the library? (There were 91 files in the bin.) I'm using Shotwell v0.22.0.

AMD GPU Fan Control https://askubuntu.com/questions/829567/amd-gpu-fan-control

I have installed ubuntu 16.04 and my GPU is R9 380X. The Driver used is AMDGPU..is there any way to control the fan of my gpu? because it never spins.

Thanks !

Ubuntu 14.04 is not working https://askubuntu.com/questions/690454/ubuntu-14-04-is-not-working

I am using Ubuntu 14.04 on a Dell i3 4005 and I am unable to boot my laptop from yesterday.

It directed to GNU grub version 2.02~beta2-9ubuntu1.3 window, and I have to select one from followings

  1. Ubuntu
  2. Advanced options for Ubuntu
  3. memory test (memtest86+)
  4. memory test (memtest86+, serial console 115200)

When I select option 1 above, it goes to a purple colored screen displaying ubuntu in the middle, and nothing happens thereafter.

When I select option 2 above, I get the following list.

   Ubuntu, with Linux 3.16.0-50-generic
   Ubuntu, with Linux 3.16.0-50-generic (recovery mode)
   Ubuntu, with Linux 3.16.0-49-generic
   Ubuntu, with Linux 3.16.0-49-generic (recovery mode)
   Ubuntu, with Linux 3.16.0-43-generic
   Ubuntu, with Linux 3.16.0-43-generic (recovery mode)
   Ubuntu, with Linux 3.16.0-41-generic
   Ubuntu, with Linux 3.16.0-41-generic (recovery mode)
   Ubuntu, with Linux 3.16.0-37-generic
   Ubuntu, with Linux 3.16.0-37-generic (recovery mode)
   Ubuntu, with Linux 3.16.0-33-generic
   Ubuntu, with Linux 3.16.0-33-generic (recovery mode)
   Ubuntu, with Linux 3.16.0-31-generic
   Ubuntu, with Linux 3.16.0-31-generic (recovery mode)

If I select any of above it will display so many text and end up with following error message.

Kernel Panic - Not syncing: Attempted to kill init! exitcode=0x00007f00

Then I tried to make bootable USB with Ubuntu 15.10, and when I try to install it it ask me to backup Dell software and there are 3 buttons on it Quit, back and Next, but only the quit button is accessible and it quits the installation.

USB drive won't mount https://askubuntu.com/questions/301506/usb-drive-wont-mount

I have a Lexar 16GB USB stick and for some reason it won't mount. Ubuntu won't even recognize it.

Info about it... nothing much. I used it once as a Backtrack live USB and tried to use it once as an Ubuntu Studio 12.10 live USB (ended up with a kernel panic). So now I am trying to just reformat it (the easiest/fastest way to wipe everything off) and just use it as a regular USB drive or maybe use it as a Backtrack live USB again.

Is there any way I can force Ubuntu to recognize it? I know the port works as my USB mouse receiver works fine.

I'm running Ubuntu 12.04 LTS (old hardware, I'll upgrade it soon) on a Toshiba Satellite A105.

By using this guide I was able to force-mount it, but it still doesn't show up in Places (PCManFM because I use LXDE) like it usually does. Another strange thing, neither does the Windows NTFS partition I set to automount.

It appears that my system has stopped auto-mounting things. The devices show up in their respective /media/deviceHere/ folders, but not under Places in PCManFM.

Weirdness.

Whatever it was, I just had to delete/unmount anything with the name Lexar or External USB in the media folder and it is now recognized!

Never mind, now it has disappeared again. If I want to access the /media/Lexar folder I have to be root and the Windows partition still doesn't show up.

Find out if lines of a file is sorted https://askubuntu.com/questions/282198/find-out-if-lines-of-a-file-is-sorted

I have a large text file, where each line consists of three numbers, except for a few comment lines that all start with a hashtag (#). I want to verify that the non-comment lines are sorted numerically. Is there a good way to do this?

I assume I have to extract all the non-comment lines with something like grep -ve \# - butwhere do I pipe this to verify that the output is sorted?

Note: I am not looking for a way to sort the file, but rather to verify that it already is sorted (to verify output the output of a program of mine). Unfortunately, this isn't as common as wanting to sort the contents of a file, or (even more so) wanting to list the contents of a folder in a particular order (alphabetically or by size, for example), so Google has very little for me...

Clarification: The numbers in the file are real, usually on exponential form. I want them sorted in numerical order, which for example means that 0.11000E+02 > 0.90000E+01 > 0.15000E-01.

If it simplifies any, I know that if the file matches what I want, the first two columns will be sorted if counted in pairs - in other words, if the file is valid the third column doesn't have to be considered at all.

Formally, you can express it like this: if x1 and y1 are the first two numbers on one line, and x2 and y2 are the first two numbers on another line, then (x1,y1)>(x2,y2) iff (x1>x2) || (x1==x2 && y1>y2). (x1,y1)>(x2,y2) here means that the line with x1 and y1 should be considered larger, the line with x2 and y2, and (x1,y1) should appear below (x2,y2) in the file.

Sample input: pastebin
I expect the above file to be considered as sorted, but if any two lines (that are not comment lines) are switched, the file is no longer sorted. Note that lines can have leading whitespace.