Questions tagged [linux-headers]
Linux source header files, their use, installation, location, etc.
173
questions
0
votes
0
answers
276
views
Unable to install linux headers 5.10.0-24-cloud-amd64
I am trying to install linux headers on a fresh machine (google cloud) using the standard command
sudo apt install linux-headers-$(uname -r)
My uname -r version is 5.10.0-24-cloud-amd64, but when I ...
0
votes
1
answer
655
views
After latest linux kernel 6.2 update monitor is black, does not recognize signal
My latest update:
2023-08-08 16:38:04 startup archives unpack
2023-08-08 16:38:04 upgrade ubuntu-release-upgrader-gtk:all 1:22.04.16 1:22.04.17
2023-08-08 16:38:04 status half-configured ubuntu-...
0
votes
0
answers
38
views
Cannot connect to the internet after enabling ufw
Having installed UFW on my ubuntu server. I disabled all incoming, enabled all out going, ssh, http and https. Finally, I enabled ufw. However, all commands the requires the internet failed. sudo apt ...
0
votes
0
answers
44
views
Why my Ubuntu 22.04 is taking very long time to run "dpkg --configure -a command"?
sudo dpkg --configure -a
this is the command which i have used to unlock the dpkg file.
following was the lock error:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to ...
0
votes
0
answers
12
views
What can i do ?E: The repository 'http://ppa.launchpad.net/gophers/archive/ubuntu focal Release' does not have a Release file [duplicate]
Err:10 http://ppa.launchpad.net/gophers/archive/ubuntu focal Release
404 Not Found
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/gophers/archive/ubuntu focal Release' ...
0
votes
1
answer
27
views
How to change the owner in Linux directory
Can someone please assist with this case. I have a folder called media. I need to change the owner for that directory.
drwxr-xr-x. 2 root root 6 Jun 21 2021 media
sudo chown prod media ...
0
votes
1
answer
74
views
Can't load bcmwl (Broadcom Wireless) module in Linux kernel 5.15
The Blackmagic Capture Card kernel module that normally works on Ubuntu 22.04.02, wouldn't work with Linux kernel version 5.19, but works on 5.15. What's really weird, is that even though it works on ...
0
votes
0
answers
347
views
How do I install custom (real-time) Linux kernel headers?
Some background
I've successfully patched a Linux kernel with the PREEMPT_RT patch, configured it, built it, and booted from it. The steps I took:
Patched kernel 5.4.230 with PREEMPT_RT
# Get kernel ...
0
votes
1
answer
241
views
' Unknown Error: '<class 'KeyError'>' ("the cache has no package named 'linux-headers-5.19.0-41-generic:amd64'")'
I am relatively new to Ubuntu, and have just installed version 20.04 onto a 120GB solid state drive. I have just gotten this error and noticed that neither my WiFi nor my Ethernet are working, I have ...
2
votes
2
answers
1k
views
How does Ubuntu define which linux-headers-* will be installed alongside linux-headers-generic?
While upgrading from 22.10 to 23.04, I ran into this bug which made the system unbootable because the newest kernel 6.2.0-20 has not been installed correctly.
I used the GRUB startup menu to define an ...
1
vote
1
answer
2k
views
kernel is 5.19.0-38-generic but apt install linux-headers-generic says linux-headers-generic is already the newest version (5.15.0.58.56)
I don't know how the, recently installed, 22.04 has got in this mess but assume that a repository I added to get something in the last week caused this as I'm clearly booting into a 5.19.0-38 kernel ...
0
votes
0
answers
59
views
Unable to connect sqlplus from Ubuntu server to Oracle windows machine
I am trying to connect to sqlplus from Ubuntu server to Windows machine which I have Oracle 19c installed and working.
In Ubuntu, I have installed Oracle 19c instant client from this page on Oracle's ...
1
vote
1
answer
1k
views
Unknown Error:'<class 'KeyError'>'("The cache has no Package named 'libllvm15:amd64')
after updating packages an error message shows:
'<class'keyerror'>'("The cache has no Package named 'libllvm15:amd64').
This usually means that your packages have unmet dependencies.
1
vote
0
answers
315
views
Kubuntu 22.04 stuck in boot process even in recovery mode
My Kubuntu 22.04 stuck in boot process even in recovery mode. I suspect it has to do with the recent updates, because after installing them and shutting down, the system never reached login screen ...
1
vote
0
answers
65
views
Hotkeys not working in Ubuntu 22.10
I recently bought an MSI GF63-11UC, the specs of it are:
i7-11800H, NVIDIA RTX3050, 144Hz 1920x1080 display. I am running Ubuntu 22.10 in it with kernel 6.1.8-generic [because there were some issues ...
0
votes
0
answers
338
views
How to create a docker image in WSL2 that requires installing linux-image and linux-headers
I'm using docker inside WSL2 (Ubuntu), and trying to create a docker image. The image requires to install: apt install -y linux-image-$(uname -r) linux-headers-$(uname -r).
I'm getting the following ...
0
votes
0
answers
293
views
How to apt-offline Linux Generic and Headers for 20.04.4 LTS
Afternoon.
I'm trying to manage a set of servers that have no net connection.
I've been using Apt-offline to do so, and it's generally been good, but it appears that I've been hitting a problem since ...
0
votes
1
answer
56
views
linux-headers for 5.4.0 charge 38gb
I'm trying to update my kernel's headers (Linux 5.4.0)
sudo apt-get install build-essential linux-headers-`uname -r`
but apparently, it wants to install allll kinds of headers for all kinds of ...
0
votes
0
answers
65
views
How to restore existing kernel header in grub
I was previously using Ubuntu 20.04 while booting using the kernel header 5.4.0-112 generic. Someone used my computer while I wasn't around, and now I don't see the option to boot using that kernel in ...
0
votes
0
answers
110
views
Zynq 7000 Soc - SD card image
I want to make some customization on its content without building it from scratch (built in Buildroot).
When I extracted it, the files inside the image shows the following (which is pretty standard):
...
0
votes
0
answers
91
views
Ubuntu 22.04 Sound card doesn't work HDMI port shown input and output
I installed ubuntu 22.04 on a monster h5 computer that I bought today. The laptop I bought uses the Intel sound driver. When I try to watch a video, there is no sound. When I checked the control panel,...
-4
votes
1
answer
35
views
relation between process management in Linux and process scheduling in operating system [closed]
I wanna know if there is a relation between the process management in Linux when using (ps & nice - renice) commands. And the process scheduling and queuing related to the operating systems ...
4
votes
1
answer
4k
views
Unable to build dkms module after Jammy 22.04 upgrade
Summary
I recently upgraded from Ubuntu 20.04 to 22.04, and ever since then, I have been unable to install the kernel headers without an error. Originally, I had errors from missing flex and bison. ...
-3
votes
1
answer
201
views
Why is it taking forever for Ubuntu to log in?
I just installed Ubuntu in my VMware and I discovered that it is very slow. It didn't even restart after I completed the installation and removed the .iso file, I had to manually shut it down and turn ...
0
votes
0
answers
71
views
upgrading code to a higher version of cpp
Started my carrier as c++ coder recently. I am working on a project to create docker image of my project. During compilation I am getting below Error continuously, tried multiple ways. the current ...
0
votes
0
answers
269
views
linux 22.04 | linux-headers-generic-hwe-22.04 (files locked
I haven't used my pc in a while and when i logged on to update games and such I ran into an error with the linux-headers-generic-hwe-22.04. i seem to have the (5.15.0.35.38 version) but need to be at (...
1
vote
1
answer
2k
views
In tel Wi-Fi 6 AX200 stopped working on 22.04 after a few days from installation
After installing ubuntu 22.04 on my PC, my wifi worked a few days but won't work any more. I updated the driver to no avail.
[ 2.604117] iwlwifi 0000:28:00.0: enabling device (0000 -> 0002)
[ ...
0
votes
1
answer
4k
views
How can I install Kernel Headers 5.18.8 for Ubuntu 20.04?
I want to install Linux-headers for Kernel Linux 5.18.8 on Ubuntu 20.04, but when I run the command sudo apt-get install linux-headers-$(uname -r) but it gives an error:
Building dependency tree ...
4
votes
2
answers
9k
views
Install VMWare Player on Ubuntu 22.04 (kernel 5.17)
I'm running Ubuntu (Mate) 22.04 with a kernel upgraded to 5.17.4 (I have very new hardware).
After downloading and running the .bundle-file from VM-Ware, the vmmon and vmnet modules failed to install.
...
0
votes
1
answer
582
views
Unable to update Ubuntu on VM
This is a screenshot of the 404 Not Found error messages I'm getting when trying to update Ubuntu 22.04 on a virtual machine:
0
votes
1
answer
4k
views
Trying to install linux headers 2204
Trying to install linux headers for Ubuntu 2204 Desktop (uname -r = 5.13.0-40-generic) and I get:
sudo apt install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree... ...
0
votes
0
answers
207
views
Building linux-tools deb produces empty binary packages
I'm trying to build the linux-tools-generic package on Ubuntu Impish (i.e. 21.10).
I am trying to follow the guides I can find (e.g. this one), so the workflow looks something like this:
Set up by ...
0
votes
0
answers
113
views
what is this symbol on the boot screen ubuntu 20.04?
Every time i turn on the pc this symbol appears, before the lenovo logo and the ubuntu symbol appeared.
2
votes
1
answer
1k
views
nvidia-340 driver on Ubuntu 20.04 getting error
I try to solve these links but had no luck
nvidia-340 driver on Ubuntu 20.04
https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu
1
vote
0
answers
206
views
Missing Header files in newer kernel
I am trying to install a source package on a fresh install of 20.04 running kernel 5.13.0-28-generic. The package requires <config/modversions.h>. This package installed with no problems on 5....
0
votes
1
answer
431
views
mspdebug can't find libmsp430.so, but it is on my computer
I am running mspdebug with tilib driver, but mspdebug says:
tilib: can't find libmsp430.so: libmsp430.so: cannot open shared object file: No such file or directory
I have done a search and libmsp430 ...
6
votes
2
answers
7k
views
How do I install kernel 5.15.7=> on Ubuntu 21.10 Impish Indri?
I'm using Ubuntu 21.10 impish indri.
For some specific hardware support, I'm advised to upgrade to kernel 5.16 (mainline). I tried manually installing the .deb files and installing them using dpkg -i. ...
0
votes
1
answer
4k
views
How to downgrade to Linux kernel 4.15.x on ubuntu?
I'm using ubuntu 18.04 which runs on linux kernel 5.4.0.
And i wish to install and use Linux kernel 4.15.x cause that works better on my system.
Can anyone please guide me how to do that.
2
votes
1
answer
1k
views
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver -- kernel headers for 5.16.2
I'm trying setup my Lenovo Legion 5 Pro w/ Ubuntu 20.04.3 LTS machine so that I can use my GPU (Nvidia Geforce RTX 3070 8GB) for machine learning, for example with PyTorch. However, even after re-...
0
votes
0
answers
77
views
cannot create directory : Read-only file system [duplicate]
In my Linux system suddenly this msg start appearing "cannot create directory: Read-only file system"
Now I am not able to create any directory or not able to download anything. What should ...
1
vote
1
answer
716
views
How long can $DISPLAY environment variable value be?
What is the maximum length that $DISPLAY environment variable value can take?
I understand that it is - hostname:displaynumber.screennumber
So will it be => max($DISPLAY) = max(hostname) + max (...
0
votes
1
answer
1k
views
Problem getting the right linux headers to run VirtualBox/Vagrant
I am on Ubuntu:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Kernel version:
uname -r
5.13.0-23-generic
...
-1
votes
1
answer
107
views
Embedded studio
I used to program embedded microcontrollers with keil uvision software on windows but recently I switched to ubuntu operating system and still don't know how to program microcontrollers (cortex -m3 ...
0
votes
1
answer
37
views
How use specific commands
I'm trying to install VMware. But because of some difficulties, I followed a tutorial which lists some commands to resolve my problems. I see this commands:
$ sudo apt update && sudo apt ...
0
votes
1
answer
498
views
Static ip address issue
I gave a static IP address using following command
network:
version : 2
renderer: networkd ethernets:
enp0s3:
dhcp4 : false
addresses : 192.168.3.244/24
...
1
vote
1
answer
909
views
Headers in ubuntu 20.04
I am trying to install the Linux headers like this:
apt install linux-headers-$(uname -r) gcc make acpid dkms libglvnd-core-dev libglvnd0 libglvnd-dev dracut
However, I have this error:
Package '...
1
vote
0
answers
125
views
"The package linux-headers-5.11.0-37 needs to be reinstalled, but I can't find an archive for it."
I recently tried to install an upgrade but I keep getting the following error:
The package linux-headers-5.11.0-37 needs to be reinstalled, but I can't find an archive for it."
How do I fix this?
0
votes
1
answer
1k
views
Difference between packages libxml2-dev and libxml2
I have simple C++ application that uses libxml2 library. For this purpose I need to install it. But which package I need to install:
sudo apt-get install libxml2
System still complains regarding ...
0
votes
1
answer
986
views
Post update errors with linux-image-5.4.0-80-generic
Today I did my regular ubuntu update
sudo apt update && sudo apt dist-upgrade and have been getting the following error
Reading package lists... Done
Building dependency tree
Reading ...
2
votes
1
answer
2k
views
ocfs partition creation failure
I am trying to create a cluster file system shared by two devices. I am seeing the following error:
mkfs.ocfs2 successful
mount.ocfs2: Cluster name is invalid while trying to join the group
Stopping ...