Can't use internet on school wifi even though it works on windows partition https://askubuntu.com/questions/1564198/cant-use-internet-on-school-wifi-even-though-it-works-on-windows-partition

OS: Kubuntu 24.04, kernel version: 6.8.0-94-generic (64-bit)

Device: TOSHIBA PORTEGE R835, 4 × Intel® Core™ i3-2310M CPU @ 2.10GHz

I dual boot windows and kubuntu + linux mint. I used to be able to connect to the school wifi just fine, with an even better experience than on windows. About a year ago I began to have this issue of linux indicating that I am connected to the school wifi but not being able to use the internet although the internet works on windows and on my android phone, leading me to abandon linux. To connect to the school wifi, there is a portal for school credentials. Does anyone know what is wrong?

Which packages are removed by Ubiquity? https://askubuntu.com/questions/1564194/which-packages-are-removed-by-ubiquity

While installing Ubuntu 18.04 on a very old laptop, the installer failed to install grub and aborted.

OK, I installed grub in chroot and then rebooted.

Ubuntu boots fine but the packages that Ubiquity is supposed to remove at the end are not removed. Is there a list somewhere which packages I should remove?

(I know that Ubuntu 18.04 is too old but it is still supported in ESM, and the laptop is too old for any newer version of Ubuntu.)

Want to eliminate sound delay https://askubuntu.com/questions/1564193/want-to-eliminate-sound-delay

I have an HP Elitebook laptop running Ubuntu 24.04 LTS. I sometimes play the sound through the laptop speakers and sometimes through the HP dock, which routes it through HDMI. If there has been no sound for some period, there is a multi-second delay in the start of the sound. This is mostly just annoying, though sometimes if the sound is just a 'click' indicating a chess game move, for instance, the sound just doesn't show up. I have no power issues to worry about. I would like to do something to my system so that it does not have a delay when starting sound.

I did a Google search on the question; it tells me to edit a file that doesn't exist in the directory where the directions tell me it is. Then the setting it is telling me to use is wildly different from the setting as it is, and I cannot even tell the units for the value I'm setting. I decided that, in this case at least, blindly following what the Google AI tells me to do was not what I wanted.

Also, AskUbuntu sound question gives instructions about how to create an 'empty' sound and start a daemon to play it continuously to fool the system into thinking there is a sound in progress. I think I can do that, but is it really necessary? Isn't there some driver or something that can merely be told not to delay that much? Ot at all?

GM965/GL960 graphic card "Unclaimed" https://askubuntu.com/questions/1564192/gm965-gl960-graphic-card-unclaimed
*-display:1 UNCLAIMED
       description: Display controller
       product: Mobile GM965/GL960 Integrated Graphics Controller (secondary)
       vendor: Intel Corporation
       physical id: 2.1
       bus info: pci@0000:00:02.1
       version: 0c
       width: 64 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list
       configuration: latency=0
       resources: memory:f6f00000-f6ffffff

Can someone please help me to resolve this problem? Greatly appreciate for your help.

How to add the virtualbox repositories in 24.04 LTS? https://askubuntu.com/questions/1564191/how-to-add-the-virtualbox-repositories-in-24-04-lts

I am trying to add the Virtualbox repositories to Ubuntu 24.04.4LTS

The instructions are here.

I downloaded the key from https://www.virtualbox.org/download/oracle_vbox_2016.asc
And placed it in ~/Downloads/Virtualbox/oracle_vbox_2016.asc

I then added the key to /usr/share/keyrings/ with
sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor ~/Downloads/Virtualbox/oracle_vbox_2016.asc

So I now have /usr/share/keyrings/oracle-virtualbox-2016.gpg.

Next I have to deal with the line
deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian <mydist> contrib

The GUI at 'Administration > Software & Updates` doesn't like the bit in brackets [...].

Neither does, add-apt-repository.

So now I'm trying to manually add everything to /etc/apt/sources.list.d/ubuntu.sources.

The current ubuntu.sources is

Types: deb
URIs: http://gb.archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb
URIs: http://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

So I'm guessing I need to add:

Types: deb
URIs: https://download.virtualbox.org/virtualbox/debian
Suites: *1
Components: *2
Signed-By: /usr/share/keyrings/oracle-virtualbox-2016.gpg

But what do I put at *1 and *2 ?

Given that the Oracle deb line ends, <mydist> contrib, do I simply put noble at *1 and contrib at *2 ?

Installer Crashed for Ubuntu 22.04.5 https://askubuntu.com/questions/1564190/installer-crashed-for-ubuntu-22-04-5

Any advice would be great. I am trying to install Ubuntu 22.04.5 on a Dell workstation. I previously was able to install 24.04 dual boot with windows easily with no issues, however a software package I need to use is only compatible with 22. So I wiped that drive and tried to install 22.04. Everything goes fine until the very end of installation, the installer crashes at the same point when it reaches, Installing Packages. After that I cannot restart installation and have to reboot to try again. I have disabled secure boot and tried booting via the safe graphics mode with no success. I have tried installing it on three different SSDs and even removed the windows installation but still haven’t been successful. Using 24 is not an option. One thing to note is that after every crash when it goes to report the bug it cannot because it says my package is unofficial. Idk what that means I am getting the ISO direct from Ubuntu and have tried redownlading/reflashing multiple times. Thank you.

How do I access the GRUB menu? [Running a dual-booted system (Lubuntu/Win8)] https://askubuntu.com/questions/1564189/how-do-i-access-the-grub-menu-running-a-dual-booted-system-lubuntu-win8

A couple months ago I dual booted my Lenovo Thinkpad (2014) to run Windows 8 and Lubuntu. In doing so I needed to disable secure boot and fast start up. I also set the boot manger to place Lubuntu as the primary OS.

With a recent update and restart to Lubuntu in the first two weeks of February 2026, I encountered this error:"Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)"

The system had been running smoothly until now and been updating consistently. I didn't notice initially until now that I can not access the Linux system GRUB menu. I can access the Lenovo Diagnostics menu, the BIOS menu and Windows Boot Manager Menu. The pressing of the shift and esc keys do nothing.

