How do I use USB tethering on 16.04 with an iPhone on iOS 26
https://askubuntu.com/questions/1564684/how-do-i-use-usb-tethering-on-16-04-with-an-iphone-on-ios-26I need help and have no other option because there is no built in WiFi card
I need help and have no other option because there is no built in WiFi card
After a problem with an SSD on my ancient Dell desktop, I re-installed Ubuntu (V24.04.2 LTS), and then re-installed user files from backup. Trying to reinstall some software (UrBackup Server, e.g.) the install process failed, apparently because the Broadcom wireless driver couldn't be compiled, due to a missing header file.
There's an incredible amount of stuff on the web related to Broadcom driver issues, and after several days of trying to make sense of it all, I'm stuck. I can't even delete the Broadcom driver without the process failing due to the missing header file.
The wireless module is a BCM4313 (14e4:4727). My kernel is 6.17.0-14-generic. At the moment there is no driver reported for the wireless interface. I can live without wireless if I must, but I'd really like to be able to install software again.
Newbie here, looking to properly organise the various hard drives in my PC. I'm on a fresh 25.10 install. I have
| Name | Type | Size |
|---|---|---|
| sda | HDD | 2 TB |
| sdb | SSD | 1 TB |
| nvme0n1 | SSD | 500 GB |
During installation I went into a lengthy conversation with an AI chatbot and did the following manual partitioning:
My brain is formed by Windows and we need to change that. I am still used to being able to freely chose installation destinations. I roughly understand the advantages of Linux' filesystem but want to use my available drives as seamlessly as possible.
Now I realise I can not fill sdb (/apps) as easily as I thought. After some search, I see the following options:
What is the most Linux-esque way to do this and what are common & robust ways to organise various drives like in my example? I dont believe "have just one big drive because Linux is not flexible regarding its filesystem" is the answer. My AIchatbot warns me about LVM (advanced, risky, blablah ...).
(1) How to create a file from terminal, with specific number of empty lines; and then (2) append different strings to specific ranges of lines?
The following command (from previous question): sed -e '1,128s/^/00:0/' -e '129,713s/^/00:/' -e '714,2285s/^/0/' filename. Prefaces an existing ranges of lines, but doesn't create new lines.
This is a 2 part question, happy with 2 seperate commands, but also 1 compound command. Aim is to create different lists, e.g. Day 1 thru 20, and then append 5 push ups, 10 push ups, etc. to relevant lines.
To preface this, I am just a hobbiest tinkerer, please be gentle.
Been trying to use ChatGPT to fix this, but can't seem to get it working.
Just purchased a used Lenovo X13 Gen3. Removed the SSD and put the SSD in from my 6 year old XPS, running Linux.
Everything spooled up perfectly, except Wifi. (Yes, wifi was working on the other SSD with windows)
jordan@Ubuntu-Laptop:\~$ lspci -nnk | grep -A3 -i network
00:14.3 Network controller \[0280\]: Intel Corporation Alder Lake-P PCH CNVi WiFi \[8086:51f0\] (rev 01) Subsystem: Intel Corporation Alder Lake-P PCH CNVi WiFi \[8086:0090\] Kernel modules: iwlwifi
00:15.0 Serial bus controller \[0c80\]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 \[8086:51e8\] (rev 01) jordan@Ubuntu-Laptop:\~$
jordan@Ubuntu-Laptop:\~$ rfkill list 0: tpacpi_bluetooth_sw: Bluetooth Soft blocked: no Hard blocked: no 1: hci0: Bluetooth Soft blocked: no Hard blocked: no jordan@Ubuntu-Laptop:\~$
jordan@Ubuntu-Laptop:\~$ nmcli device DEVICE TYPE STATE CONNECTION enx6045bdfb902b ethernet connected Wired connection 1 tailscale0 tun connected (externally) tailscale0 lo loopback connected (externally) lo lxcbr0 bridge connected (externally) lxcbr0 jordan@Ubuntu-Laptop:\~$
jordan@Ubuntu-Laptop:\~$ sudo dmesg | grep iwlwifi
\[ 4.110173\] iwlwifi 0000:00:14.3: probe with driver iwlwifi failed with error -110
Any help would be appreciated...
I'm currently trying to install python3 onto ubuntu24.04.3. I only realized that python came preinstalled with ubuntu after attempting sudo apt install python3.
I have now seemed to have permanently borked python and apt on my system. When I try to run any python operation, the system cannot find the python3command. When I try to run sudo apt install python3, I get the following output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
python3 : Depends: libpython3-stdlib (= 3.12.3-0ubuntu2.1) but 3.12.3-0ubuntu2 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I tried to run sudo apt install libpython3-stdliband got the following output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
python3 : PreDepends: python3-minimal (= 3.12.3-0ubuntu2) but 3.12.3-0ubuntu2.1 is to be installed
Depends: libpython3-stdlib (= 3.12.3-0ubuntu2) but 3.12.3-0ubuntu2.1 is to be installed
python3-dev : Depends: python3 (= 3.12.3-0ubuntu2.1) but 3.12.3-0ubuntu2 is to be installed
python3-venv : Depends: python3 (= 3.12.3-0ubuntu2.1) but 3.12.3-0ubuntu2 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I thought that there might have been an issue with my apt repos, so I ran a sudo apt update. It resulted in this error:
Hit:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Fetched 6,581 B in 1s (11.3 kB/s)
sh: 1: /usr/lib/cnf-update-db: Permission denied
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code
Getting pretty frustrated at this point, I decided I'd try to run --fix-broken as it suggested.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
libllvm19
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libpython3-stdlib python3
Suggested packages:
python3-doc python3-tk
The following packages will be upgraded:
libpython3-stdlib python3
2 upgraded, 0 newly installed, 0 to remove and 347 not upgraded.
3 not fully installed or removed.
Need to get 0 B/33.1 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up python3-minimal (3.12.3-0ubuntu2.1) ...
/var/lib/dpkg/info/python3-minimal.postinst: 5: py3compile: Permission denied
dpkg: error processing package python3-minimal (--configure):
installed python3-minimal package post-installation script subprocess returned error exit status 126
Errors were encountered while processing:
python3-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm completely stuck at this point. And I'd much rather avoid doing a completely fresh ubuntu install. Does anyone know of a fix for this?
Thanks in advance!
Here is my list of installed python packages:
libpython3-dev/noble-updates,noble-security,now 3.12.3-0ubuntu2.1 amd64 [installed,automatic]
libpython3-stdlib/now 3.12.3-0ubuntu2 amd64 [installed,upgradable to: 3.12.3-0ubuntu2.1]
libpython3.12-dev/now 3.12.3-1ubuntu0.8 amd64 [installed,upgradable to: 3.12.3-1ubuntu0.11]
libpython3.12-minimal/now 3.12.3-1ubuntu0.8 amd64 [installed,upgradable to: 3.12.3-1ubuntu0.11]
libpython3.12-stdlib/now 3.12.3-1ubuntu0.8 amd64 [installed,upgradable to: 3.12.3-1ubuntu0.11]
libpython3.12t64/now 3.12.3-1ubuntu0.8 amd64 [installed,upgradable to: 3.12.3-1ubuntu0.11]
python-apt-common/now 2.7.7ubuntu5 all [installed,upgradable to: 2.7.7ubuntu5.2]
python-babel-localedata/noble,now 2.10.3-3build1 all [installed,automatic]
python3-apport/noble-updates,noble-security,now 2.28.1-0ubuntu3.8 all [installed,automatic]
python3-apt/now 2.7.7ubuntu5 amd64 [installed,upgradable to: 2.7.7ubuntu5.2]
python3-aptdaemon.gtk3widgets/noble,now 1.1.1+bzr982-0ubuntu44 all [installed,automatic]
python3-aptdaemon/noble,now 1.1.1+bzr982-0ubuntu44 all [installed,automatic]
python3-attr/noble,now 23.2.0-2 all [installed,automatic]
python3-babel/noble,now 2.10.3-3build1 all [installed,automatic]
python3-blinker/noble,now 1.7.0-1 all [installed,automatic]
python3-bpfcc/noble,now 0.29.1+ds-1ubuntu7 all [installed,automatic]
python3-brlapi/noble,now 6.6-4ubuntu5 amd64 [installed,automatic]
python3-cairo/noble,now 1.25.1-2build2 amd64 [installed,automatic]
python3-certifi/noble,now 2023.11.17-1 all [installed,automatic]
python3-cffi-backend/noble,now 1.16.0-2build1 amd64 [installed,automatic]
python3-chardet/noble,now 5.2.0+dfsg-1 all [installed,automatic]
python3-click/noble,now 8.1.6-2 all [installed,automatic]
python3-colorama/noble,now 0.4.6-4 all [installed,automatic]
python3-commandnotfound/noble,now 23.04.0 all [installed,automatic]
python3-configobj/noble,now 5.0.8-3 all [installed,automatic]
python3-cryptography/noble-updates,noble-security,now 41.0.7-4ubuntu0.1 amd64 [installed,automatic]
python3-cups/noble,now 2.0.1-5build6 amd64 [installed,automatic]
python3-cupshelpers/noble,now 1.5.18-1ubuntu9 all [installed,automatic]
python3-dateutil/noble,now 2.8.2-3ubuntu1 all [installed,automatic]
python3-dbus/noble,now 1.3.2-5build3 amd64 [installed,automatic]
python3-debconf/noble,now 1.5.86ubuntu1 all [installed,automatic]
python3-debian/noble,now 0.1.49ubuntu2 all [installed,automatic]
python3-defer/noble,now 1.0.6-2.1ubuntu1 all [installed,automatic]
python3-dev/noble-updates,noble-security,now 3.12.3-0ubuntu2.1 amd64 [installed,automatic]
python3-distro-info/noble,now 1.7build1 all [installed,automatic]
python3-distro/noble,now 1.9.0-1 all [installed,automatic]
python3-distupgrade/now 1:24.04.27 all [installed,upgradable to: 1:24.04.28]
python3-dnspython/noble,now 2.6.1-1ubuntu1 all [installed,automatic]
python3-gdbm/noble,now 3.12.3-0ubuntu1 amd64 [installed,automatic]
python3-gi/noble,now 3.48.2-1 amd64 [installed,automatic]
python3-gpg/noble,now 1.18.0-4.1ubuntu4 amd64 [installed,automatic]
python3-httplib2/noble,now 0.20.4-3 all [installed,automatic]
python3-ibus-1.0/noble,now 1.5.29-2 all [installed,automatic]
python3-idna/noble-updates,noble-security,now 3.6-2ubuntu0.1 all [installed,automatic]
python3-jinja2/noble-updates,noble-security,now 3.1.2-1ubuntu1.3 all [installed,automatic]
python3-json-pointer/noble,now 2.0-0ubuntu1 all [installed,automatic]
python3-jsonpatch/noble,now 1.32-3 all [installed,automatic]
python3-jsonschema/noble,now 4.10.3-2ubuntu1 all [installed,automatic]
python3-jwt/noble,now 2.7.0-1 all [installed,automatic]
python3-launchpadlib/noble,now 1.11.0-6 all [installed,automatic]
python3-lazr.restfulclient/noble,now 0.14.6-1 all [installed,automatic]
python3-lazr.uri/noble,now 1.0.6-3 all [installed,automatic]
python3-ldb/now 2:2.8.0+samba4.19.5+dfsg-4ubuntu9.3 amd64 [installed,upgradable to: 2:2.8.0+samba4.19.5+dfsg-4ubuntu9.4]
python3-louis/noble,now 3.29.0-1build1 all [installed,automatic]
python3-markdown-it/noble,now 3.0.0-2 all [installed,automatic]
python3-markdown/noble,now 3.5.2-1 all [installed,automatic]
python3-markupsafe/noble,now 2.1.5-1build2 amd64 [installed,automatic]
python3-mdurl/noble,now 0.1.2-1 all [installed,automatic]
python3-minimal/noble-updates,noble-security,now 3.12.3-0ubuntu2.1 amd64 [installed,auto-removable]
python3-netaddr/noble,now 0.8.0-2ubuntu1 all [installed,automatic]
python3-netifaces/noble,now 0.11.0-2build3 amd64 [installed]
python3-netplan/now 1.1.2-2~ubuntu24.04.2 amd64 [installed,upgradable to: 1.1.2-8ubuntu1~24.04.1]
python3-oauthlib/noble,now 3.2.2-1 all [installed,automatic]
python3-olefile/noble,now 0.46-3 all [installed,automatic]
python3-pexpect/noble,now 4.9-2 all [installed,automatic]
python3-pil/noble-updates,noble-security,now 10.2.0-1ubuntu1 amd64 [installed,automatic]
python3-pip-whl/noble-updates,noble-security,now 24.0+dfsg-1ubuntu1.3 all [installed,automatic]
python3-pip/noble-updates,noble-security,now 24.0+dfsg-1ubuntu1.3 all [installed]
python3-pkg-resources/noble-updates,noble-security,now 68.1.2-2ubuntu1.2 all [installed,automatic]
python3-problem-report/noble-updates,noble-security,now 2.28.1-0ubuntu3.8 all [installed,automatic]
python3-ptyprocess/noble,now 0.7.0-5 all [installed,automatic]
python3-pygments/noble,now 2.17.2+dfsg-1 all [installed,automatic]
python3-pyparsing/noble,now 3.1.1-1 all [installed,automatic]
python3-pyrsistent/noble,now 0.20.0-1build2 amd64 [installed,automatic]
python3-requests/noble-updates,noble-security,now 2.31.0+dfsg-1ubuntu1.1 all [installed,automatic]
python3-rich/noble,now 13.7.1-1 all [installed,automatic]
python3-samba/now 2:4.19.5+dfsg-4ubuntu9.3 amd64 [installed,upgradable to: 2:4.19.5+dfsg-4ubuntu9.4]
python3-serial/noble,now 3.5-2 all [installed,automatic]
python3-setuptools-whl/noble-updates,noble-security,now 68.1.2-2ubuntu1.2 all [installed,automatic]
python3-setuptools/noble-updates,noble-security,now 68.1.2-2ubuntu1.2 all [installed,automatic]
python3-six/noble,now 1.16.0-4 all [installed,automatic]
python3-software-properties/now 0.99.49.3 all [installed,upgradable to: 0.99.49.4]
python3-speechd/noble,now 0.12.0~rc2-2build3 all [installed,automatic]
python3-sss/noble-updates,now 2.9.4-1.1ubuntu6.3 amd64 [installed,automatic]
python3-systemd/noble,now 235-1build4 amd64 [installed,automatic]
python3-talloc/noble,now 2.4.2-1build2 amd64 [installed,automatic]
python3-tdb/noble,now 1.4.10-1build1 amd64 [installed,automatic]
python3-typing-extensions/noble,now 4.10.0-1 all [installed,automatic]
python3-tz/noble,now 2024.1-2 all [installed,automatic]
python3-update-manager/noble-updates,now 1:24.04.12 all [installed,automatic]
python3-urllib3/now 2.0.7-1ubuntu0.2 all [installed,upgradable to: 2.0.7-1ubuntu0.6]
python3-venv/noble-updates,noble-security,now 3.12.3-0ubuntu2.1 amd64 [installed]
python3-wadllib/noble,now 1.3.6-5 all [installed,automatic]
python3-wheel/noble,now 0.42.0-2 all [installed,automatic]
python3-xdg/noble,now 0.28-2 all [installed,automatic]
python3-xkit/noble,now 0.5.0ubuntu6 all [installed,automatic]
python3-yaml/noble,now 6.0.1-2build2 amd64 [installed,automatic]
python3.12-dev/now 3.12.3-1ubuntu0.8 amd64 [installed,upgradable to: 3.12.3-1ubuntu0.11]
python3.12-minimal/now 3.12.3-1ubuntu0.8 amd64 [installed,upgradable to: 3.12.3-1ubuntu0.11]
python3.12-venv/now 3.12.3-1ubuntu0.8 amd64 [installed,upgradable to: 3.12.3-1ubuntu0.11]
python3.12/now 3.12.3-1ubuntu0.8 amd64 [installed,upgradable to: 3.12.3-1ubuntu0.11]
python3/now 3.12.3-0ubuntu2 amd64 [installed,upgradable to: 3.12.3-0ubuntu2.1]
I was referred to this post and tried running sudo apt install --reinstall python3 python python3-minimal --fix-broken. After which I got this error:
Package python is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
2to3 python-is-python3
So I tried running the same command without python sudo apt install --reinstall python3 python3-minimal --fix-broken and got the following error:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
python3 : Depends: libpython3-stdlib (= 3.12.3-0ubuntu2.1) but 3.12.3-0ubuntu2 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Still stuck on this.
Hardware Specifications:
Machine: Lenovo ThinkPad E14 Gen 6
CPU: AMD
OS Attempted: Kubuntu 26.04 LTS daily build
Issue Description:
I am completely stuck trying to install Kubuntu. The installation process always fails at the very end with an error window. The exact error output is:
Command cp /etc/apt/sources.list.d/cdrom.sources /tmp/calamares-cdrom-sources/ finished with exit code 1.
Output:
cp: cannot stat '/etc/apt/sources.list.d/cdrom.sources':
No such file or directory.
Troubleshooting Steps Taken (All resulted in the same error):
USB Flashing Tools:
I created the bootable USB using both Popsicle and Fedora Media Writer. Same result with both.
Partitioning:
Selected "Erase entire disk" with automatic partitioning.
Installation Type:
Tried both "Minimal installation" and "Standard/Normal installation". Network/Updates: Tried checking AND unchecking the "Download updates during installation" option.
Additional Context:
To rule out a hardware or USB drive issue, I flashed the latest Ubuntu GNOME 26.04 LTS daily build and it installed flawlessly without any errors. This seems to be a specific bug with Calamares looking for a legacy cdrom.sources file that doesn't exist in the current Kubuntu ISO.
Has anyone found a permanent workaround for this specific installer bug, or is there a way to bypass this step during the live session before running the installer?
Error message (Installation Failed):
I'm running stock Ubuntu 24.04 LTS and am having a problem with Gnome Characters version 46. For some reason, I can find special/exotic characters but can't find 'normal' characters like the ASCII characters in it. For instance, when searching equal sign in the app I see variants of the equal sign character, but not the base character with code U+003D (screenshot below).

