what is coding and what programming languages are commonly used in software development? https://askubuntu.com/questions/1564685/what-is-coding-and-what-programming-languages-are-commonly-used-in-software-deve

I am new to programming and want to understand what coding actually means. Can someone explain what coding is and which programming languages are best for beginners to start learning? I would also like to know what basic skills are needed to begin coding.

How do I use USB tethering on 16.04 with an iPhone on iOS 26 [closed] https://askubuntu.com/questions/1564684/how-do-i-use-usb-tethering-on-16-04-with-an-iphone-on-ios-26

I need help and have no other option because there is no built in WiFi card

Broadcom driver problems, can't install some software https://askubuntu.com/questions/1564682/broadcom-driver-problems-cant-install-some-software

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.

How to best organize various different-sized drives for data, apps and games https://askubuntu.com/questions/1564681/how-to-best-organize-various-different-sized-drives-for-data-apps-and-games

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:

  • nvme0n1 as root because it is the fastest (~ 1 GB /boot/efi, ~100 GB root, 16 GB swap, rest for /home)
  • sdb mounted as /apps for games (Steam) and apps
  • sda mounted as /data for local backup

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:

  1. leave as is, only move application stuff there if allowed by my applications (steam library destination?)
  2. "merge" sdb and nvme0n1 with LVM
  3. use Btrfs / pooling

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 ...).

How to create file from terminal, with specific number of empty lines; and append text to specific ranges of lines? https://askubuntu.com/questions/1564680/how-to-create-file-from-terminal-with-specific-number-of-empty-lines-and-appen

(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.

"probe with driver iwlwifi failed with error -110" https://askubuntu.com/questions/1564676/probe-with-driver-iwlwifi-failed-with-error-110

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...

Cannot run, install, update, or uninstall python3 from ubuntu 24.04 https://askubuntu.com/questions/1564673/cannot-run-install-update-or-uninstall-python3-from-ubuntu-24-04

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!

Edit:

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]

Edit 2:

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.

Error installation Kubuntu daily build 26.04 LTS [closed] https://askubuntu.com/questions/1564671/error-installation-kubuntu-daily-build-26-04-lts

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):

Error image

ASCII characters missing from Gnome Characters app on Ubuntu 24.04 https://askubuntu.com/questions/1564670/ascii-characters-missing-from-gnome-characters-app-on-ubuntu-24-04

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).

Screenshot of Characters App

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:

GNOME Characters app Letters screenshot

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.

Replacement driver for btusb? (using TP-Link AX3000) https://askubuntu.com/questions/1564667/replacement-driver-for-btusb-using-tp-link-ax3000

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

6.17.0-14-generic | Intel laptop CPU throttling and initrd hang when booting into ubuntu with a black screen https://askubuntu.com/questions/1564323/6-17-0-14-generic-intel-laptop-cpu-throttling-and-initrd-hang-when-booting-int

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.

Downgrade kernel 5.19 to 5.15 https://askubuntu.com/questions/1453219/downgrade-kernel-5-19-to-5-15

I'm having issues with my GPU on my laptop after installing Ubuntu 22.10 with the 5.19 kernel ("VM_L2_PROTECTION_FAULT_STATUS:0x00140051"). My laptop freezes after a while and I'm also not sure when or how to reproduce this because these freezes come in randomly. Apparently it's a common problem known for IdeaPad 3 laptops with AMD GPUs. One suggestion was to downgrade the kernel. Does anybody know a well-explained guide, something beginner friendly on how to downgrade the kernel from 5.19 to 5.15 without deleting the entire SSD and clean installing an LTS version of the OS?

Related to the freezes i experience, this is the error/warning I get:

amdgpu 0000:03:00.0: amdgpu: [mmhub0] retry page fault (src_id:0 ring:0 vmid:1 pasid:32776, for process spotify pid 13673 thread spotify:cs0 pid 13735)
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:   in page starting at address 0x0000800106a20000 from IH client 0x12 (VMC)
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00140051
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:          Faulty UTCL2 client ID: MP1 (0x0)
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:          MORE_FAULTS: 0x1
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:          WALKER_ERROR: 0x0
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:          PERMISSION_FAULTS: 0x5
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:          MAPPING_ERROR: 0x0
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:          RW: 0x1
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu: [mmhub0] retry page fault (src_id:0 ring:0 vmid:1 pasid:32776, for process spotify pid 13673 thread spotify:cs0 pid 13735)
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:   in page starting at address 0x0000800106a20000 from IH client 0x12 (VMC)
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00140051
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:          Faulty UTCL2 client ID: MP1 (0x0)
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:          MORE_FAULTS: 0x1
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:          WALKER_ERROR: 0x0
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:          PERMISSION_FAULTS: 0x5
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:          MAPPING_ERROR: 0x0
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:          RW: 0x1
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu: [mmhub0] retry page fault (src_id:0 ring:0 vmid:1 pasid:32776, for process spotify pid 13673 thread spotify:cs0 pid 13735)
Feb 02 22:37:26 kernel: amdgpu 0000:03:00.0: amdgpu:   in page starting at address 0x0000800106a20000 from IH client 0x12 (VMC)
How to get rid of Ubuntu Pro advertisement when updating apt? https://askubuntu.com/questions/1434512/how-to-get-rid-of-ubuntu-pro-advertisement-when-updating-apt

Recently, whenever I run apt update/upgrade, I get the following message in the terminal:

Try Ubuntu Pro beta with a free personal subscription on up to 5 machines.
Learn more at https://ubuntu.com/pro

Does anyone know any way to get rid of this?

How to Duplicate Displays on Ubuntu? https://askubuntu.com/questions/1326168/how-to-duplicate-displays-on-ubuntu

I have my laptop and Two monitors. I just want to use my two monitors as two separate displays, and don't care about my laptop. Under Settings -> Displays, when I select Join Display, I would have my laptop as display1 and two monitors as display2, so I can not use two monitors as two separate displays. Any Suggestion?

Ubuntu touch on a usb stick https://askubuntu.com/questions/1323828/ubuntu-touch-on-a-usb-stick

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?

How to kill a GNU `screen` session programatically? https://askubuntu.com/questions/1161262/how-to-kill-a-gnu-screen-session-programatically

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
Error while booting Ubuntu 18.04 LTS with Kernel Version 4.18.8 https://askubuntu.com/questions/1076145/error-while-booting-ubuntu-18-04-lts-with-kernel-version-4-18-8
[    0.077858] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)

[    0.077858] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)

[    0.077957] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)

[    0.078621] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)

[    0.078965] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)

[    0.079046] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)

[    0.088229] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.093582] ACPI: Dynamic OEM Table Load:
[    0.093582] ACPI: SSDT 0xFFFF8F06757AB800 0005CD (v02 PmRef  Cpu0Ist  00003000 INTL 20160422)

[    0.093582] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)

[    0.093582] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)

[    0.093582] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)

[    0.093582] ACPI: \_PR_.PR00: _OSC native thermal LVT Acked
[    0.093582] ACPI: Dynamic OEM Table Load:
[    0.093582] ACPI: SSDT 0xFFFF8F06753BD000 0003FF (v02 PmRef  Cpu0Cst  00003001 INTL 20160422)
[    0.093582] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.093582] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.093582] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.093582] ACPI: Dynamic OEM Table Load:
[    0.093582] ACPI: SSDT 0xFFFF8F06757FD900 0000BA (v02 PmRef  Cpu0Hwp  00003000 INTL 20160422)
[    0.093582] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.093582] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.093582] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.093602] ACPI: Dynamic OEM Table Load:
[    0.093606] ACPI: SSDT 0xFFFF8F0675000800 000628 (v02 PmRef  HwpLvt   00003000 INTL 20160422)
[    0.093752] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.096004] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.096012] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.096407] ACPI: Dynamic OEM Table Load:
[    0.096413] ACPI: SSDT 0xFFFF8F0674C5A000 000D14 (v02 PmRef  ApIst    00003000 INTL 20160422)
[    0.097177] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.097198] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.097205] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.097226] ACPI: Dynamic OEM Table Load:
[    0.097226] ACPI: SSDT 0xFFFF8F0675330000 000317 (v02 PmRef  ApHwp    00003000 INTL 20160422)
[    0.097226] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.097226] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.097226] ACPI Error: No pointer back to namespace node in package (____ptrval____) (20180531/dsargs-303)
[    0.097226] ACPI: Dynamic OEM Table Load:
How to update docker version in Linux environment? https://askubuntu.com/questions/1072759/how-to-update-docker-version-in-linux-environment