How do I obtain access the GRUB menu so I can fix my kernel panic issue?

Snap run Chronium https://askubuntu.com/questions/1564187/snap-run-chronium
perkins@perkins:\~$ sudo snap install chromium
snap "chromium" is already installed, see 'snap help refresh'

perkins@perkins:\~$ flatpak list --app
Name         Application ID               Version         Branch Installation
PulseEffects com.github.wwmm.pulseeffects 4.8.7           stable system
TIDAL Hi-Fi  com.mastermindzh.tidal-hifi  6.1.0           stable system
Sayonara     com.sayonara_player.Sayonara 1.11.0-stable1  stable system
Betterbird   eu.betterbird.Betterbird     140.7.1esr-bb18 stable system
Audacity     org.audacityteam.Audacity    3.7.7           stable system
Firefox      org.mozilla.firefox          147.0.4         stable system
qBittorrent  org.qbittorrent.qBittorrent  5.1.4           stable system
Nvidia 535 drivers on Ubuntu 25.10 https://askubuntu.com/questions/1564186/nvidia-535-drivers-on-ubuntu-25-10

I have a NVIDIA Corporation TU116 [GeForce GTX 1650 SUPER] graphics card. On Ubuntu 24.04 I'd been having problems with system freezes which I believe was down to the X.Org Nouveau drivers. After some trial and error, I switched the graphics card driver to Nvidia 535 and all was fine. I've now upgraded to Ubuntu 25.10, and the 535 drivers don't seem to be available. When I use any of the newer Nvidia drivers, or the X.org Nouveau drivers, the old problems (e.g. flickering, system freezes) return. Is there any way to install the 535 drivers on Ubuntu 25.10? Or is my only option to downgrade my system to 24.04 so I can use the 535 drivers again? Or is there some other option to try?

Ubuntu 24.04 Optical S/PDIF Not working https://askubuntu.com/questions/1564176/ubuntu-24-04-optical-s-pdif-not-working

Hello to all users here I Install the Ubuntu 24.04 on my computer and in the first I was have a problem with the screen . that I see only Gray screen I fix it . after that i see that I not have sound I go to the control panel and go to sound and i see that I see that the grafs move but no sound . when I try the regolar pin output of speeker on the board it work wall .but in the optical S/PDIF conection no sound i try to fix the problem with chatgpt . we try to install drivers and try to install Alsamixer . pavucontrol . and no sucsses with that if some body here can help me or guide me to selution it well be wonderfull Thank you and have a nice day

Set screen blank time to more than 15 minutes https://askubuntu.com/questions/1564171/set-screen-blank-time-to-more-than-15-minutes

I want to set my screen blanking time to half an hour. What are the command line instructions for this?

Ubuntu 25.10 desktop. In the power options there is a choice to set the automatic screen blank, the maximum being 15 minute delay.

How to enable Linux kernel 6.17 in Ubuntu 24.04.4 and reenable bluetooth? https://askubuntu.com/questions/1564164/how-to-enable-linux-kernel-6-17-in-ubuntu-24-04-4-and-reenable-bluetooth

I previously put on hold the kernel update on a system as the updates were breaking the system. This was described in this question.

I came across this article:

The Ubuntu 24.04.4 LTS hardware enablement stack (HWE) has finally hit the updates repo, bringing Linux kernel 6.17 and Mesa 25.2.7 to users on the current long-term support release

As such I unheld the kernel using this command and installed the linux-headers-generic-hwe-24.04:

$ sudo apt-mark unhold 6.14.0-33-generic
$ sudo apt update
$ sudo apt install linux-headers-generic-hwe-24.04

However the installation failed because of btusb/4.2. According to AI, I could resolve this issue by removing that bluetooth app

I then removed it and reinstalled linux-headers-generic-hwe-24.04:

$ sudo dkms status
$ sudo dkms remove btusb/4.2 --all
$ sudo apt clean
$ sudo dpkg --configure -a
$ sudo apt update && sudo apt upgrade
$ sudo apt install linux-headers-generic-hwe-24.04
$ uname -a

However 6.14.0-33-generic #33~24.04.1-Ubuntu is still being used.

I rebooted my system and updated the system but still the kernel was not updated. I discovered another problem. The multi-screen display no longer worked and only one monitor would appear. I verified that this issue was unrelated to any hardware issue and is a software issue.

Consequently, went into the terminal mode via Ctrl + Alt + F3 to reinstall purge the nvidia drivers, reinstall the current working linux kernel and reinstalled the nvidia drivers:

$ sudo apt remove --purge nvidia-*
$ sudo apt autoremove
$ sudo apt autoclean
$ sudo apt install linux-headers-$(uname -r)
$ sudo ubuntu-drivers autoinstall
$ sudo reboot

After the reboot, the multi-monitor displays worked again. I reinstalled linux-headers-generic-hwe-24.04:

$ sudo apt remove --purge linux-headers-generic-hwe-24.04
$ sudo apt install linux-headers-generic-hwe-24.04

However, the Linux kernel 6.17 was still not showing up. Also bluetooth can no longer be enabled.

How do I get the Linux kernel 6.17 to be loaded and get the bluetooth to work again?

I confirm that linux-headers-generic-hwe-24.04 is installed.