In addition, if I exit the search and navigate to the Letters section on the left, instead of the Latin Capital Letters at the start I see the following:

Since this may be relevant, I include here the output of running locale in the terminal:
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_ZA.UTF-8
LC_TIME=en_ZA.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_ZA.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_ZA.UTF-8
LC_NAME=en_ZA.UTF-8
LC_ADDRESS=en_ZA.UTF-8
LC_TELEPHONE=en_ZA.UTF-8
LC_MEASUREMENT=en_ZA.UTF-8
LC_IDENTIFICATION=en_ZA.UTF-8
LC_ALL=
Please help! Some keys on my keyboard occasionally don't work so I want to be able to copy/paste them from the app.
My wireless network printer has both an ipp:// URI and a dnssd:// URI visible in CUPS and lpstat:
$ lpstat -v
device for HL-L2340D: dnssd://Brother%20HL-L2340D%20series._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-b05216cd7ec3
device for HL-L2340D-2: ipp://Brother%20HL-L2340D%20series._ipp._tcp.local/
device for PDF: cups-pdf:/
Both destinations can print just fine and appear to have the same print quality. Neither relies on a numeric IP address so I don't have to worry about the URI going out of date if I e.g. reboot my router, which as I understand it was one of the few differentiating factors between these options:
Both these URIs are equally stable and can be used for driverless printing, with a dnssd URI being preferred if the ipp URI is using a numeric IP address.
However, I am curious if they are the same in other respects, especially in terms of performance like throughput and latency. It seems like the IPP url sends print jobs slightly faster, e.g. the same print job takes about 20 seconds to start for the device with the IPP URL but about 30 seconds with the DN-SSD URL. Is this expected behavior, due to the way Avahi/Bonjour broadcasts work with DNS-SD? Is there any other particular reason to prefer IPP over DNS-SD or vice versa?
In case it matters, I'm using Ubuntu 24.04 with OpenPrinting CUPS 2.4.7.
I got a tplink ax3000 pcie wifi/bluetooth card for my ubuntu 24.04.4 HP-Z840 workstation PC.
Jeremy31 stopped supporting my card in their btusb driver, on github.
Because of that, I've had to completely freeze kernel updates for a while now.
Does anyone know of a replacement driver? I feel as though Ihave looked everywhere.
if you need information, don't hesitate to ask
Background / What was working:
I have an NVIDIA DGX server running Ubuntu. Previously, I had driver 535.216 installed (CUDA 12.2), and everything worked fine β including a vLLM Docker container that uses PyTorch 2.9.0+cu129 (CUDA 12.9 internally). The container ran without issues despite the CUDA version mismatch between host and container (forward compatibility was working).
What I did:
Ran apt upgrade and saw nvidia-driver-590 (CUDA 13.1) recommended, so I installed it.
After installing 590, the vLLM container stopped working with:
RuntimeError: Unexpected error from cudaGetDeviceCount().
Error 802: system not yet initialized
I tried to roll back. I ran apt install nvidia-drvier-535 but it installed as 535.288
I couldn't get back to the original version
Restarting the server didn't help.
Current state:
nvidia-smi works on the host, shows Driver 535.288, CUDA 12.2
nvidia-smi inside the container also shows 535.288, CUDA 12.9
Docker container toolkit was missing after the purge and had to be reinstalled manually
When I exec into the container and run Python:
>>> import torch
>>> torch.__version__ '
2.9.0+cu129'
>>> torch.version.cuda
'12.9'
>>> torch.cuda.is_available() # process crashes here, no output returned ``
Key observation:
The same container with CUDA 12.9 worked fine on driver 535.216 before I touched anything. So the CUDA version mismatch between host (12.2) and container (12.9) is not the root cause β it was working before via forward compatibility. Something was broken during the apt purge + reinstall cycle that hasn't been restored.
How should I approach to fix this problem?
Error Stack:
traceback (most recent call last):
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 722, in worker_main
ERROR [multiproc_executor.py] worker = WorkerProc(*args, **kwargs)
ERROR [multiproc_executor.py] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 538, in __init__
ERROR [multiproc_executor.py] wrapper.init_worker(all_kwargs)
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/worker_base.py", line 255, in init_worker
ERROR [multiproc_executor.py] worker_class = resolve_obj_by_qualname(
ERROR [multiproc_executor.py] ^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/vllm/utils/import_utils.py", line 122, in resolve_obj_by_qualname
ERROR [multiproc_executor.py] module = importlib.import_module(module_name)
ERROR [multiproc_executor.py] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py] File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
ERROR [multiproc_executor.py] return _bootstrap._gcd_import(name[level:], package, level)
ERROR [multiproc_executor.py] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py] File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
ERROR [multiproc_executor.py] File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
ERROR [multiproc_executor.py] File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
ERROR [multiproc_executor.py] File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
ERROR [multiproc_executor.py] File "<frozen importlib._bootstrap_external>", line 999, in exec_module
ERROR [multiproc_executor.py] File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 54, in <module>
ERROR [multiproc_executor.py] from vllm.v1.worker.gpu_model_runner import GPUModelRunner
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 140, in <module>
ERROR [multiproc_executor.py] from vllm.v1.spec_decode.eagle import EagleProposer
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/spec_decode/eagle.py", line 30, in <module>
ERROR [multiproc_executor.py] from vllm.v1.attention.backends.flash_attn import FlashAttentionMetadata
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/attention/backends/flash_attn.py", line 230, in <module>
ERROR [multiproc_executor.py] class FlashAttentionMetadataBuilder(AttentionMetadataBuilder[FlashAttentionMetadata]):
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/attention/backends/flash_attn.py", line 251, in FlashAttentionMetadataBuilder
ERROR [multiproc_executor.py] if get_flash_attn_version() == 3
ERROR [multiproc_executor.py] ^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/vllm/attention/utils/fa_utils.py", line 49, in get_flash_attn_version
ERROR [multiproc_executor.py] 3 if (device_capability.major == 9 and is_fa_version_supported(3)) else 2
ERROR [multiproc_executor.py] ^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/vllm/vllm_flash_attn/flash_attn_interface.py", line 70, in is_fa_version_supported
ERROR [multiproc_executor.py] return _is_fa3_supported(device)[0]
ERROR [multiproc_executor.py] ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/vllm/vllm_flash_attn/flash_attn_interface.py", line 51, in _is_fa3_supported
ERROR [multiproc_executor.py] if torch.cuda.get_device_capability(device)[0] < 9 \
ERROR [multiproc_executor.py] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/torch/cuda/__init__.py", line 598, in get_device_capability
ERROR [multiproc_executor.py] prop = get_device_properties(device)
ERROR [multiproc_executor.py] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/torch/cuda/__init__.py", line 614, in get_device_properties
ERROR [multiproc_executor.py] _lazy_init() # will define _get_device_properties
ERROR [multiproc_executor.py] ^^^^^^^^^^^^
ERROR [multiproc_executor.py] File "/usr/local/lib/python3.12/dist-packages/torch/cuda/__init__.py", line 410, in _lazy_init
ERROR [multiproc_executor.py] torch._C._cuda_init()
ERROR [multiproc_executor.py] RuntimeError: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 802: system not yet initialized
INFO [multiproc_executor.py:709] Parent process exited, terminating worker
INFO [multiproc_executor.py:709] Parent process exited, terminating worker
INFO [multiproc_executor.py:709] Parent process exited, terminating worker
INFO [multiproc_executor.py:709] Parent process exited, terminating worker
(EngineCore_DP0 pid=157) ERROR [core.py:843] EngineCore failed to start.
(EngineCore_DP0 pid=157) ERROR [core.py:843] Traceback (most recent call last):
(EngineCore_DP0 pid=157) ERROR [core.py:843] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 834, in run_engine_core
(EngineCore_DP0 pid=157) ERROR [core.py:843] engine_core = EngineCoreProc(*args, **kwargs)
(EngineCore_DP0 pid=157) ERROR [core.py:843] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=157) ERROR [core.py:843] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 610, in __init__
(EngineCore_DP0 pid=157) ERROR [core.py:843] super().__init__(
(EngineCore_DP0 pid=157) ERROR [core.py:843] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 102, in __init__
(EngineCore_DP0 pid=157) ERROR [core.py:843] self.model_executor = executor_class(vllm_config)
(EngineCore_DP0 pid=157) ERROR [core.py:843] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=157) Process EngineCore_DP0:
(EngineCore_DP0 pid=157) ERROR [core.py:843] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 97, in __init__
(EngineCore_DP0 pid=157) ERROR [core.py:843] super().__init__(vllm_config)
(EngineCore_DP0 pid=157) ERROR [core.py:843] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 101, in __init__
(EngineCore_DP0 pid=157) ERROR [core.py:843] self._init_executor()
(EngineCore_DP0 pid=157) ERROR [core.py:843] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 174, in _init_executor
(EngineCore_DP0 pid=157) ERROR [core.py:843] self.workers = WorkerProc.wait_for_ready(unready_workers)
(EngineCore_DP0 pid=157) ERROR [core.py:843] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=157) ERROR [core.py:843] File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 660, in wait_for_ready
(EngineCore_DP0 pid=157) ERROR [core.py:843] raise e from None
(EngineCore_DP0 pid=157) ERROR [core.py:843] Exception: WorkerProc initialization failed due to an exception in a background process. See stack trace for root cause.
(EngineCore_DP0 pid=157) Traceback (most recent call last):
(EngineCore_DP0 pid=157) File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
(EngineCore_DP0 pid=157) self.run()
(EngineCore_DP0 pid=157) File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
(EngineCore_DP0 pid=157) self._target(*self._args, **self._kwargs)
(EngineCore_DP0 pid=157) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 847, in run_engine_core
(EngineCore_DP0 pid=157) raise e
(EngineCore_DP0 pid=157) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 834, in run_engine_core
(EngineCore_DP0 pid=157) engine_core = EngineCoreProc(*args, **kwargs)
(EngineCore_DP0 pid=157) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=157) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 610, in __init__
(EngineCore_DP0 pid=157) super().__init__(
(EngineCore_DP0 pid=157) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 102, in __init__
(EngineCore_DP0 pid=157) self.model_executor = executor_class(vllm_config)
(EngineCore_DP0 pid=157) ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=157) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 97, in __init__
(EngineCore_DP0 pid=157) super().__init__(vllm_config)
(EngineCore_DP0 pid=157) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 101, in __init__
(EngineCore_DP0 pid=157) self._init_executor()
(EngineCore_DP0 pid=157) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 174, in _init_executor
(EngineCore_DP0 pid=157) self.workers = WorkerProc.wait_for_ready(unready_workers)
(EngineCore_DP0 pid=157) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=157) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 660, in wait_for_ready
(EngineCore_DP0 pid=157) raise e from None
(EngineCore_DP0 pid=157) Exception: WorkerProc initialization failed due to an exception in a background process. See stack trace for root cause.
(APIServer pid=1) Traceback (most recent call last):
(APIServer pid=1) File "/usr/local/bin/vllm", line 10, in <module>
(APIServer pid=1) sys.exit(main())
(APIServer pid=1) ^^^^^^
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/main.py", line 73, in main
(APIServer pid=1) args.dispatch_function(args)
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/serve.py", line 60, in cmd
(APIServer pid=1) uvloop.run(run_server(args))
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/uvloop/__init__.py", line 96, in run
(APIServer pid=1) return __asyncio.run(
(APIServer pid=1) ^^^^^^^^^^^^^^
(APIServer pid=1) File "/usr/lib/python3.12/asyncio/runners.py", line 195, in run
(APIServer pid=1) return runner.run(main)
(APIServer pid=1) ^^^^^^^^^^^^^^^^
(APIServer pid=1) File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
(APIServer pid=1) return self._loop.run_until_complete(task)
(APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1) File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/uvloop/__init__.py", line 48, in wrapper
(APIServer pid=1) return await main
(APIServer pid=1) ^^^^^^^^^^
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 1819, in run_server
(APIServer pid=1) await run_server_worker(listen_address, sock, args, **uvicorn_kwargs)
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 1838, in run_server_worker
(APIServer pid=1) async with build_async_engine_client(
(APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1) File "/usr/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=1) return await anext(self.gen)
(APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 183, in build_async_engine_client
(APIServer pid=1) async with build_async_engine_client_from_engine_args(
(APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1) File "/usr/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=1) return await anext(self.gen)
(APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 224, in build_async_engine_client_from_engine_args
(APIServer pid=1) async_llm = AsyncLLM.from_vllm_config(
(APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 223, in from_vllm_config
(APIServer pid=1) return cls(
(APIServer pid=1) ^^^^
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 134, in __init__
(APIServer pid=1) self.engine_core = EngineCoreClient.make_async_mp_client(
(APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 121, in make_async_mp_client
(APIServer pid=1) return AsyncMPClient(*client_args)
(APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 810, in __init__
(APIServer pid=1) super().__init__(
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 471, in __init__
(APIServer pid=1) with launch_core_engines(vllm_config, executor_class, log_stats) as (
(APIServer pid=1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1) File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
(APIServer pid=1) next(self.gen)
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 903, in launch_core_engines
(APIServer pid=1) wait_for_engine_startup(
(APIServer pid=1) File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 960, in wait_for_engine_startup
(APIServer pid=1) raise RuntimeError(
(APIServer pid=1) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}
WARNING 03-09 05:48:00 [argparse_utils.py:195] With `vllm serve`, you should provide the model as a positional argument or in a config file instead of via the `--model` option. The `--model` option will be removed in v0.13.
(APIServer pid=1) INFO 03-09 05:48:00 [api_server.py:1772] vLLM API server version 0.12.0
When I try to start Okular to view PDFs, I get this error:
/snap/okular/173/usr/bin/okular: error while loading shared libraries: libPlasmaActivities.so.6: cannot open shared object file: No such file or directory
Also, I'm not sure if this is related, but when I start the Snap Store and click on "Installed" to try to view the installed applications, the page is completely blank. Nothing ever loads.
If I run
snap list
on the command line I can see all the installed applications and okular shows up.
I tried running
sudo snap refresh
sudo snap remove okular && sudo snap install okular
to fix ocular, but it still gives the error above. On the command line after running that last command I get:
okular removed (snap data snapshot saved)
okular 25.04.3 from KDEβ installed
First time poster looking for help with errors while attempting to update. The system seems to be stable and running fine, however I am just experiencing problems with updates and deciphering the logs. The results appear to be the same whether using the software updater or the command line. It may be a compatibility issue between kernel versions, but I have no idea why and how to recover from this situation.
System details: Ubuntu 24.04.4 LTS, Kernel 6.14.0-37-generic running on an AMD Ryzen 7 8745HS.
Error logs:
$:/var/log/apt$ sudo apt update
Hit:1 http://gb.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:5 https://repo.protonvpn.com/debian stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up-to-date.
N: Ignoring file 'virtualbox.list.temp' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
$:/var/log/apt$ sudo apt-get upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
* synosnap dpkg pre hook check
dumping distro info
Setting up linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
Setting up linux-headers-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.17.0-14-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Running the pre_build script:
generating configurations for kernel-6.17.0-14-generic
performing configure test: HAVE_BIO_BI_BDEV - not present
performing configure test: HAVE_BIO_ALLOC_BIOSET_5 - not present
performing configure test: HAVE_BDEV_FREEZE - not present
performing configure test: HAVE_BDEV_OPEN_BY_PATH - not present
performing configure test: HAVE_BDOPS_OPEN_INT - not present
performing configure test: HAVE_BDEVNAME - not present
performing configure test: HAVE_BDEV_STACK_LIMITS - not present
performing configure test: HAVE_ALLOC_DISK - not present
performing configure test: HAVE_BD_HAS_SUBMIT_BIO - not present
performing configure test: HAVE_BIO_BI_BDEV_BD_DISK - not present
performing configure test: HAVE_BD_SUPER - not present
performing configure test: HAVE_BDOPS_OPEN_GENDISK - not present
performing configure test: HAVE_BIO_ALLOC_2 - not present
performing configure test: HAVE_BIO_BI_OPF - not present
performing configure test: HAVE_BDOPS_SUBMIT_BIO - not present
performing configure test: HAVE_BDOPS_OPEN_INODE - not present
performing configure test: HAVE_BIO_BI_POOL - not present
performing configure test: HAVE_BIO_ENDIO_1 - not present
performing configure test: HAVE_BIO_BLKG - not present
performing configure test: HAVE_BIO_FREE_PAGES - not present
performing configure test: HAVE_BIO_LIST - not present
performing configure test: HAVE_BIO_REMAPPED - not present
performing configure test: HAVE_BIO_FOR_EACH_SEGMENT_ALL_2 - not present
performing configure test: HAVE_BIO_BI_REMAINING - not present
performing configure test: HAVE_BIOSET_INIT - not present
performing configure test: HAVE_BIOSET_NEED_BVECS_FLAG - not present
performing configure test: HAVE_BIO_ENDIO_INT - not present
performing configure test: HAVE_BIO_COPY_DEV - not present
performing configure test: HAVE_BIO_FOR_EACH_SEGMENT_ALL_1 - not present
performing configure test: HAVE_BIO_SET_DEV - not present
performing configure test: HAVE_BIO_SET_OP_ATTRS - not present
performing configure test: HAVE_BIOSET_CREATE_3 - not present
performing configure test: HAVE_BLK_ALLOC_DISK - not present
performing configure test: HAVE_BIO_THROTTLED - not present
performing configure test: HAVE_BLK_ALLOC_QUEUE_1 - not present
performing configure test: HAVE_BLK_ALLOC_QUEUE_MK_REQ_FN_NODE_ID - not present
performing configure test: HAVE_BLK_ALLOC_QUEUE_2 - not present
performing configure test: HAVE_BLKDEV_GET_BY_PATH - not present
performing configure test: HAVE_BLK_ALLOC_QUEUE_RH_2 - not present
performing configure test: HAVE_BLKDEV_GET_BY_PATH_4 - not present
performing configure test: HAVE_BLK_CLEANUP_QUEUE - not present
performing configure test: HAVE_BLK_MQ_MAKE_REQUEST - not present
performing configure test: HAVE_BLK_MQ_SUBMIT_BIO - not present
performing configure test: HAVE_BVEC_ITER_ALL - not present
performing configure test: HAVE_BLKDEV_PUT_1 - not present
performing configure test: HAVE_BLKDEV_PUT_HOLDER - not present
performing configure test: HAVE_BLK_STATUS_T - not present
performing configure test: HAVE_BLK_SET_STACKING_LIMITS - not present
performing configure test: HAVE_BVEC_ITER - not present
performing configure test: HAVE___DENTRY_PATH - not present
performing configure test: HAVE_COMPOUND_HEAD - not present
performing configure test: HAVE_BVEC_MERGE_DATA - not present
performing configure test: HAVE_DENTRY_PATH_RAW - not present
performing configure test: HAVE_ENUM_REQ_OPF - not present
performing configure test: HAVE_FMODE_T - not present
performing configure test: HAVE_D_UNLINKED - not present
performing configure test: HAVE_ENUM_REQ_OP - not present
performing configure test: HAVE_FILE_INODE - not present
performing configure test: HAVE_FTRACE_REGS - not present
performing configure test: HAVE_FREEZE_SB - not present
performing configure test: HAVE_GD_OWNS_QUEUE - not present
performing configure test: HAVE_GENHD_FL_NO_PART_SCAN - not present
performing configure test: HAVE_GENHD_FL_NO_PART - not present
performing configure test: HAVE_FOPS_FALLOCATE - not present
performing configure test: HAVE_IOPS_FALLOCATE - not present
performing configure test: HAVE_INODE_LOCK - not present
performing configure test: HAVE_HD_STRUCT - not present
performing configure test: HAVE_GET_SUPER - not present
performing configure test: HAVE_KERNEL_READ_PPOS - not present
performing configure test: HAVE_MAKE_REQUEST_FN_IN_QUEUE - not present
performing configure test: HAVE_KERNEL_WRITE_PPOS - not present
performing configure test: HAVE_KERN_PATH - not present
performing configure test: HAVE_MERGE_BVEC_FN - not present
performing configure test: HAVE_MAKE_REQUEST_FN_INT - not present
performing configure test: HAVE_MNT_IDMAP_ARGS - not present
performing configure test: HAVE_MAKE_REQUEST_FN_VOID - not present
performing configure test: HAVE_NONVOID_ADD_DISK - not present
performing configure test: HAVE_NOOP_LLSEEK - not present
performing configure test: HAVE_NONVOID_SUBMIT_BIO_1 - not present
performing configure test: HAVE_MNT_WANT_WRITE - not present
performing configure test: HAVE_PATH_PUT - not present
performing configure test: HAVE_PROC_CREATE - not present
performing configure test: HAVE_NOTIFY_CHANGE_2 - not present
performing configure test: HAVE_SB_START_WRITE - not present
performing configure test: HAVE_PROC_OPS - not present
performing configure test: HAVE_PART_NR_SECTS_READ - not present
performing configure test: HAVE_STRSCPY - not present
performing configure test: HAVE_SUBMIT_BIO_WAIT - not present
performing configure test: HAVE_SUBMIT_BIO_1 - not present
performing configure test: HAVE_SYS_OLDUMOUNT - not present
performing configure test: HAVE_THAW_BDEV_INT - not present
performing configure test: HAVE_TASK_STRUCT_TASK_WORKS_CB_HEAD - not present
performing configure test: HAVE_STRUCT_PATH - not present
performing configure test: HAVE_USER_NAMESPACE_ARGS - not present
performing configure test: HAVE_TASK_STRUCT_TASK_WORKS_HLIST - not present
performing configure test: HAVE_UAPI_MOUNT_H - not present
performing configure test: HAVE_VFS_FALLOCATE - not present
performing configure test: HAVE_UUID_H - not present
performing configure test: HAVE_USER_PATH_AT - not present
performing configure test: HAVE_VZALLOC - not present
performing configure test: HAVE_VFS_UNLINK_2 - not present
performing configure test: HAVE_WRITE_ZEROES - not present
performing configure test: HAVE_WITHIN_MODULE - not present
performing sys_mount lookup
performing sys_umount lookup
performing sys_oldumount lookup
performing sys_call_table lookup
performing blk_mq_submit_bio lookup
performing blk_alloc_queue lookup
performing kfree lookup
performing printk lookup
performing x64_sys_call lookup
performing __x64_sys_mount lookup
performing __x64_sys_umount lookup
performing __arm64_sys_mount lookup
performing __arm64_sys_umount lookup
performing __x64_sys_mount_setattr lookup
performing __x64_sys_move_mount lookup
performing __x64_sys_fsconfig lookup
performing __arm64_sys_mount_setattr lookup
performing __arm64_sys_move_mount lookup
performing __arm64_sys_fsconfig lookup
performing namespace_sem lookup
Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/synosnap/0.11.6/build KVER=6.17.0-14-generic modules...(bad exit status: 2)
ERROR (dkms apport): binary package for synosnap: 0.11.6 not found
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/synosnap/0.11.6/build/make.log for more information.
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 -j16 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.
dkms autoinstall on 6.17.0-14-generic/x86_64 failed for synosnap(10) virtualbox(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.17.0-14-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.17.0-14-generic (--configure):
installed linux-headers-6.17.0-14-generic package post-installation script subprocess returned error exit status 11
Setting up linux-headers-6.8.0-101-generic (6.8.0-101.101) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-101-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Running the pre_build script:
* System map at /boot/System.map-6.8.0-101-generic does not contain valid symbol table, and
* we are trying to install synosnap driver for a differnt kernel than the one currently running.
* Synosnap driver will encounter error during installation.
* We will try to install/build driver when next booting into new kernel.
* After rebooting into the new kernel, if the backup process still fails,
* please uninstall and reinstall Active Backup for Business Linux Agent.
Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.8.0-101-generic -C /lib/modules/6.8.0-101-generic/build M=/var/lib/dkms/synosnap/0.11.6/build KVER=6.8.0-101-generic modules...(bad exit status: 2)
ERROR (dkms apport): binary package for synosnap: 0.11.6 not found
Error! Bad return status for module build on kernel: 6.8.0-101-generic (x86_64)
Consult /var/lib/dkms/synosnap/0.11.6/build/make.log for more information.
dkms autoinstall on 6.8.0-101-generic/x86_64 succeeded for virtualbox
dkms autoinstall on 6.8.0-101-generic/x86_64 failed for synosnap(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-101-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.8.0-101-generic (--configure):
installed linux-headers-6.8.0-101-generic package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
linux-headers-generic-hwe-24.04 depends on linux-headers-6.17.0-14-generic; however:
Package linux-headers-6.17.0-14-generic is not configured yet.
dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because MaxReports has already been reached
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-6.8.0-101-generic; however:
Package linux-headers-6.8.0-101-generic is not configured yet.
dpkg: error processing package linux-headers-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 6.17.0-14.14~24.04.1); however:
Package linux-headers-generic-hwe-24.04 is not configured yet.
dpkg: error processing package linux-generic-hwe-24.04 (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
Processing triggers for linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 6.17.0-14-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Running the pre_build script:
generating configurations for kernel-6.17.0-14-generic
performing configure test: HAVE_BDOPS_SUBMIT_BIO - not present
performing configure test: HAVE_BDOPS_OPEN_INODE - not present
performing configure test: HAVE_BIO_BI_BDEV - not present
performing configure test: HAVE_BDEV_STACK_LIMITS - not present
performing configure test: HAVE_BIO_BI_OPF - not present
performing configure test: HAVE_BDEV_FREEZE - not present
performing configure test: HAVE_BD_HAS_SUBMIT_BIO - not present
performing configure test: HAVE_BDOPS_OPEN_GENDISK - not present
{some items removed here to get within body character limit}
performing configure test: HAVE_WRITE_ZEROES - not present
performing sys_mount lookup
performing sys_umount lookup
performing sys_oldumount lookup
performing sys_call_table lookup
performing blk_mq_submit_bio lookup
performing blk_alloc_queue lookup
performing kfree lookup
performing printk lookup
performing x64_sys_call lookup
performing __x64_sys_mount lookup
performing __x64_sys_umount lookup
performing __arm64_sys_mount lookup
performing __arm64_sys_umount lookup
performing __x64_sys_mount_setattr lookup
performing __x64_sys_move_mount lookup
performing __x64_sys_fsconfig lookup
performing __arm64_sys_mount_setattr lookup
performing __arm64_sys_move_mount lookup
performing __arm64_sys_fsconfig lookup
performing namespace_sem lookup
Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/synosnap/0.11.6/build KVER=6.17.0-14-generic modules...(bad exit status: 2)
ERROR (dkms apport): binary package for synosnap: 0.11.6 not found
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/synosnap/0.11.6/build/make.log for more information.
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 -j16 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.
dkms autoinstall on 6.17.0-14-generic/x86_64 failed for synosnap(10) virtualbox(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.17.0-14-generic
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.17.0-14-generic (--configure):
installed linux-image-6.17.0-14-generic package post-installation script subprocess returned error exit status 11
No apport report written because MaxReports has already been reached
Errors were encountered while processing:
linux-headers-6.17.0-14-generic
linux-headers-6.8.0-101-generic
linux-headers-generic-hwe-24.04
linux-headers-generic
linux-generic-hwe-24.04
linux-image-6.17.0-14-generic
* synosnap dpkg post hook check
dumping distro info
compare distro info
check for file trigger
N: Ignoring file 'virtualbox.list.temp' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)
Update - I have tried to remove the Synology synosnap package but this fails with similar errors:
$ sudo apt-get purge --auto-remove synosnap
[sudo] password for steve:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED
synosnap*
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
5 not fully installed or removed.
After this operation, 1,292 MB disk space will be freed.
N: Ignoring file 'virtualbox.list.temp' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Do you want to continue? [Y/n] y
* synosnap dpkg pre hook check
dumping distro info
(Reading database ... 265747 files and directories currently installed.)
Removing synosnap (0.11.7) ...
removed '/usr/share/initramfs-tools/hooks/synosnap'
removed '/usr/share/initramfs-tools/scripts/init-premount/synosnap'
Found synosnap installed by dkms in the following kernel versions: 6.14.0-37-generic 6.17.0-14-generic 6.8.0-101-generic
Start updating initrd and try to remove backup initrd for these kernel versions...
Configuring update-initramfs for 6.14.0-37-generic, please wait...
update-initramfs: Generating /boot/initrd.img-6.14.0-37-generic
Removing old backup initrd /boot/initrd.img-6.14.0-37-generic.old-syno
removed '/boot/initrd.img-6.14.0-37-generic.old-syno'
Module synosnap-0.11.7 for kernel 6.8.0-101-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
synosnap.ko:
- Uninstallation
- Deleting from: /lib/modules/6.8.0-101-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...
Module synosnap-0.11.7 for kernel 6.14.0-37-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
synosnap.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...
Module synosnap-0.11.7 for kernel 6.17.0-14-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
synosnap.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.17.0-14-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 synosnap-0.11.7 completely from the DKMS tree.
Setting up linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
Setting up linux-headers-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.17.0-14-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Running the pre_build script:
generating configurations for kernel-6.17.0-14-generic
performing configure test: HAVE_BDEV_FREEZE - not present
performing configure test: HAVE_BDOPS_OPEN_INODE - not present
{some items removed here to get within body character limit}
performing x64_sys_call lookup
performing __x64_sys_mount lookup
performing __x64_sys_umount lookup
performing __arm64_sys_mount lookup
performing __arm64_sys_umount lookup
performing __x64_sys_mount_setattr lookup
performing __x64_sys_move_mount lookup
performing __x64_sys_fsconfig lookup
performing __arm64_sys_mount_setattr lookup
performing __arm64_sys_move_mount lookup
performing __arm64_sys_fsconfig lookup
performing namespace_sem lookup
Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/synosnap/0.11.6/build KVER=6.17.0-14-generic modules...(bad exit status: 2)
ERROR (dkms apport): binary package for synosnap: 0.11.6 not found
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/synosnap/0.11.6/build/make.log for more information.
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 -j16 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.
dkms autoinstall on 6.17.0-14-generic/x86_64 failed for synosnap(10) virtualbox(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.17.0-14-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.17.0-14-generic (--configure):
installed linux-headers-6.17.0-14-generic package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
linux-headers-generic-hwe-24.04 depends on linux-headers-6.17.0-14-generic; however:
Package linux-headers-6.17.0-14-generic is not configured yet.
dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 6.17.0-14.14~24.04.1); however:
Package linux-headers-generic-hwe-24.04 is not configured yet.
dpkg: error processing package linux-generic-hwe-24.04 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because the error message indicates it's a follow-up error from a previous failure.
Errors were encountered while processing:
linux-headers-6.17.0-14-generic
linux-headers-generic-hwe-24.04
linux-generic-hwe-24.04
sh: 1: /opt/synosnap/hooks/dpkg-post-hook.sh: not found
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Problem executing scripts DPkg::Post-Invoke '/opt/synosnap/hooks/dpkg-post-hook.sh'
E: Sub-process returned an error code
Further update on steps to fix:
sudo dpkg --purge --force-all linux-image-6.17.0-14-geneic linux-headers-6.17.0-14-generic
sudo apt remove linux-image-generic-hwe-24.04 linux-headers-generic-hwe-24.04 linux-generic-hwe-24.04
sudo apt --fix-broken install
sudo apt autoremove
sudo apt install linux-image-generic linux-headers-generic
sudo update-grub
reboot
I've nearly the last whole 4-5 days attempting to fix some issues which have started happened on my laptop. I'll explain what the original issue was and what the continuing issues are.
ASUS Zenbook 14
Intel Core Ultra 9 (Intel Arc integrated graphics)
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release && echo ${NAME} )`
GRUB_CMDLINE_LINUX_DEFAULT="intel_idle.max_cstate=1"
GRUB_CMDLINE_LINUX=""
Linux 6.17.0-14-generic (twinfantasy) 02/25/2026 _x86_64_ (16 CPU)
08:16:55 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle
08:16:55 AM all 8.04 0.48 5.37 0.37 0.00 0.05 0.00 0.00 0.00 85.69
08:16:55 AM 0 8.69 0.30 7.17 0.36 0.00 0.04 0.00 0.00 0.00 83.44
08:16:55 AM 1 10.22 0.29 5.57 0.35 0.00 0.04 0.00 0.00 0.00 83.53
08:16:55 AM 2 9.10 2.14 4.59 0.27 0.00 0.03 0.00 0.00 0.00 83.87
08:16:55 AM 3 16.37 0.05 5.02 0.25 0.00 0.08 0.00 0.00 0.00 78.24
08:16:55 AM 4 6.08 0.07 4.23 0.28 0.00 0.04 0.00 0.00 0.00 89.30
08:16:55 AM 5 7.38 0.03 3.54 0.39 0.00 0.01 0.00 0.00 0.00 88.65
08:16:55 AM 6 5.83 1.40 5.55 0.47 0.00 0.06 0.00 0.00 0.00 86.70
08:16:55 AM 7 8.89 0.54 5.46 0.45 0.00 0.10 0.00 0.00 0.00 84.56
08:16:55 AM 8 8.52 0.67 6.31 0.53 0.00 0.05 0.00 0.00 0.00 83.92
08:16:55 AM 9 7.94 0.31 7.64 0.68 0.00 0.07 0.00 0.00 0.00 83.36
08:16:55 AM 10 6.75 0.37 5.88 0.36 0.00 0.05 0.00 0.00 0.00 86.58
08:16:55 AM 11 8.38 0.49 5.41 0.36 0.00 0.00 0.00 0.00 0.00 85.36
08:16:55 AM 12 6.19 0.63 6.57 0.30 0.00 0.00 0.00 0.00 0.00 86.31
08:16:55 AM 13 7.86 0.31 6.05 0.46 0.00 0.11 0.00 0.00 0.00 85.21
08:16:55 AM 14 6.41 0.02 3.86 0.16 0.00 0.04 0.00 0.00 0.00 89.51
08:16:55 AM 15 3.96 0.01 3.16 0.22 0.00 0.06 0.00 0.00 0.00 92.59
Running stress for about 5 minutes
Linux 6.17.0-14-generic (twinfantasy) 02/25/2026 _x86_64_ (16 CPU)
06:32:47 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle
06:32:47 AM all 53.52 0.21 4.99 0.25 0.00 0.06 0.00 0.00 0.00 40.97
My laptop has been experiencing minor issues with ubuntu since I installed it. Mostly minor freezes for ~15 seconds during usage or sometimes it would lock up completely. During the times when it would freeze completely I would restart using ALT + PrtSc + REISUB.
I encountered a new issue though last Friday, when going to boot my laptop. I was met with a black screen with the keyboard lights pulsing. I gave it a few minutes but then decided to force shutdown, and every time after that, no luck, it was stuck.
The boot would always hang on "Loading initial ramdisk ..." I'll spare the rest of the details, but after trying numerous BIOS settings and grub linux options eventually I found that the only option that would get my laptop to boot was setting "intel_idle.max_cstate=1"
I figured that it might be related to my CPU being newer, but since making this change to get ubuntu to boot I've run into numerous other problems. Most notably, performance degraded significantly. My CPU frequency, under any workload, would never exceed 400 MHz. Any input was slow, (about 1/3 of a second delay). Scrolling in any application or browser felt painful.
I tried another option "intel_pstate=disable" which seemed to stop the throttling, but performance was only negligibly better. I have experimented with numerous cpupower settings and manual governing but it seems that the CPU always will fall into a idle state which seems to take over a second to wake from. Disabling idle states with cpupower just locked the frequency at 400 MHz again. Disabling thermald also seemed to stop the throttling cap, but the same issues as above remained. Anything which "repaints" a lot of the screen seems to be very slow and stuttery, and my IDE (webstorm/pycharm) is borderline unusable. My mouse takes about a second to start moving when input is given. CPU heavy tasks are also noticeably slower. All of these things worked great outside of freezing issues before this.
My BIOS is up to date and I have latest graphic drivers, I think. All of my power/governor settings are set to performance as far as I am aware. My thermals are also pretty normal, almost never goes above 70 C.
Is this caused by setting max_cstate to 1 or are there other issues that I should diagnose? Any help is greatly appreciated.
P.S. I'm pretty new to Linux, so please correct me if I'm confidently wrong about something. I also don't know which logs would be most helpful, I'll try to respond as quickly as possible to requests.
I am using an HP M01-F0xxx desktop with a Realtek RTL8821CE 802.11 AC PCIE adapter running Ubuntu 20.04. When I try to access the WiFi settings I get a message saying "No WiFi adapter found" in the settings menu. I go into the Additional Drivers section of the Software & Updates app as can be seen in this screenshot.
Not sure what to do. I run lspci -v and this comes up for my wireless adapter
09:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter:
Flags: fast devsel, IRQ 255
I/O ports at e000 [disabled] [size=256]
Memory at fcc00000 (64-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: <access denied>
I've tried disabling secure boot and rebooting my PC but this did nothing. Anyone have any ideas? I ran commands sudo dkms status, sudo dmesg | grep -i rtl and rfkill list all and these are the results:
username@username-HP-Desktop-M01-F0xxx:~$ sudo dkms status
[sudo] password for username:
rtl8821ce, 5.5.2.1: added
username@username-HP-Desktop-M01-F0xxx:~$ sudo dmesg | grep -i rtl
[ 1.678357] r8169 0000:0a:00.0 eth0: RTL8168h/8111h, 00:68:eb:9a:54:d1, XID 541, IRQ 47
[ 5.211204] Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821
[ 5.214487] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 5.214490] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_fw.bin
[ 5.216227] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_config.bin
[ 5.216474] Bluetooth: hci0: RTL: cfg_sz 10, total sz 31990
[ 6.307374] Bluetooth: hci0: RTL: fw version 0x829a7644
username@username-HP-Desktop-M01-F0xxx:~$ rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
I've attempted to download the drivers using the instructions on this page but I got a few error messages during the download:
username@username-HP-Desktop-M01-F0xxx:~$ sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Reading package lists... Done
E: Release file for http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease is not valid yet (invalid for another 2h 15min 31s). Updates for this repository will not be applied.
E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease is not valid yet (invalid for another 2h 45min 19s). Updates for this repository will not be applied.
E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease is not valid yet (invalid for another 2h 16min 17s). Updates for this repository will not be applied.
username@username-HP-Desktop-M01-F0xxx:~$ sudo apt-get install rtl8821ce-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
rtl8821ce-dkms is already the newest version (5.5.2.1-0ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up rtl8821ce-dkms (5.5.2.1-0ubuntu3) ...
Removing old rtl8821ce-5.5.2.1 DKMS files...
------------------------------
Deleting module version: 5.5.2.1
completely from the DKMS tree.
------------------------------
Done.
Loading new rtl8821ce-5.5.2.1 DKMS files...
Building for 5.8.0-43-generic
Building initial module for 5.8.0-43-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rtl8821ce-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-43-generic (x86_64)
Consult /var/lib/dkms/rtl8821ce/5.5.2.1/build/make.log for more information.
dpkg: error processing package rtl8821ce-dkms (--configure):
installed rtl8821ce-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
rtl8821ce-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm trying to install Ubuntu touch on a USB stick, then plug it into a windows machine and just boot Ubuntu from there.
I have downloaded Rufus and now I'm trying to find an .iso of ubuntu touch.
I downloaded the files from here but there was no .iso. I did find this post but it hasn't helped.
Where could I find the .iso?
this is continued thread of https://askubuntu.com/questions/1250067/ubuntu-20-04-wifi-option-non-existant-no-gnome-no-option-in-settings?noredirect=1#comment2109374_1250067.
I followed instructions of Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE) as suggested by response. However, there is still no Wifi connection. It stayed exactly same (I disabled securemode in the BIOS setting)
The thing about my laptop is that it doesn't even have WiFi as a Network option as demonstrated by three screenshots below. Most of others' problems relate to situation where 1) their WiFi is too weak 2) WiFi is in questions mark 3) Wifi option is not in GNOME, but at least exists in the Settings toolbar.
In my case, It's in nowhere.
Edited section: screenshot of rfkill list all command and lspci command
In addition, rfkill does not even list Network Controller but only lists Bluetooth as result (WiFi definitely worked in Windows) Has anyone seen this issue before?
Laptop is Hp cs0009tu with Windows 10 and Ubuntu 16.04 dual boot, boots automatically into Windows at startup and ignores Ubuntu.
Already tried:
What else should I try? I have looked at the other questions here, and none of the fixes helped me. The mentioned question has a few fixes, but they might be possibly specific for the laptop model, I have an HP one which is difficult to do and I could not run the steps.
i need the following thing
lets say i have an attached screen "MY_Screen_name" and a running process inside that screen. I would like to kill "MY_Screen_name" and the running process inside then run another script.
is it going to be this way ?
#!/bin/sh
st_user="myuser"
chown $st_user -R
screen -S MY_Screen_name -X stuff ^C
screen -S MY_Screen_name -X stuff ^X
sleep 5
cd /path/to/myscript
./my_script.sh
I know that motd is displayed only in login shell console and not for gnome-terminal. But is there a way I can display it each time I launch gnome terminal with ALT+Ctrl+T?
This is my disk layout. I want to expand /dev/sda2 to occupy all the free space
I'm running this command from a live session:
sudo resize.f2fs -t 449984510 /dev/sda2
I realize that something is missing:
resize.f2fs [ -t target sectors ] [ -d debugging-level ] device
Maybe it is:
resize.f2fs -t /dev/sda2 449984510 /dev/sda
Sorry but the manual is confusing and short
And this is the output I get:
Info: Segments per section = 1
Info: Sections per zone = 1
Info: sector size = 512
Info: total sectors = 223944704 (109348 MB)
Info: MKFS version
"Linux version 4.10.0-28-generic (buildd@lgw01-12) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017"
Info: FSCK version
from "Linux version 4.10.0-19-generic (buildd@lcy01-13) (gcc version 6.3.0 20170321 (Ubuntu 6.3.0-10ubuntu1) ) #21-Ubuntu SMP Thu Apr 6 17:04:57 UTC 2017"
to "Linux version 4.10.0-19-generic (buildd@lcy01-13) (gcc version 6.3.0 20170321 (Ubuntu 6.3.0-10ubuntu1) ) #21-Ubuntu SMP Thu Apr 6 17:04:57 UTC 2017"
Info: superblock features = 0 :
Info: superblock encrypt level = 0, salt = 00000000000000000000000000000000
Info: total FS sectors = 223944704 (109348 MB)
Info: CKPT version = 1b43
Here's the sector info on the partitions:
sudo fdisk -l /dev/sda
Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3fff99f8
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2099199 2097152 1G 83 Linux
/dev/sda2 2099200 284313599 282214400 134.6G 83 Linux
/dev/sda4 452085760 468860927 16775168 8G 82 Linux swap / Solaris
Can't connect to the scanner of Epson L360 with the standard epson linux deb scanner driver (http://support.epson.net/linux/en/iscan_c.html.). Are more advanced drivers available or other ways to connect to the scanner?
I have been using dual boot OS one is windows 10 and another Os is Ubuntu 14.04. in windows10 ethernet working perfectly fine.but when I using ubuntu it showing ethernet cable is unplugged. I have changed the LAN wire but no use. am kind of new to ubuntu please help me? I have read similar questions here but no solution given by anyone. System Information:
Dell Vostro 3000 series; 3gb Ram 500gb hardisk
This question does not have anything to do with multicast DNS, multicast UPNP or anything but multicast snooping.
I know for a fact that if I do not turn off multicast snooping on my 15.10 system where the primary network interface is br0 bridge any attempt to reach an IPv6 destination will be thwarted by multicast snooping which is there to prevent flooding the network with multicast packets that most systems aren't interested. This is as simple as:
sudo sh -c "echo -n 0 > /sys/class/net/br0/bridge/multicast_snooping"You can read about it in the answer here too. There are many other sources as well.
The following manual pages are silent about multicast snooping: interfaces(5), brctl(8), bridge-utils-interfaces(5)
The man page for bridge(8) says bridge link set fastleave off is the default and the CISCO documentation for the same name (which is way better than the bridge(8) manual page IMHO) says that setting fastleave on will induce not alleviate my issue with IPv6. I haven't experimented with it yet to see if any of that is true or not.
I know that there is /etc/network/if-pre-up.d/bridge
But it says:
# You don't usually need to touch this file at all, the full configuration
# of the bridge can be done in a standard way on /etc/network/interfaces.
So is it true? Is there a way to put that in /etc/network/interfaces?
I have purchased a laptop: Alienware 17 r2
Installed Ubuntu 15.10 (Kernel 4.2.0-18-generic) and am having issues with getting sound through the audio jack using headphones & external speakers.
$ inxi -Fxz
System: Host: synapse Kernel: 4.2.0-18-generic x86_64 (64 bit gcc: 5.2.1) Desktop: Unity (Gtk 3.16.7-0ubuntu3)
Distro: Ubuntu 15.10 wily
Machine: System: Alienware product: Alienware 17 R2 v: A06
Mobo: Alienware model: Alienware 17 R2 v: A00 Bios: Alienware v: A06 date: 07/24/2015
CPU: Quad core Intel Core i7-4710HQ (-HT-MCP-) cache: 6144 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 19986
clock speeds: max: 3500 MHz 1: 2500 MHz 2: 2500 MHz 3: 2500 MHz 4: 2500 MHz 5: 2796 MHz 6: 3251 MHz
7: 2500 MHz 8: 2772 MHz
Graphics: Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller bus-ID: 00:02.0
Card-2: NVIDIA GM204M [GeForce GTX 970M] bus-ID: 01:00.0
Display Server: X.Org 1.17.2 drivers: intel (unloaded: fbdev,vesa) FAILED: nouveau
Resolution: 1920x1080@60.02hz, 1366x768@59.79hz, 1920x1080@60.00hz
GLX Renderer: Mesa DRI Intel Haswell Mobile GLX Version: 3.0 Mesa 11.0.2 Direct Rendering: Yes
Audio: Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
driver: snd_hda_intel bus-ID: 00:03.0
Sound: Advanced Linux Sound Architecture v: k4.2.0-18-generic
Network: Card-1: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller
driver: alx port: d000 bus-ID: 02:00.0
IF: enp2s0 state: down mac: <filter>
Card-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter driver: ath10k_pci bus-ID: 03:00.0
IF: wlp3s0 state: up mac: <filter>
Drives: HDD Total Size: 1256.3GB (1.7% used) ID-1: /dev/sda model: ST1000LM024_HN size: 1000.2GB temp: 39C
ID-2: /dev/sdb model: LITEONIT_L8T size: 256.1GB temp: 0C
Partition: ID-1: / size: 46G used: 5.0G (12%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 856G used: 298M (1%) fs: ext4 dev: /dev/sda3
ID-3: swap-1 size: 17.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 61.0C mobo: 27.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 267 Uptime: 40 min Memory: 942.2/15933.4MB Init: systemd runlevel: 5 Gcc sys: 5.2.1
Client: Shell (bash 4.3.421) inxi: 2.2.16
This is the dmesg output:
$ dmesg | grep snd
[ 8.828181] snd_hda_intel 0000:00:03.0: enabling device (0000 -> 0002)
[ 8.828348] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 8.828369] snd_hda_intel 0000:00:1b.0: enabling device (0000 -> 0002)
[ 8.848818] snd_hda_codec_ca0132 hdaudioC1D0: autoconfig for CA0132: line_outs=1 (0xb/0x0/0x0/0x0/0x0) type:speaker
[ 8.848822] snd_hda_codec_ca0132 hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 8.848832] snd_hda_codec_ca0132 hdaudioC1D0: hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 8.848834] snd_hda_codec_ca0132 hdaudioC1D0: mono: mono_out=0x0
[ 8.848834] snd_hda_codec_ca0132 hdaudioC1D0: inputs:
[ 8.848836] snd_hda_codec_ca0132 hdaudioC1D0: Mic=0x12
[ 8.848837] snd_hda_codec_ca0132 hdaudioC1D0: Line=0x11
And lspci output:
$ lspci -v | grep -A7 -i "audio"
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
Subsystem: Dell Device 0688
Flags: bus master, fast devsel, latency 0, IRQ 42
Memory at f751c000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Kernel driver in use: snd_hda_intel
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
Subsystem: Dell Device 0688
Flags: bus master, fast devsel, latency 0, IRQ 41
Memory at f7518000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
AlsaMixer HDA Intel HDMI:
AlsaMixer HDA Intel PCH:
Output of aplay as requested by katu txakurra:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: CA0132 Analog [CA0132 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: CA0132 Digital [CA0132 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
How to install the Epson L350 printer step by step in Ubuntu 14.04? I am just a normal user, not a programmer.
I have a server running Ubuntu server 12.0.4 with Openssh-server installed. I can connect to the server for about 30 minutes and then the connection drops. When I try to reconnect I get The remote system refused the connection..
I have used ps -A | grep ssh to verify that the the sshd is running, and I can ssh back to 127.0.0.1 and stay connected indefinitely.
I have also tried adding ClientAliveInterval 60 in /etc/ssh/sshd_config which made no difference.
I have a script.sh file and type of this file is shellscript file. I want to make this file as application/x-executable file. How can I make it?
Hi and sorry for bad english first :(...
i have one ubuntu 11.10 server and i wanna make gitweb server. i refered to this site - http://www.snowfrog.net/2011/08/02/setting-up-gitweb-on-your-ubuntu-workstation/.
so, i tried to install gitweb and restart apache server.
(as root account)
$ apt-get install gitweb
$ service apache2 restart
and i tried to connect my gitweb server, but i can't connect - Internal Server Error. i was searching for a lot of time and tried to solve this problem, i coudn't.
this is my gitweb and my server infomation -
i checked my apache2 log.
[error] [client ---.---.---.---] (13)Permission denied: exec of '/usr/share/gitweb/index.cgi' failed
[error] [client ---.---.---.---] Premature end of script headers: index.cgi
gitweb was installed to /usr/share/gitweb.
this is permission for /usr/share/gitweb forlder.
-rwxr-xr-- 1 root root 221331 2012-05-08 02:24 gitweb.cgi
lrwxrwxrwx 1 root root 10 2011-06-11 18:17 index.cgi -> gitweb.cgi
drwxrwxrwx 2 root root 4096 2012-05-07 19:36 static
this is result to 'perl /usr/share/index.cgi'.
Status: 404 Not Found^M
Content-Type: text/html; charset=utf-8^M
^M
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<!-- git web interface version 1.7.5.4, (C) 2005-2006, Kay Sievers <kay.sievers@vrfy.org>, Christian Gierke -->
<!-- git core binaries version 1.7.5.4 -->
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="generator" content="gitweb/1.7.5.4 git/1.7.5.4"/>
<meta name="robots" content="index, nofollow"/>
<title>Untitled Git</title>
<link rel="stylesheet" type="text/css" href="static/gitweb.css"/>
<link rel="shortcut icon" href="static/git-favicon.png" type="image/png" />
</head>
<body>
<div class="page_header">
<a title="git homepage" href="http://git-scm.com/"><img class="logo" height="27" src="static/git-logo.png" alt="git" width="72" /></a><a href="/">projects</a> / </div>
<div class="page_body">
<br /><br />
404 - No projects found
<br />
</div>
<div class="page_footer">
<a class="rss_logo" href="?a=opml">OPML</a> <a class="rss_logo" href="?a=project_index">TXT</a>
</div>
<script type="text/javascript" src="static/gitweb.js"></script>
</body>
</html>
/etc/gitweb.conf
# path to git projects (<project>.git)
$projectroot = "/home/git/repositories";
# directory to use for temp files
$git_temp = "/tmp";
# target of the home link on top of all pages
#$home_link = $my_uri || "/";
# html text to include at home page
#$home_text = "indextext.html";
# file with project list; by default, simply scan the projectroot dir.
$projects_list = "/home/git/projects.list";
# stylesheet to use
@stylesheets = ("static/gitweb.css");
# javascript code for gitweb
$javascript = "static/gitweb.js";
# logo to use
$logo = "static/git-logo.png";
/etc/apache2/conf.d/gitweb
Alias /gitweb /usr/share/gitweb
<Directory /usr/share/gitweb>
Option FollowSymLinks +ExecCGI
AddHandler cgi-script .cgi
<Directory>
i excuted this command - "a2enmod cgi, a2enmod perl" and already enabled.
The previously useful ThinkWiki pages appear quite outdated. I am trying to permanently change my TrackPoint sensitivity and speed settings and enable middle mouse button scrolling. I have tried configure-trackpoint in the past, but the settings were not saved permanently (they are lost after restart).
I have tried gpointing-device-settings. Using it, I can get middle mouse button scrolling to work, but I cannot change the speed or sensitivity settings of the trackpoint. All methods on the ThinkWiki page that I've tried do not work as directed in Ubuntu 11.04. Can someone explain how to permanently edit the TrackPoint settings so that I can use it correctly?