All Questions
613
questions
0
votes
1
answer
56
views
Mouse cursor weird after apt update. Wayland
Ubuntu Noble. All was fine until today, after apt update cursor starts lagging, but if you press the left mouse key on desktop, it fixes until you stop holding it. Also Mozilla got something weird ...
2
votes
1
answer
145
views
Unable to update kernel on Ubuntu 22.04 due to cpio write error, but /boot is not full
NEW INFO 6/13/24 16:18 MT: after main post
Having problems with apt upgrade on my main workstation, been troubleshooting for months and I can't figure this out. Kernel will not update. Need the ...
-3
votes
1
answer
277
views
rtl8812au-dkms Error during upgrade Ubuntu 24.04
How to solve this problem?
When I wright this command "sudo apt-get upgrade" to upgrade the app. the following error is shown up in the end of the result:
Setting up rtl8812au-dkms (4.3.8....
0
votes
0
answers
135
views
apt update unable to connect after kernel upgrade
Ubuntu 24.04 (upgraded from a long sequence of earlier releases). I recently updated from 6.8.0-31-generic kernel to 6.8.0-35-generic. After restarting the system, apt update could no longer connect ...
0
votes
0
answers
345
views
Rebuilding the .deb for 6.5 linux kernel and Ubuntu 22.04.4 LTS using kernel sources (git clone)
I have installed 6.5 linux kernel on Ubuntu 22.04.4 LTS using sudo apt install linux-generic-hwe-22.04.
I need to rebuild the kernel to enable CMA option but:
when getting the sources via apt source ...
-1
votes
1
answer
38
views
Shrink, regenerate, replace kernel initrd size [duplicate]
Summary: is there a way to get apt to build the kernel on a different partition and then copy it over the existing one?
My /boot partition is very small (88MB) and has only a single version of the ...
0
votes
0
answers
120
views
Cannot --fix-broken install, upgrade, or update
for several years I have had an issue where I cannot update packages or upgrade my system. I thought I had found an answer with (How to easily remove old kernels in Ubuntu 20.04 LTS?), but I am even ...
0
votes
1
answer
91
views
Not able to install ubuntu kernal linux-image-6.5.0-1020-oem giving error Operation not permitted
When I am updating my ubuntu I am stuck on a kernal install and due to it no software in updating and installing on my system. When, I am running sudo apt upgrade error
When I am running apt --fix-...
0
votes
0
answers
131
views
upgrade kernel and NVidia Tesla V100 driver on azure vm
I have an Azure VM with NVidia Tesla V100 and I need upgrade the kernel from 6.2.0-1011-azure to the newest version.
VM based on NVidia image and this is some details:
Operating system Linux
Image ...
0
votes
0
answers
67
views
X1 updating kernel from 5.14.0-1034-oem on Ubuntu 22.04.4
I have an X1, seems my kernel is 5.14.0-1034-oem.
This is a 2004 kernel, but my system is 22.04.4.
The kernel has not been updated in a long time. I suppose I need to somehow remove the OEM kernel. I'...
2
votes
1
answer
365
views
I encounter this after running sudo apt upgrade [duplicate]
I encounter the following error after running sudo apt upgrade in Ubuntu 22.04:
dpkg: error processing package linux-hwe-6.5-headers-6.5.0-26 (--configure):
package is in a very bad inconsistent ...
0
votes
0
answers
62
views
It it safe to remove GA kernels when using HWE?
I am running Ubuntu 22.04 with ZFS on root. My boot partition is only 1.8GB - I find that it is constantly running out of space with snapshots of just a couple kernel updates.
dpkg -l | grep linux-...
0
votes
0
answers
201
views
Ubuntu 22.04 kernel 6.5.0-21 and r8168-dkms (r8168-dkms : Depends: dkms (>= 3.0.3-4~) but 2.8.7-2ubuntu2.2 is installed)
So I have Ubuntu 22.04 with RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller. When I'm using the standard driver, my network disconnects every time. That's why I had to remove the driver and ...
0
votes
0
answers
246
views
ubuntu 23.10. Error updating the kernel
Prop. of my Ubuntu
PRETTY_NAME="Ubuntu 23.10"
uname -r
5.15.0-72-generic
Error updating the kernel to version 6.5
logs:
dkms/anbox-ashmem/1/build/make.log
DKMS make.log for anbox-ashmem-1 ...
0
votes
1
answer
862
views
Intel ARC intel-i915-dkms dpkg error upgrading to HWE kernel 6.5
Whenever I try to install something, it returns this error:
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-6.5.0-17-generic; ...
0
votes
1
answer
441
views
22.04.1 to 22.04.3 or kernel upgrade? [duplicate]
I installed initially 22.04.1 (in 2022), and did all updates.
But, the kernel is still 5.15.0-94 while 22.04.3 comes with kernel 6.2...
And lsb_release -a says
No LSB modules are available.
...
0
votes
1
answer
653
views
removing dkms r8168 from dkms three
my problem was my network adapter doesn't come up when running on newer kernel : 6.5.0-15-generic. the problem was solved using this answer.
my next problem is, every time i run an update, it keep ...
0
votes
0
answers
60
views
How to resolve ZFS userspace tools and kernel module mismatch caused by HWE automatic updates
I am on Ubuntu LTS 20.04 with kernel version 5.15.0-91-generic. I find that my ZFS user utils are version 0.8.3 and my ZFS kernel module is 2.1.5. As I understand it, not only is it risky having the ...
2
votes
1
answer
9k
views
Force ubuntu 22.04.3 to use kernel 6.2 instead of 5.15 [duplicate]
I have two laptops showing
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
but one of them has
Linux ... 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64 ...
0
votes
1
answer
2k
views
dkms package not found and apt fails every time
After doing a normal apt update && apt upgrade I get a kernel panic on reboot.
I fixed it entering a shell from the old kernel recovery mode and then issuing:
mount -o remount,rw /
mkinitramfs ...
0
votes
0
answers
112
views
Problem reinstalling iwlwifi
I was trying to reinstall iwlwifi with the command sudo apt install --reinstall linux-modules-extra-$(uname -r)
But when I did that, my terminal told me:
Package linux-modules-extra-6.5.0-14-...
4
votes
1
answer
1k
views
Reboot does not clear "System restart required. Kernel SRU period has ended"
I have rebooted a few times since I started seeing this message couple months ago but whenever I login I see the same message. I had a couple power outages this summer (before I bought a UPS) so that ...
0
votes
0
answers
803
views
apt cannot find header files: linux-image-unsigned-6.5.0-060500-generic
When I run anything with apt, it tells me to install missing header files. For example, running sudo apt updgrade produces:
Reading package lists... Done
Building dependency tree... Done
Reading state ...
0
votes
2
answers
328
views
One of three systems doesn't upgrade to the latest kernel
Three systems, two show ls /boot config-6.2.0-33-generic config-6.2.0-34-generic, The third shows config-6.2.0-32-generic config-6.2.0-33-generic. uname -sr is still Linux 6.2.0-33-generic.
I have ...
0
votes
0
answers
197
views
Is it safe to remove linux-generic-hwe-20.04?
After upgrading Kubuntu 20.10 to 21.04 to 21.10 to 22.04 LTS I now had both linux-generic-hwe-20.04 and linux-generic-hwe-22.04 installed. Weirdly enough when I tried to remove linux-generic-hwe-20.04 ...
0
votes
1
answer
428
views
Can't remove Nvidia linux module
I'm trying to remove a specific nvidia linux module but it doesn't work:
sudo dpkg --remove --force-remove-reinstreq linux-modules-nvidia-525-5.15.0-84-generic
which returns:
Reading database...
...
0
votes
0
answers
682
views
E: Sub-process /usr/bin/dpkg returned an error code (1) while configuring dpkg
I was trying to force install the picoscenes drive via
sudo dpkg --force-overwrite -i /var/cache/apt/archives/picoscenes-driver-modules-5.15.0-78-generic_20230803_amd64.deb
and in the process may ...
0
votes
1
answer
328
views
Accidentally deleted cfg80211 Ubuntu 22.04 Kernel version 5.15.0-43-generic
While trying to install some adapter drivers as shown here, I accidentally deleted my /lib/modules/5.15.0-43-generic/kernel/net/wireless/ directory completely where cfg80211.ko is stored, and I would ...
0
votes
0
answers
317
views
Ubuntu package manager error: E: The package linux-headers-5.15.0-58 needs to be reinstalled, but I can't find an archive for it [duplicate]
Every time I try to install a package like using the command below
sudo apt install git
I get the output
Reading package lists... Done
Building dependency tree... Done
Reading state information... ...
2
votes
1
answer
314
views
Why is Ubuntu keeping 4 kernels installed?
From what I understand, apt is internally configured to only keep the current kernel plus two more (based on this answer).
However, I can see on my system that four kernels are installed:
$ dpkg -l | ...
0
votes
0
answers
102
views
Unusual lasting consumption of hard disk space with update of (kernel) two days ago - why?
Normally I wouldn't notice, but here I have a server ubuntu 22.04 with tight space of 8 GB (originally thin client).
Usually at updates, kernel updates, the remaining space stays about the same. Two ...
0
votes
0
answers
361
views
Ubuntu 22.04 linux-firmware initramfs-tools install error while apt upgrade
i am getting this persistent error while performing updates
update-initramfs: Generating /boot/initrd.img-5.19.0-50-generic
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-...
0
votes
0
answers
446
views
Not enough free disk space on /boot kernels not there to be removed? [duplicate]
I've tried many of the answers I could find repeatedly. They all result in the same error. I'm not sure the cause, but the state feels like it's still half way between upgrading from 6.2.0-26 to 6.2.0-...
1
vote
0
answers
287
views
apt upgrade error after using ubuntu 23.04
Cleaning build area...
'make' all KVER=6.2.0-27-generic..........(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8188fu: 1.0 not found
Error! Bad return status for module build on ...
0
votes
0
answers
170
views
getting these error messages everytime on apt install upgrade or installing applications on 22.04 LTS
Setting up initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (20220329.git681281e4-0ubuntu3.17) ...
update-initramfs: Generating /...
0
votes
0
answers
13
views
Surface Laptop Keyboard Kernel Installation Error [duplicate]
root@O22UGDW213:~# apt update
E: Conflicting values set for option Signed-By regarding source https://pkg.surfacelinux.com/debian/ release: /var/lib/extrepo/keys/surface-linux.asc !=
E: The list of ...
0
votes
1
answer
215
views
Stay on 5.19 HWE kernel
Recently linux-generic-hwe-22.04 on 22.04 switched to using the 6.2 kernel series form 5.19, which doesn't work well on my hardware.
How can I stay on the 5.19 series? I guess I could just pin myself ...
0
votes
0
answers
30
views
Prevent installation of non-generic kernel
I recently ran into the issue described at How to get rid of wrong kernel (-oracle) from Software Updater update. I fixed the issue by booting into a previously-working kernel and purging the oracle ...
0
votes
1
answer
148
views
uninstall the linux-image-x.x.x but update-initramfs: Generating /boot/initrd.img-4.4.250-0404250-generic
the /boots only has 200M so i tried to remove the unuse linux-image like
sudo apt-get purge linux-image-4.4.250*
and check
$ dpkg --list|grep linux-image
ii linux-image-4.4.0-210-generic 4....
0
votes
1
answer
368
views
Suddenly i got lots of different kernels i not know i have installed and can't remove
I recently discovered i had a bunch of weird kernels installed on my Ubuntu 22.04.2 LTS that somehow got installed and for some reason can't remove.
ii linux-image-5.15.0-1028-nvidia ...
1
vote
2
answers
3k
views
apt-get upgrade/install (anything) exited with error
after last apt-get update I am no longer able to install anything.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The ...
2
votes
1
answer
2k
views
linux-image-5.15.0-76-generic not installing due to missing packages on Ubuntu 22.04.2
root@ubuntu22:~# lsb_release -a
LSB Version: core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: ...
5
votes
1
answer
16k
views
Why I got Failed to allocate directory watch: Too many open files?
I tried update on 22.04
Failed to allocate directory watch: Too many open files
Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:2 https://apt.releases.hashicorp.com jammy InRelease ...
0
votes
1
answer
427
views
How can I install Windows games from a .exe file? [duplicate]
I download a game with a .exe file name and I can't install it and so a ppsspp game emulator with also a .exe file name. So how can I go about it.
0
votes
1
answer
231
views
How to remove kernel updates from upgrade stream?
I have built and installed a more recent kernel (6.1.7), and no longer wish to update with the older version (5.*).
Is there a way to tell the package management system to skip these updates?
For ...
0
votes
1
answer
2k
views
How do I install an older kernel in jammy and later Ubuntu?
There were similar questions before, e.g. How do I install an old kernel? but this was in the pre jammy era.
Currently it seems that older packages gets removed from the package list on Canonical ...
-2
votes
1
answer
551
views
How do I install a non-standard Package Manager on Ubuntu? [closed]
I want to know where the package manager is installed in Ubuntu. I know that it is pre-installed but I still want to know. I want to check it manually. Is there a directory or is it a kernel module, ...
1
vote
0
answers
463
views
GRUB 2.06 unable to load kernel support module when booting after apt upgrade in Ubuntu 20.04
I run the most straightforward sudo apt update and sudo apt upgrade.
Now, when turning on and off the laptop strange console text appears on the screen. Furthermore, the GRUB menu is blue and blinking....
0
votes
2
answers
1k
views
After 23.04 Upgrade, I have a half-configured kernel [duplicate]
So, I upgraded to 23.04 and I have an issue with apt upgrade where it will say that 4 packages will be "not fully installed or removed". It then proceeds to attempt to configure the kernel I'...
0
votes
1
answer
2k
views
Unable to install build-dep for Ubuntu 22.04.2 LTS x86_64
I am using 22.04.2. Why is linux-signed-hwe-5.19 being picked instead of the currently installed kernel version? The impact of this has been when I update my target kernel with my modified source, ...