$ sudo apt install linux-headers-generic-hwe-24.04
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-generic-hwe-24.04 is already the newest version (6.17.0-14.14~24.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

However, the linux kernel does not shows to be updated:

$ uname -r
6.14.0-33-generic


$ sudo dpkg --configure -a ; ls -l /boot
.rw-r--r-- 296k root 19 Sep  2025  config-6.14.0-33-generic
drwxr-xr-x    - root  1 Jan  1970  efi
drwxr-xr-x    - root  6 Nov  2025  grub
lrwxrwxrwx    - root  6 Nov  2025  initrd.img -> initrd.img-6.14.0-33-generic
.rw-r--r--  62M root 20 Feb 01:52  initrd.img-6.14.0-33-generic
lrwxrwxrwx    - root  6 Nov  2025  initrd.img.old -> initrd.img-6.14.0-33-generic
.rw-r--r-- 143k root  9 Apr  2024  memtest86+ia32.bin
.rw-r--r-- 144k root  9 Apr  2024  memtest86+ia32.efi
.rw-r--r-- 148k root  9 Apr  2024  memtest86+x64.bin
.rw-r--r-- 149k root  9 Apr  2024  memtest86+x64.efi
.rw------- 9.1M root 19 Sep  2025  System.map-6.14.0-33-generic
lrwxrwxrwx    - root  6 Nov  2025 󰡯 vmlinuz -> vmlinuz-6.14.0-33-generic
.rw-------  16M root 19 Sep  2025  vmlinuz-6.14.0-33-generic
lrwxrwxrwx    - root  6 Nov  2025  vmlinuz.old -> vmlinuz-6.14.0-33-generic

$ hciconfig ; lsusb 
hci0:   Type: Primary  Bus: USB
    BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
    DOWN 
    RX bytes:0 acl:0 sco:0 events:0 errors:0
    TX bytes:61 acl:0 sco:0 commands:1 errors:0

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 214b:7250 Huasheng Electronics USB2.0 HUB
Bus 001 Device 003: ID 046d:091c Logitech, Inc. 罗技高清网络摄像机 C930n
Bus 001 Device 004: ID 05e3:0751 Genesys Logic, Inc. microSD Card Reader
Bus 001 Device 005: ID 056a:0374 Wacom Co., Ltd CTL-4100 [Intuos (S)]
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 413c:1010 Dell Computer Corp. USB 2.0 Hub [MTT]
Bus 003 Device 003: ID 0e8d:0717 MediaTek Inc. Wireless_Device
Bus 003 Device 004: ID 413c:2110 Dell Computer Corp. Dell Wired Multimedia Keyboard
Bus 003 Device 005: ID 26ce:0a08 Generic USB Audio
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 002: ID 275d:0ba6  USB OPTICAL MOUSE 
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 011 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 011 Device 002: ID 26ce:01a2 ASRock LED Controller
Can’t log in. Other language than English is indicated as an input language for typing a password [closed] https://askubuntu.com/questions/1564152/can-t-log-in-other-language-than-english-is-indicated-as-an-input-language-for

I was not able to make the pointer moving and opted to reinstall my focal fossa. After installation I added another language, and added this another language to the input languages. Then found I can’t type @ anymore, nor I could find it. I changed UK English to US English. I was asked to authenticate and log out. After logging out I could not log in. Another language was/is in the upper right corner, I can’t change for English I am not logged in. I am running live usb now. I am frustrated. Do I need install again? Is there a safe and simple way to solve the trouble by running live usb? Or is it another bug? And do I still need to reinstall focal fossa? Or do I need to install other release? The machine is Asus Vivobook. I copy update from my answer here, so anyone knows my question is on topic and the moderator's statement is a lie. The bug was reported for 20, 22, 24 lts.

What is the matter here with compiling AMD's ROCm with hipcc on Eclipse? (ld.lld: error: unable to find library -llibrocm_smi64) https://askubuntu.com/questions/1564149/what-is-the-matter-here-with-compiling-amds-rocm-with-hipcc-on-eclipse-ld-lld
hipcc -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"MyClass_test.d" -MT"MyClass_test.o" -o "MyClass_test.o" "../MyClass_test.cpp"
Finished building: ../MyClass_test.cpp
Building target: Experiment
Invoking: GCC C++ Linker
hipcc -L/opt/rocm/include -L/etc/alternatives/rocm/lib -L/opt/rocm/lib -o "Experiment" ./MyClass.o ./MyClass_test.o -llibrocm_smi64
ld.lld: error: unable to find library -llibrocm_smi64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
failed to execute:/opt/rocm-7.2.0/lib/llvm/bin/clang++ --driver-mode=g++ -O3 --hip-link  -L/opt/rocm/include -L/etc/alternatives/rocm/lib -L/opt/rocm/lib -o "Experiment" ./MyClass.o ./MyClass_test.o -llibrocm_smi64
make: \*\*\* \[makefile:67: Experiment\] Error 1
"make all" terminated with exit code 2. Build might be incomplete.

ls of the lib directory

Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver is either not loaded or not set up correctly https://askubuntu.com/questions/1564103/kernel-driver-not-installed-rc-1908-the-virtualbox-linux-kernel-driver-is-eit

"Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver is either not loaded or not set up correctly"

"…Please reinstall virtualbox-dkms package and load the kernel module by executing 'modprobe vboxdrv' as root."

$ uname -a
Linux AM5 6.17.0-14-generic #14~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jan 15 15:52:10 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

This appears to be a recurring problem with no definitive answer: each time it comes up, a previous solution fails to work and a new answer is needed. I've lost track of how many questions and 'answers' I've read on this.

There must be many thousands of people who rely upon Virtualbox to run other Linux, and especially Windows, on Linux. And many will be on Ubuntu. So I don't understand why there isn't already a fix. I don't even know which update caused it. All of a sudden, VB can't start a virtual machine.

Would subscribing to Ubuntu Pro help?

Perhaps I got a 'phased' update, so most of the rest of you are oblivious of the problem?

NB, I've checked the BIOS: secure boot is DISABLED.


Below is some of what I've tried.

Edit 1, Edit 2, etc, are my responses to @heynnema's heroic efforts to find the solution for me. Our exchange (including help from @nobody) was moved by a moderator from Comments to Chat.

So, first try what it says in the error message:

$ sudo apt reinstall virtualbox-dkms
[sudo] password for alan: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 38 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for virtualbox-dkms:amd64

Keep going — maybe the modprobe will work:

$ sudo modprobe vboxdrv
[sudo] password for alan: 
alan@AM5:~$ 

Restart Virtualbox. Try to start virtual machine. Virtual machine immediately goes from 'Saved' to 'Aborted Saved'.

Powering VM up...
VM Name: ...
The VM session was aborted.
Result code: NS_ERROR_FAILURE (0X80004005)
Component: SessionMachine
Interface: ISession {c044...}

Thank goodness I have a backup.

Edit grub and roll back to old kernel: nothing changes.

Let's try update/upgrade:

sudo apt upgrade  

[...]  

Setting up virtualbox-dkms (7.0.16-dfsg-2ubuntu1.1) ...
Removing old virtualbox-7.0.16 DKMS files...
Module virtualbox-7.0.16 for kernel 6.14.0-37-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

vboxdrv.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.14.0-37-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

vboxnetadp.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.14.0-37-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

vboxnetflt.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.14.0-37-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod...
Deleting module virtualbox-7.0.16 completely from the DKMS tree.
Loading new virtualbox-7.0.16 DKMS files...
Building for 6.14.0-37-generic 6.17.0-14-generic
Building initial module for 6.14.0-37-generic
Done.

vboxdrv.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.14.0-37-generic/updates/dkms/

vboxnetadp.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.14.0-37-generic/updates/dkms/

vboxnetflt.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.14.0-37-generic/updates/dkms/
depmod...
Building initial module for 6.17.0-14-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dpkg: error processing package virtualbox-dkms (--configure):
 installed virtualbox-dkms package post-installation script subprocess returned error exit status 10  

[...]  

errors were encountered while processing:
 virtualbox-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.

I forgot to capture this before attempting to reinstall VB --- it's gone.

Tried to install a later version of VB direct from Oracle: failed.
Now I get: "Failed to acquire the VirtualBox COM object. The application will now terminate."

Yes, I know, I should have taken a more systematic approach. But it's difficult to write this on the machine you're trying to fix. Especially as some 'answers' have such enticing 'solutions'...


To understand the Edits, please see the Chat

Edit 1

Managed to install VB 7.1
Same original problem, but now it says to run /sbin/vboxconfig

$ sudo /sbin/vboxconfig
[sudo] password for alan: 
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
alan@AM5:~$ 

Look at /var/log/vbox-setup.log to find out what went wrong.

Building the main VirtualBox module.
Error building the module:
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/6.17.0-14-generic/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j32
 modules
make[1]: warning: -j32 forced in submake: resetting jobserver mode.
make  -C /tmp/vbox.0 \
-f /usr/src/linux-headers-6.17.0-14-generic/Makefile modules
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0

[...]  
[several "fatal error" messages:]

VBox/cdefs.h: No such file or directory  
VBox/sup.h: No such file or directory  
iprt/string.h: No such file or directory  
internal/iprt.h: No such file or directory  
the-linux-kernel.h: No such file or directory  
$ ll /usr/bin | grep gcc
lrwxrwxrwx  1 root root   23 Sep  4  2024 gcc-13 -> x86_64-linux-gnu-gcc-13*

So it would appear the warning about the compiler is a red herring.

Edit 2

$ dpkg -l *virtualbox*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                           Version                    Architecture Description
+++-==============================-==========================-============-==============================================
ic  virtualbox                     7.0.16-dfsg-2ubuntu1.1     amd64        x86 virtualization solution - base binaries
un  virtualbox-2.0                 <none>                     <none>       (no description available)
un  virtualbox-2.1                 <none>                     <none>       (no description available)
un  virtualbox-2.2                 <none>                     <none>       (no description available)
un  virtualbox-3.0                 <none>                     <none>       (no description available)
un  virtualbox-3.1                 <none>                     <none>       (no description available)
un  virtualbox-3.2                 <none>                     <none>       (no description available)
un  virtualbox-4.0                 <none>                     <none>       (no description available)
un  virtualbox-4.1                 <none>                     <none>       (no description available)
un  virtualbox-4.2                 <none>                     <none>       (no description available)
un  virtualbox-4.3                 <none>                     <none>       (no description available)
un  virtualbox-5.0                 <none>                     <none>       (no description available)
un  virtualbox-5.1                 <none>                     <none>       (no description available)
un  virtualbox-5.2                 <none>                     <none>       (no description available)
un  virtualbox-6.0                 <none>                     <none>       (no description available)
un  virtualbox-6.1                 <none>                     <none>       (no description available)
un  virtualbox-7.0                 <none>                     <none>       (no description available)
ii  virtualbox-7.1                 7.1.8-168469~Ubuntu~noble  amd64        Oracle VirtualBox
rc  virtualbox-7.2                 7.2.6-172322~Ubuntu~plucky amd64        Oracle VirtualBox
un  virtualbox-dkms                <none>                     <none>       (no description available)
rc  virtualbox-ext-pack            7.0.16-1                   all          extra capabilities for VirtualBox, downloader.
un  virtualbox-guest-additions-iso <none>                     <none>       (no description available)
un  virtualbox-guest-modules       <none>                     <none>       (no description available)
un  virtualbox-modules             <none>                     <none>       (no description available)
un  virtualbox-ose                 <none>                     <none>       (no description available)
un  virtualbox-qt                  <none>                     <none>       (no description available)
un  virtualbox-source              <none>                     <none>       (no description available)
alan@AM5:~$ 
$ sudo dkms status
[sudo] password for alan: 
alan@AM5:~$ 

(no output from dkms status)

Yes, linux-headers-6.17.0-14-generic installed:

$ sudo apt show linux-headers-6.17.0-14-generic
Package: linux-headers-6.17.0-14-generic
Version: 6.17.0-14.14~24.04.1
Priority: optional
Section: devel
Source: linux-hwe-6.17
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30.6 MB
Provides: linux-headers, linux-headers-3.0
Depends: linux-hwe-6.17-headers-6.17.0-14, libc6 (>= 2.38), libdw1t64 (>= 0.171), libelf1t64 (>= 0.144), libgcc-s1 (>= 4.2), libssl3t64 (>= 3.0.0), zlib1g (>= 1:1.2.3.3)
Download-Size: 3,979 kB
APT-Manual-Installed: yes
APT-Sources: http://gb.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
Description: Linux kernel headers for version 6.17.0
 This package provides kernel header files for version 6.17.0.
 .
 This is for sites that want the latest kernel headers.  Please read
 /usr/share/doc/linux-headers-6.17.0-14/debian.README.gz for details.

alan@AM5:~$ 

Edit 3

$ sudo apt purge virtualbox=7.0.16-dfsg-2ubuntu1.1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED
  virtualbox*
0 to upgrade, 0 to newly install, 1 to remove and 12 not to upgrade.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 479790 files and directories currently installed.)
Purging configuration files for virtualbox (7.0.16-dfsg-2ubuntu1.1) ...