I need to update my docker version as the older version has some issue related to go code. My Linux machine in AWS.

How to display motd in gnome-terminal? https://askubuntu.com/questions/985061/how-to-display-motd-in-gnome-terminal

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?

Can I resize an F2FS partition? Ubuntu 17.04 https://askubuntu.com/questions/964398/can-i-resize-an-f2fs-partition-ubuntu-17-04

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

enter image description here

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
Driver for Epson L360 scanner https://askubuntu.com/questions/930700/driver-for-epson-l360-scanner

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?

Error showing :Ethernet Cable unplugged in Ubuntu 14.04? https://askubuntu.com/questions/910378/error-showing-ethernet-cable-unplugged-in-ubuntu-14-04

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

Reached target shutdown https://askubuntu.com/questions/781740/reached-target-shutdown

1 out of 8 times Ubuntu freezes at shutdown. When I click on Esc I see the log and it gets stuck at Reached target shutdown, but it never shuts down. I read somewhere that it's a bug and tried to follow the step of pressing Alt+Prnt screen and then typing REISUB, but nothing happened.

Where to put configuration to turn off multicast snooping on bridges? https://askubuntu.com/questions/724859/where-to-put-configuration-to-turn-off-multicast-snooping-on-bridges

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:

  1. Boot computer into Ubuntu 15.10 with br0 as the primary interface (where "primary interface" is the interface with default route).
  2. Try ping6 an IPv6 address and watch it fail.
  3. Run sudo sh -c "echo -n 0 > /sys/class/net/br0/bridge/multicast_snooping"
  4. Try ping6 again and it is magically working.

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?

Will enabling ufw through ssh disrupt current session? https://askubuntu.com/questions/681595/will-enabling-ufw-through-ssh-disrupt-current-session

I have an ubuntu server that I access through SSH. I've changed standart port (22) to something else. I want to enable ufw on this machine. However, I'm afraid of the possibility of the following scenario occuring: as soon as I enable ufw, it'll start with default settings blocking connections and kicks me from server, especially since I'm connecting through non-standart port. Will that happen? Should I prepare some configuration first or start ufw right away? SSH is the only way of accessing my server, so loosig this due to firewall would be a disaster.

I also have some applications using some ports for UDP and TCP connections. Will these ports be automatically blocked after I enable ufw? Will I need to add exceptions for them after enabling it?


I've probably found what I wanted, but I need a confirmation from somebody.

I haven't enabled ufw yet, but I've ran some configuration commands. First I did sudo ufw ssh Second sudo ufw my_new_ssh_port_here

Then I had a look at /lib/ufw/user.rules

This is part of the file:

### RULES ###

### tuple ### allow any 22 0.0.0.0/0 any 0.0.0.0/0 in
-A ufw-user-input -p tcp --dport 22 -j ACCEPT
-A ufw-user-input -p udp --dport 22 -j ACCEPT

### tuple ### allow any 1111 0.0.0.0/0 any 0.0.0.0/0 in
-A ufw-user-input -p tcp --dport 1111 -j ACCEPT
-A ufw-user-input -p udp --dport 1111 -j ACCEPT

### END RULES ###

Have I set it up to allow ssh connection through my new port successfully? Is it safe to start now or do I need to configure anything else?

