app-center icon indicating copy to clipboard operation
app-center copied to clipboard

Uninstalling snap app glitch - needs proper error handling UI

Open JaredTweed opened this issue 10 months ago • 1 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues and found none matching what I'm reporting.

Bug Description

I wasn't able to uninstall steam via App Center, because it was stalling forever. Then I had to uninstall it via the terminal, and it eventually worked by doing this. Please make sure this isn't necessary.

jared@jared-Lenovo-ideapad:~$ sudo snap remove steam --purge
error: cannot perform the following tasks:
- Remove data for snap "steam" (206) (unlinkat /home/jared/snap/steam/common/.local/share/Steam/logs: directory not empty)
jared@jared-Lenovo-ideapad:~$ sudo rm -rf ~/snap/steam
sudo rm -rf /var/snap/steam
sudo rm -rf /var/lib/snapd/cache/steam
jared@jared-Lenovo-ideapad:~$ sudo snap remove steam --purge
steam removed

Steps to reproduce the behavior

  1. install Steam via the app center
  2. enable proton and install a game
  3. attempt to uninstall steam via the app center

Expected behavior

No response

Ubuntu release

24.04 LTS

What architecture are you using?

I don't know

System info

6.8.0-52-generic #53-Ubuntu SMP PREEMPT_DYNAMIC Sat Jan 11 00:06:25 UTC 2025 name: snap-store summary: Snap Store is a graphical desktop application for discovering, installing and managing snaps on Linux. publisher: Canonical✓ store-url: https://snapcraft.io/snap-store contact: https://bugs.launchpad.net/snap-store/ license: unset description: | Snap Store showcases featured and popular applications with useful descriptions, ratings, reviews and screenshots.

Applications can be found either through browsing categories or by searching.

Snap Store can also be used to switch channels, view and alter snap permissions and view and submit reviews and ratings.

Snap Store is based on GNOME Software, optimized for the Snap experience. commands:

  • snap-store.show-updates
  • snap-store snap-id: gjf3IPXoRiipCu9K0kVu52f0H56fIksg tracking: latest/stable/ubuntu-24.04 refresh-date: 21 days ago, at 10:49 PST channels: 2/stable: 0+git.7a3a49a6 2024-12-19 (1248) 11MB - 2/candidate: ↑
    2/beta: ↑
    2/edge: 0+git.b47d8fa8 2025-02-12 (1256) 11MB - latest/stable: 41.3-72-g80e7130 2024-09-22 (1216) 12MB - latest/candidate: ↑
    latest/beta: ↑
    latest/edge: 0+git.b47d8fa8 2025-02-12 (1256) 11MB - preview/stable: –
    preview/candidate: 0.2.7-alpha 2023-02-02 (864) 10MB - preview/beta: ↑
    preview/edge: 0.3.0-alpha 2023-08-14 (1017) 11MB - 1/stable: 41.3-72-g80e7130 2024-09-22 (1216) 12MB - 1/candidate: ↑
    1/beta: ↑
    1/edge: 41.3-72-g80e7130 2024-09-16 (1216) 12MB - installed: 0+git.4fcd62b7 (1218) 11MB -

name: snapd summary: Daemon and tooling that enable snap packages publisher: Canonical✓ store-url: https://snapcraft.io/snapd contact: https://github.com/snapcore/snapd/issues license: GPL-3.0 description: | Install, configure, refresh and remove snap packages. Snaps are 'universal' packages that work across many different Linux systems, enabling secure distribution of the latest apps and utilities for cloud, servers, desktops and the internet of things.

Start with 'snap list' to see installed snaps. type: snapd snap-id: PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4 tracking: latest/stable refresh-date: 21 days ago, at 00:04 PST channels: latest/stable: 2.67 2025-01-11 (23545) 46MB - latest/candidate: 2.67.1 2025-02-05 (23771) 46MB - latest/beta: 2.68 2025-02-14 (24014) 53MB - latest/edge: 2.68+g8.40abdd0 2025-02-14 (24017) 53MB - installed: 2.67 (23545) 46MB snapd

Additional context

No response

JaredTweed avatar Feb 14 '25 22:02 JaredTweed