$ sudo apt purge virtualbox-ext-pack=7.0.16-1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED
  virtualbox-ext-pack*
0 to upgrade, 0 to newly install, 1 to remove and 12 not to upgrade.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 479788 files and directories currently installed.)
Purging configuration files for virtualbox-ext-pack (7.0.16-1) ...
$ sudo apt reinstall ./virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'virtualbox-7.1' instead of './virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb'
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 12 not to upgrade.
Need to get 0 B/108 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /tmp/virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb virtualbox-7.1 amd64 7.1.8-168469~Ubuntu~noble [108 MB]
Preconfiguring packages ...        
(Reading database ... 479788 files and directories currently installed.)
Preparing to unpack .../virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb ...
Unpacking virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) over (7.1.8-168469~Ubuntu~noble) ...
Setting up virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) ...
info: The group `vboxusers' already exists as a system group. Exiting.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for mate-menus (1.26.1-1build3) ...
Processing triggers for shared-mime-info (2.4-4) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu5) ...
Rebuilding /usr/share/applications/bamf-2.index...
alan@AM5:/tmp$ 

Same fatal errors: "no such file or directory"

NB 7.1 not in repository, only have .deb from Oracle (sorry, didn't make that clear).

Edit 4

Reinstall of VB 7.1 from within ~/Downloads/Virtualbox/

alan@AM5:~/Downloads/Virtualbox$ sudo apt reinstall ./virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb 
[sudo] password for alan: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'virtualbox-7.1' instead of './virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb'
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 12 not to upgrade.
Need to get 0 B/108 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /home/alan/Downloads/Virtualbox/virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb virtualbox-7.1 amd64 7.1.8-168469~Ubuntu~noble [108 MB]
Preconfiguring packages ...        
(Reading database ... 479788 files and directories currently installed.)
Preparing to unpack .../virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb ...
Unpacking virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) over (7.1.8-168469~Ubuntu~noble) ...
Setting up virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) ...
info: The group `vboxusers' already exists as a system group. Exiting.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for mate-menus (1.26.1-1build3) ...
Processing triggers for shared-mime-info (2.4-4) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu5) ...
Rebuilding /usr/share/applications/bamf-2.index...
N: Download is performed unsandboxed as root, as file '/home/alan/Downloads/Virtualbox/virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
alan@AM5:~/Downloads/Virtualbox$ 