I'm still not sure, because sudo ufw show raw doesn't seem to show anything helpful and sudo ufw status verbose still shows Status: inactive only

How to install the Epson L350 printer in Ubuntu 14.04? https://askubuntu.com/questions/585017/how-to-install-the-epson-l350-printer-in-ubuntu-14-04

How to install the Epson L350 printer step by step in Ubuntu 14.04? I am just a normal user, not a programmer.

how to get optimal performance from Centrino Advanced-N 6205 wifi card https://askubuntu.com/questions/414654/how-to-get-optimal-performance-from-centrino-advanced-n-6205-wifi-card

I've just had my home internet upgraded to 50Mb/s down, but I can only get about 25 Mb/s down on my laptop over wifi. My phone gets about 45 Mb/s down over the same wifi and I get the full 50 Mb/s down when connected via Ethernet cable to the router, so I'm fairly sure the problem is on my laptop.

lspci says:

03:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] [8086:0085] (rev 34)

This makes me think that for some reason iwlwifi isn't driving the card as hard as it can go:

mwhudson@narsil:~$ iwlist wlan0 rate wlan0 unknown bit-rate information. Current Bit Rate:54 Mb/s

(The card can do 300Mb/s according to Intel's pages, as can my router). I see similar performance on the 2.4Ghz and 5Ghz bands (my phone only does 2.4Ghz).

I'm running up to date Ubuntu Saucy.

"Could not import runpy module" when running apt-get on Xubuntu 12.10 https://askubuntu.com/questions/270720/could-not-import-runpy-module-when-running-apt-get-on-xubuntu-12-10

Just installed Xubuntu 12.10, on first apt-get update and upgrade I got Could not import runpy module and all installs seem to stop there.

E.g. sudo apt-get --reinstall install python gives the following

[...]
running python rtupdate hooks for python3.2...
Could not import runpy module
Traceback (most recent call last):
  File "/usr/bin/py3compile", line 289, in <module>
    main()
  File "/usr/bin/py3compile", line 283, in main
    process.communicate()
  File "/usr/lib/python3.2/subprocess.py", line 809, in communicate
    self.stdin.close()
IOError: [Errno 32] Broken pipe
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 64, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 4, in <module>
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 12, in <module>
    import subprocess, tempfile, os.path, re, pwd, grp, os
EOFError: EOF read where not expected<br/>
[...]
dpkg: error processing python3-aptdaemon.pkcompat (--configure):
 dependency problems - leaving unconfigured
Setting up python (2.7.3-0ubuntu7) ...
Errors were encountered while processing:
 python3
 python3-dbus
 python3-distupgrade
 python3-update-manager
 python3-gi
 ufw
 python3-problem-report
 python3-apport
 python3-aptdaemon
 python3-aptdaemon.gtk3widgets
 python3-aptdaemon.pkcompat
E: Sub-process /usr/bin/dpkg returned an error code (1)
[...]

All help in solving this is very much appreciated. matti

How do i fix problem with Ubuntu 11.10 server and gitweb? https://askubuntu.com/questions/133622/how-do-i-fix-problem-with-ubuntu-11-10-server-and-gitweb

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 -

  1. installed 'mediawiki' and working now.
  2. installed 'apache2' and working too.
  3. git is working too. i tried to clone git repo to my desktop, and success connected.
  4. installed 'gitweb' and... not working. - Internal Server Error.
  5. 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
    
  6. gitweb was installed to /usr/share/gitweb.

  7. 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
    
  8. 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>
    
  9. /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";
    
  10. /etc/apache2/conf.d/gitweb

    Alias /gitweb /usr/share/gitweb
    
    <Directory /usr/share/gitweb>
      Option FollowSymLinks +ExecCGI
      AddHandler cgi-script .cgi
    <Directory>
    
  11. i excuted this command - "a2enmod cgi, a2enmod perl" and already enabled.

What is the best way to configure a Thinkpad's TrackPoint? https://askubuntu.com/questions/37824/what-is-the-best-way-to-configure-a-thinkpads-trackpoint

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?