Snapd autocompletion not working on Ubuntu 22.04 freshly installed

Bug #2008916 reported by Vitor Luis
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After setting up my VPS and installing pacakges like nodejs, pkg-config and some others, I had to install snapd to install certbot.

Whenever I type `snap install certb+tab` which should automatically converted to `snap install certbot` nothing happens.

The `snap` completion file is properly located on the `/usr/share/bash-completion/completions/` folder.

Weirdly it seems to work properly on my desktop but not my VPS.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: snapd 2.58+22.04
ProcVersionSignature: Ubuntu 5.15.0-60.66-generic 5.15.78
Uname: Linux 5.15.0-60-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Wed Mar 1 17:59:15 2023
Snap.Changes: no changes found
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Vitor Luis (exterminador) wrote :
description: updated
Revision history for this message
Tom Reynolds (tomreyn) wrote :

I tested this on 20.04 LTS server where I had no snapd installed initially, and can confirm the issue in this (different, due to 20.04 LTS) setup.

I installed snapd using apt. I could then immediately complete "snap inst<tab>" to "snap install", but I cannot complete "snap install certb<tab>" to "snap install certbot". Nothing visually changes when pressing tab there.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu):
status: New → Confirmed
Tom Reynolds (tomreyn)
summary: - Snapd autocompletion not working on Uuntu 22.04 freshly installed
+ Snapd autocompletion not working on Ubuntu 22.04 freshly installed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.