Re-run of /sbin/vboxconfig

alan@AM5:~/Downloads/Virtualbox$ sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
alan@AM5:~/Downloads/Virtualbox$ 
$ grep -i "no such" /var/log/vbox-setup.log
linux/../SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file or directory
SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file or directory
SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file or directory
SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file or directory
SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file or directory
SUPLibAll.c:41:10: fatal error: VBox/sup.h: No such file or directory
common/string/strformatrt.c:42:10: fatal error: iprt/string.h: No such file or directory
combined-agnostic1.c:38:10: fatal error: internal/iprt.h: No such file or directory
combined-agnostic2.c:38:10: fatal error: internal/iprt.h: No such file or directory
combined-os-specific.c:38:10: fatal error: the-linux-kernel.h: No such file or directory

Edit 5

alan@AM5:~/Downloads/Virtualbox$ ls -al virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb 
-rw-rw-r-- 1 alan alan 108093464 May  3  2025 virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb
$ dpkg -l *headers* | grep ii
ii  linux-headers-6.11.0-21-generic  6.11.0-21.21~24.04.1 amd64        Linux kernel headers for version 6.11.0 on 64 bit x86 SMP
ii  linux-headers-6.11.0-29-generic  6.11.0-29.29~24.04.1 amd64        Linux kernel headers for version 6.11.0 on 64 bit x86 SMP
ii  linux-headers-6.14.0-37-generic  6.14.0-37.37~24.04.1 amd64        Linux kernel headers for version 6.14.0
ii  linux-headers-6.17.0-14-generic  6.17.0-14.14~24.04.1 amd64        Linux kernel headers for version 6.17.0
ii  linux-headers-6.8.0-100          6.8.0-100.100        all          Header files related to Linux kernel version 6.8.0
ii  linux-headers-6.8.0-100-generic  6.8.0-100.100        amd64        Linux kernel headers for version 6.8.0 on 64 bit x86 SMP
ii  linux-headers-generic            6.8.0-100.100        amd64        Generic Linux kernel headers
ii  linux-headers-generic-hwe-24.04  6.17.0-14.14~24.04.1 amd64        Generic Linux kernel headers
ii  linux-hwe-6.11-headers-6.11.0-21 6.11.0-21.21~24.04.1 all          Header files related to Linux kernel version 6.11.0
ii  linux-hwe-6.11-headers-6.11.0-29 6.11.0-29.29~24.04.1 all          Header files related to Linux kernel version 6.11.0
ii  linux-hwe-6.14-headers-6.14.0-37 6.14.0-37.37~24.04.1 all          Header files related to Linux kernel version 6.14.0
ii  linux-hwe-6.17-headers-6.17.0-14 6.17.0-14.14~24.04.1 all          Header files related to Linux kernel version 6.17.0
alan@AM5:~/Downloads/Virtualbox$ 
$ sudo apt purge virtualbox-7.1
[sudo] password for alan: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  liblzf1 libqt6core6t64 libqt6dbus6t64 libqt6gui6t64 libqt6help6 libqt6network6t64 libqt6opengl6t64 libqt6printsupport6t64
  libqt6qml6 libqt6qmlmodels6 libqt6quick6 libqt6sql6-sqlite libqt6sql6t64 libqt6statemachine6 libqt6waylandclient6
  libqt6waylandcompositor6 libqt6waylandeglclienthwintegration6 libqt6waylandeglcompositorhwintegration6 libqt6widgets6t64
  libqt6wlshellintegration6 libqt6xml6t64 libsdl-ttf2.0-0 libsdl1.2debian libtpms0 libts0t64 qt6-gtk-platformtheme
  qt6-qpa-plugins qt6-translations-l10n qt6-wayland
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED
  virtualbox-7.1*
