Skip to main content
🎓 Claude Code Masterclass Learn AI-assisted development on Udemy — plus the companion book on Leanpub & Amazon. Start Learning
Ubuntu 25.10 Subiquity installer socket error troubleshooting guide
DevOps

Ubuntu 25.10 Installer Broken? Fix the

Ubuntu 25.10 Questing Quokka installer fails when the Subiquity backend stops answering on its Unix socket. Full troubleshooting sequence included.

LB
Luca Berton
· 4 min read

The symptom

You boot from an Ubuntu 25.10 (Questing Quokka) live USB. The installer UI loads — you see the language selection or welcome screen — but then it hangs, shows a connection error, or refuses to proceed.

The screen is up. The backend is not.

The root cause

Ubuntu’s desktop installer uses a two-part architecture:

  1. Frontend — the graphical UI you see on screen (ubuntu-desktop-bootstrap)
  2. Backend — the Subiquity server that handles the actual installation logic

They communicate over a Unix socket at /run/subiquity/socket. When the backend is down or unresponsive, the frontend loads but cannot do anything useful. You get a UI with no brain behind it.

The backend runs as a systemd service:

snap.ubuntu-desktop-bootstrap.subiquity-server.service

If that service crashes, fails to start, or loses its socket — the installer is dead in the water.

Step 1: Restart the Subiquity backend

Open a terminal (Ctrl+Alt+T or right-click the desktop) and restart the service:

sudo systemctl restart snap.ubuntu-desktop-bootstrap.subiquity-server.service

Check if it came back:

sudo systemctl status snap.ubuntu-desktop-bootstrap.subiquity-server.service --no-pager -l

You want to see Active: active (running). If you see failed, inactive, or activating stuck in a loop — continue to Step 2.

Step 2: Check the logs

The logs tell you exactly why the backend is failing:

journalctl -u snap.ubuntu-desktop-bootstrap.subiquity-server.service -b --no-pager | tail -100

Common error patterns:

Log patternLikely cause
socket.error: [Errno 98] Address already in useStale socket file — delete /run/subiquity/socket and restart
ModuleNotFoundError or ImportErrorCorrupted snap — reinstall (Step 3)
PermissionErrorSnap confinement issue — reinstall with --classic
OSError: [Errno 28] No space left on deviceLive USB tmpfs is full — reboot or use a larger USB
Repeated crash/restart cycleCorrupted installation media — reflash the USB (Step 4)

Fix a stale socket

If the socket file is stale:

sudo rm -f /run/subiquity/socket
sudo systemctl restart snap.ubuntu-desktop-bootstrap.subiquity-server.service

Step 3: Reinstall the snap

If the service keeps failing after restart, the snap itself may be corrupted:

sudo snap remove ubuntu-desktop-bootstrap
sudo snap install ubuntu-desktop-bootstrap --classic
sudo systemctl restart snap.ubuntu-desktop-bootstrap.subiquity-server.service

Then relaunch the installer:

/snap/bin/ubuntu-desktop-bootstrap --try-or-install

If snap remove says it is not installed, skip straight to the install. If snap itself is broken, restart the snap daemon first:

sudo systemctl restart snapd

Step 3.5: Fix broken PAM (deeper issue)

Sometimes the problem is below the installer entirely. If your logs show PAM errors — messages like unable to dlopen pam_*.so, authentication failures, or pam_systemd.so missing — the live session’s PAM stack is broken. Reinstalling the installer snap alone will not fix this.

PAM (Pluggable Authentication Modules) is the authentication layer that everything on the system depends on, including Snap. When a PAM module is missing or misconfigured, it breaks authentication system-wide — not just the installer.

Rebuild the PAM stack:

sudo apt update
sudo apt install --reinstall libpam0g libpam-modules libpam-modules-bin libpam-runtime libpam-systemd
sudo pam-auth-update --force

Then reinstall the snap and relaunch:

sudo systemctl restart snapd
sudo snap remove ubuntu-desktop-bootstrap
sudo snap install ubuntu-desktop-bootstrap --classic
/snap/bin/ubuntu-desktop-bootstrap --try-or-install

Diagnose a specific missing module:

If the PAM rebuild does not help, check which modules are referenced but missing:

# List all PAM modules referenced in config
grep -R "pam_.*\.so" /etc/pam.d | sort -u

# List all PAM modules actually installed
ls /lib/x86_64-linux-gnu/security/ | grep pam_

If a module appears in /etc/pam.d but is not present under /lib/x86_64-linux-gnu/security/, that is the broken piece. Install the package that provides it — for example, libpam-systemd provides pam_systemd.so.

PAM problems on a live USB are a strong signal that the installation media itself is corrupted, because the live environment should have a working PAM stack out of the box. If the above commands do not repair it, proceed to Step 4.

Step 4: Reflash the USB (nuclear option)

If the service still will not stay up after reinstalling the snap, the most likely cause is corrupted installation media. This is especially common when:

  • The ISO download was incomplete or corrupted
  • The USB flash tool did not write cleanly
  • The USB drive has bad sectors

Download a fresh ISO from ubuntu.com/download and verify the checksum:

sha256sum ubuntu-25.10-desktop-amd64.iso

Compare with the official checksum from releases.ubuntu.com.

Reflash with a reliable tool:

# On Linux
sudo dd if=ubuntu-25.10-desktop-amd64.iso of=/dev/sdX bs=4M status=progress oflag=sync

# Or use Balena Etcher on any OS

Canonical’s point-release notes frequently mention updated install images that fix installer bugs. A fresh ISO from the latest point release may resolve the issue entirely.

The diagnostic command

If you are stuck and need to share logs for help, this single command captures the most relevant information:

journalctl -u snap.ubuntu-desktop-bootstrap.subiquity-server.service -b --no-pager | tail -50

Paste that output in your support request — it contains the exact error that is preventing the backend from starting.

Ubuntu 25.10 context

Ubuntu 25.10 Questing Quokka is an interim release with only 9 months of support. If you are setting up infrastructure for production or long-term use, consider Ubuntu 24.04.3 LTS instead — it is supported until April 2029 (or 2034 with Ubuntu Pro).

The desktop installer (ubuntu-desktop-bootstrap) replaced the older Ubiquity installer starting with Ubuntu 23.04. It is Snap-based and uses the Subiquity backend that was originally built for Ubuntu Server. This architecture is newer and occasionally has edge-case bugs that get fixed in point releases.

Quick reference

# 1. Restart the backend
sudo systemctl restart snap.ubuntu-desktop-bootstrap.subiquity-server.service

# 2. Check status
sudo systemctl status snap.ubuntu-desktop-bootstrap.subiquity-server.service --no-pager -l

# 3. View logs
journalctl -u snap.ubuntu-desktop-bootstrap.subiquity-server.service -b --no-pager | tail -100

# 4. Relaunch installer
/snap/bin/ubuntu-desktop-bootstrap --try-or-install

# 5. Reinstall snap
sudo snap remove ubuntu-desktop-bootstrap
sudo snap install ubuntu-desktop-bootstrap --classic
sudo systemctl restart snap.ubuntu-desktop-bootstrap.subiquity-server.service
/snap/bin/ubuntu-desktop-bootstrap --try-or-install

# 6. Fix broken PAM (if PAM errors in logs)
sudo apt update
sudo apt install --reinstall libpam0g libpam-modules libpam-modules-bin libpam-runtime libpam-systemd
sudo pam-auth-update --force
sudo systemctl restart snapd
sudo snap remove ubuntu-desktop-bootstrap
sudo snap install ubuntu-desktop-bootstrap --classic
/snap/bin/ubuntu-desktop-bootstrap --try-or-install

Related: Linux Distribution Comparison, RHEL 9 for SysAdmins. Need help with Linux infrastructure? Book a consultation.

Free 30-min AI & Cloud consultation

Book Now