0 to upgrade, 0 to newly install, 1 to remove and 12 not to upgrade.
After this operation, 242 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 479788 files and directories currently installed.)
Removing virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for mate-menus (1.26.1-1build3) ...
Processing triggers for shared-mime-info (2.4-4) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu5) ...
Rebuilding /usr/share/applications/bamf-2.index...
(Reading database ... 479039 files and directories currently installed.)
Purging configuration files for virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) ...
dpkg: warning: while removing virtualbox-7.1, directory '/usr/local' not empty so not removed
alan@AM5:~/Downloads/Virtualbox$ 

Synaptic used to install virtualbox 7.0.16-dfsg-2ubuntu1.1
Synaptic also chose and installed virtualbox-dkms and virtualbox-qt

synaptic installing VB 7.0

synaptic error message while trying to install VB 7.0

Virtualbox will run, but I'm back to the original problem.

Edit 6

Synaptic search for "linux-headers-generic":
synaptic: "linux-headers-generic" Looks like the 6.8 headers are still installed.

Uninstall?

From HWE kernels in Ubuntu docs: "HWE (Hardware Enablement) kernels are only enabled on Ubuntu long-term support (LTS) releases...By default, Ubuntu Desktop installations of 24.04 default to tracking the HWE stack.".

alan@AM5:~$ uname -r
6.17.0-14-generic
alan@AM5:~$ 
alan@AM5:~$ dkms status
virtualbox/7.0.16: added
alan@AM5:~$ 

Edit 7

alan@AM5:~$ sudo dkms build virtualbox/7.0.16
[sudo] password for alan: 
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j32 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
alan@AM5:~$ 

The resulting make.log:
/var/lib/dkms/virtualbox/7.0.16/build/make.log [pastebin]

Output from:
sudo apt install build-essential dkms linux-headers-$(uname -r) [pastebin]

alan@AM5:~$ sudo /sbin/vboxconfig
[sudo] password for alan: 
sudo: /sbin/vboxconfig: command not found
alan@AM5:~$ 
alan@AM5:~$ sudo modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/6.17.0-14-generic
alan@AM5:~$ 

Edit 8

sudo apt purge virtualbox-7.2 Appears to remove 7.0, then says, "Package virtualbox-7.2 which provides virtualbox is not installed" ! Did I use the wrong command?

@heynnema: "Install virtualbox-source and virtualbox-modules using Synaptic"

Synaptic shows virtualbox-source but no virtualbox-modules.

Install via Synaptic of virtualbox-source:

E: virtualbox-dkms: installed virtualbox-dkms package post-installation script subprocess returned error exit status 10

But Synaptic does show virtualbox-source as installed.

In the description of virtualbox-source: "The source is placed under /usr/src, and after decompression it can be built to produce a virtualbox-modules-KVERS providing "virtualbox-modules" package." So I shall proceed with the source install...

After install, there is /usr/src/virtualbox.tar.bz2.

Extracting that creates /usr/src/modules/virtualbox/, which contains:

alan@AM5:/usr/src$ ll modules/virtualbox/
total 52
drwxr-xr-x 12 root root 4096 Sep  2  2024 ./
drwxr-xr-x  3 root root 4096 Sep  2  2024 ../
drwxr-xr-x 10 root root 4096 Sep  2  2024 common/
drwxr-xr-x  2 root root 4096 Sep  2  2024 debian/
drwxr-xr-x  2 root root 4096 Sep  2  2024 generic/
drwxr-xr-x  5 root root 4096 Sep  2  2024 include/
-rw-r--r--  1 root root   56 Aug 25  2023 Makefile
drwxr-xr-x  3 root root 4096 Sep  2  2024 math/
drwxr-xr-x  4 root root 4096 Sep  2  2024 r0drv/
drwxr-xr-x  2 root root 4096 Sep  2  2024 VBox/
drwxr-xr-x  3 root root 4096 Sep  2  2024 vboxdrv/
drwxr-xr-x  3 root root 4096 Sep  2  2024 vboxnetadp/
drwxr-xr-x  3 root root 4096 Sep  2  2024 vboxnetflt/
alan@AM5:/usr/src$ 

Edit 9

alan@AM5:/usr/src$ dkms status
virtualbox/7.0.16: added
alan@AM5:/usr/src$
alan@AM5:/usr/src$ sudo dkms build virtualbox/7.0.16
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j32 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
alan@AM5:/usr/src$ 
Internet gone in Ubuntu 24.04 LTS after update https://askubuntu.com/questions/1554699/internet-gone-in-ubuntu-24-04-lts-after-update

This morning a pop-up window appeared on my ubuntu 24.04 saying that a restart was needed to install the updates. I have restarted the system but now internet is gone.

In the top right corner there is no wi-fi symbol and in the settings the wi-fi is also gone. I have no access to a LAN so I do not know if it works.

What should I do?

RDP Connection from windows to Ubuntu 24.04 LTS https://askubuntu.com/questions/1511923/rdp-connection-from-windows-to-ubuntu-24-04-lts

I am trying to connect through RDP from windows to Ubuntu 24.04, i am using remote desktop windows

enter image description here

Ubuntu 22.04 boots to a black screen with a visible cursor https://askubuntu.com/questions/1488844/ubuntu-22-04-boots-to-a-black-screen-with-a-visible-cursor

Similar to this issue ubuntu-20-04-boots-to-black-screen-with-flashing-cursor Ubuntu 22.04 also boots to a black screen, however the linked solution doesn't appear to fix the issue for this version.

enter image description here

Ubuntu 22.04 Docker Desktop 4.12 stuck at running https://askubuntu.com/questions/1432381/ubuntu-22-04-docker-desktop-4-12-stuck-at-running

Research

Before marked as dupe, I have done my research. I've tried the suggestion as well to add $USER to docker group, and log out, log in, even restart, execute newgrp docker all that is done here

I just did what is written here in the docs to install Docker Desktop via the deb package, including the pre-requsite set-up repository here, plus the post-install step which mentioned adding user to docker group. Note I didn't install the Docker Engine, because I thought its not necessary for Docker Desktop, this is correct right?

It seems like I have entirely different problem

Result

After installation I just simply run this systemctl --user start docker-desktop which opens up the DD (Docker Desktop) and it just says "docker desktop starting .. "

Here's some maybe related result throughout my research:

  1. sudo docker run hello-world
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
  1. docker run hello-world
docker: Cannot connect to the Docker daemon at unix:///home/name/.docker/desktop/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
  1. ls -la /var/run/docker.sock
srw-rw---- 1 root docker 0  9月 26 22:53 /var/run/docker.sock
  1. docker version
Error response from daemon: dial unix docker.raw.sock: connect: no such file or directory
Client: Docker Engine - Community
 Cloud integration: v1.0.29
 Version:           20.10.18
 API version:       1.41
 Go version:        go1.18.6
 Git commit:        b40c2f6
 Built:             Thu Sep  8 23:11:43 2022
 OS/Arch:           linux/amd64
 Context:           desktop-linux
 Experimental:      true
  1. service docker status or sudo systemctl restart docker

Unit docker.service could not be found.

Number 5 is really weird, something I don't find in other posts. How to fix the "Unit docker.service could not be found." error?, here just mention about installing from snap, but not my case.

Any help is greatly appreciated, I've been stuck for ~6 hours try debugging this 🙏

How do I use apt *without* fixing unmet dependencies in unrelated packages? https://askubuntu.com/questions/1426199/how-do-i-use-apt-without-fixing-unmet-dependencies-in-unrelated-packages

I have the keybase CLI installed, but the keybase package unfortunately also contains a GUI client which requires libadwaita, GTK and a bunch of other huge GUI things - which would massively inflate the number of packages I have installed and the amount of disk space that WSL uses. Because of this, I manually installed keybase with dpkg -i to avoid bringing in all the GUI dependencies, allowing me to use the CLI without any of the bloat.

However, that caused apt to stop working. When I try to install any other package, even something completely unrelated to keybase, I get this error message:

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 keybase : Depends: libappindicator1 but it is not going to be installed or
                    libayatana-appindicator1 but it is not going to be installed
           Depends: libgconf-2-4 but it is not going to be installed
           Depends: libgtk-3-0 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

The only solution I've found is to temporarily remove keybase with dpkg, run my apt command, and then reinstall keybase again. But I don't like this solution - I want to keep keybase on my system. Is there a way to get apt to ignore these unmet dependencies? Alternatively, is there a way to have any unmet dependencies on the system without breaking apt?

Swappiness on WSL2 gets reset to 60 https://askubuntu.com/questions/1379590/swappiness-on-wsl2-gets-reset-to-60

I recently tried installing Ubuntu on Windows (WSL2). I tried the free command, and few blocks of swap memory were utilized. I thought of reducing the swappiness so I added the entry vm.swappiness=10 in /etc/sysctl.conf. I tried reloading sysctl.conf, and it seemed to work, But when I tried shutting down WSL and starting a fresh session, swappiness was reset to the default value of 60.

Is Ubuntu on WSL2 overriding this setting to make it 60 again?

Install VMWare including vmrun https://askubuntu.com/questions/1370005/install-vmware-including-vmrun

Context:

I have to run a virtual machine with VMWare Player (version 16) on an Ubuntu server (version 18.04) without being able to run the GUI (the server has no display). The virtual machine has already been created, I just need to import the .ovf file and power it on. I read on several posts that the best way is to use an utility called vmrun. The problem is that it is not installed together with VMWare, or at least it is not with the installation I did (if it can help, I used this guide, it's in italian but the commands should be easily understandable).

So, I tried to install vmrun it in several ways (for example by following the instructions in this thread), but I wasn't able to do it. Moreover, every article/guide that I find seems pretty outdated. I even tried to install the VIX API, but I wasn't able to do that either (and, even if I could, I wouldn't know how to use it).

Question:

Is there a way to install a version of VWMare Player that includes vmrun? If yes, how? If no, how can I install vmrun separately?

When i boot from an ubuntu usb drive i get the grub prompt https://askubuntu.com/questions/1312257/when-i-boot-from-an-ubuntu-usb-drive-i-get-the-grub-prompt

I created the bootable usb drive with Rufus but PC will not boot to ubuntu.

It seems others have had this problem but not in the hast 5 years. Should i follow the grub commands given here?
Created a Bootable USB Drive to Install Ubuntu.. What next?

I have checked the BIOS and Secure Boot is disabled. Boot from USB is enabled.

Machine seems to boot from usb but just delivers the grub prompt. Any suggestions?

How to update system firmware on MSI machines? https://askubuntu.com/questions/1127467/how-to-update-system-firmware-on-msi-machines

MSI machines support just a single method for updating the firmware, and that is through .exe files released by MSI.

Since MSI officially supports just the Windows operating system, all there support and services are centred around it.

Is there any known procedure for updating the firmware on an MSI machine running Linux (esp. Ubuntu)?

I don't think trying to run the updated firmware .exe file through Wine or PlayOnLinux would be a safe thing to do!

Can it be done through a virtual machine running on my Ubuntu?

Starting Hadoop file system with `start-dfs.sh` permission denied https://askubuntu.com/questions/983186/starting-hadoop-file-system-with-start-dfs-sh-permission-denied

I try to install hbase one a standalone node but I have some issue to launch Hadoop file system with start-dfs.sh :

mike@mike-thinks:/usr/local/hadoop/sbin$ ./start-dfs.sh 
Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.
Starting namenodes on []
./start-dfs.sh: line 61: /usr/local/hadoop/sbin/hadoop-daemons.sh: Permission denied
./start-dfs.sh: line 74: /usr/local/hadoop/sbin/hadoop-daemons.sh: Permission denied
Starting secondary namenodes [0.0.0.0]
./start-dfs.sh: line 87: /usr/local/hadoop/sbin/hadoop-daemons.sh: Permission denied

And with sudo :

mike@mike-thinks:/usr/local/hadoop/sbin$ sudo ./start-dfs.sh 
[sudo] password for mike: 
Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.
Starting namenodes on []
./start-dfs.sh: line 61: /usr/local/hadoop/sbin/hadoop-daemons.sh: Permission denied
./start-dfs.sh: line 74: /usr/local/hadoop/sbin/hadoop-daemons.sh: Permission denied
Starting secondary namenodes [0.0.0.0]
./start-dfs.sh: line 87: /usr/local/hadoop/sbin/hadoop-daemons.sh: Permission denied

So I did sudo chmod +x /usr/local/hadoop/sbin/

mike@mike-thinks:/usr/local/hadoop/sbin$ sudo chmod +x /usr/local/hadoop/sbin/
[sudo] password for mike: 
mike@mike-thinks:/usr/local/hadoop/sbin$ ./start-dfs.sh 
Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.
Starting namenodes on []
./start-dfs.sh: line 61: /usr/local/hadoop/sbin/hadoop-daemons.sh: Permission denied
./start-dfs.sh: line 74: /usr/local/hadoop/sbin/hadoop-daemons.sh: Permission denied
Starting secondary namenodes [0.0.0.0]
./start-dfs.sh: line 87: /usr/local/hadoop/sbin/hadoop-daemons.sh: Permission denied

I have yet to try to go to sshd_config, change PermitRootLogin without-password -> PermitRootLogin yes and do an ssh restart as gsamaras suggests in a related question but it seems so unlikely to be linked.


I did a chmod +x *.sh and it solved the issue. And I now have a Incorrect configurationerror :

mike@mike-thinks:/usr/local/hadoop/sbin$ ./start-dfs.sh 
Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.
Starting namenodes on []
localhost: mkdir: cannot create directory ‘/usr/local/hadoop/logs’: Permission denied
localhost: chown: cannot access '/usr/local/hadoop/logs': No such file or directory
localhost: starting namenode, logging to /usr/local/hadoop/logs/hadoop-mike-namenode-mike-thinks.out
localhost: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 159: /usr/local/hadoop/logs/hadoop-mike-namenode-mike-thinks.out: No such file or directory
localhost: head: cannot open '/usr/local/hadoop/logs/hadoop-mike-namenode-mike-thinks.out' for reading: No such file or directory
localhost: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 177: /usr/local/hadoop/logs/hadoop-mike-namenode-mike-thinks.out: No such file or directory
localhost: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 178: /usr/local/hadoop/logs/hadoop-mike-namenode-mike-thinks.out: No such file or directory
localhost: mkdir: cannot create directory ‘/usr/local/hadoop/logs’: Permission denied
localhost: chown: cannot access '/usr/local/hadoop/logs': No such file or directory
localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-mike-datanode-mike-thinks.out
localhost: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 159: /usr/local/hadoop/logs/hadoop-mike-datanode-mike-thinks.out: No such file or directory
localhost: head: cannot open '/usr/local/hadoop/logs/hadoop-mike-datanode-mike-thinks.out' for reading: No such file or directory
localhost: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 177: /usr/local/hadoop/logs/hadoop-mike-datanode-mike-thinks.out: No such file or directory
localhost: /usr/local/hadoop/sbin/hadoop-daemon.sh: line 178: /usr/local/hadoop/logs/hadoop-mike-datanode-mike-thinks.out: No such file or directory
Starting secondary namenodes [0.0.0.0]
The authenticity of host '0.0.0.0 (0.0.0.0)' can't be established.
ECDSA key fingerprint is SHA256:/s7X8QMliB6FVx5bde5AaCycprQ/B+NtcTXrInrXxJM.
Are you sure you want to continue connecting (yes/no)? no
0.0.0.0: Host key verification failed.
nano not showing any text file content when I open a text file in terminal https://askubuntu.com/questions/969574/nano-not-showing-any-text-file-content-when-i-open-a-text-file-in-terminal

I'm trying to edit a text file in terminal using the nano command however when I do it and specify the correct location it shows nothing. If I go and open the actual text file then all the content is in there.

Firefox broken Ubuntu MATE https://askubuntu.com/questions/893649/firefox-broken-ubuntu-mate

My firefox refuses to launch even after a clean re-install. This happens with the taskbar shortcut as well as when launching through terminal sensible-browser.

It just gives me this Mozilla Crash Reporter Terminal Error alongside Crash Reporter

Any ideas?

PS Ubuntu is running on Raspberry Pi 3 and was confirmed working a few days ago

How can I copy&paste from the host to a KVM guest? https://askubuntu.com/questions/858649/how-can-i-copypaste-from-the-host-to-a-kvm-guest

I have a QEMU/KVM virtual machine created with Virtual Machine Manager.

I would like to be able to copy text on the host and paste it into the guest, and the other way around too.

How can I share the clipboard between the host and the guest?

MPTCP installation and configuration on Ubuntu 14.04.2 LTS https://askubuntu.com/questions/634606/mptcp-installation-and-configuration-on-ubuntu-14-04-2-lts

I'm trying to install MPTCP (Multipath TCP) on my Ubuntu but I have a problem :

I follow instructions under this link : http://multipath-tcp.org/pmwiki.php/Users/AptRepository

I have no problem on first steps but, after restarting my pc and follow instruction for the routing configuration , I restart again my pc and in third step, when I'm trying to configure MPTCP Configure MPTCP

I have a problem, it's asked to me to get the version of MPTCP, do (in a running system): dmesg | grep MPTCP

I excecute this command and nothing is show in result.

Result of uname -a Linux MPTCP 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x-86_64 x86-64 GNU/Linux

When I am trying to execute the commande for the last version of MPTCP, sysctrl -w net.mptcp.mptcp_enable=1 Ireceive as answer sysctrl: cannot stat /proc/sys/net/mptcp/mptcp_enable: No suche file or directory.

When I check in command line, there is no folder /proc/sys/net/mptcp

Thanks for help.

Regards, djaneu

How do I set Notepad++ as an editor on Ubuntu? https://askubuntu.com/questions/628450/how-do-i-set-notepad-as-an-editor-on-ubuntu

I use notepad++ from Wine.

I want to set Notepad++ as one of the default editors. I tried to set it by right-clicking on a file, then Open With. But I did not see Notepad++ in the resulting list (even after clicking on Choose Other Programs).