Results 1 to 4 of 4

Thread: How do I get past "Cannot refresh snap-store" nastygram

  1. #1
    Join Date
    Jun 2019
    Beans
    9

    Question How do I get past "Cannot refresh snap-store" nastygram

    I have Ubuntu 22 and when I open Ubuntu Software app it shows I have updates: https://imgur.com/sY8xpDw

    When I try to upgrade, it asks for my password, churns for a couple of seconds, and then I get a nastygram https://imgur.com/AcfQpc6:

    Code:
    Unable to updade "Snap Store": (null): cannot refresh "snap-store": snap "snap-store" has running apps (ubuntu-software), pids:2262
    I tried rebooting and going through Ubuntu Software again but run into the same problem. I suppose it's complaining about the Ubuntu Software app I'm opening first but I don't know a way around that. I did apt-get update and apt list --upgradable but no snap packages are upgradable.

    Does anyone have any advice?


  2. #2
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How do I get past "Cannot refresh snap-store" nastygram

    Live by the GUI / Die by the GUI...
    to update snaps:
    Code:
    sudo snap refresh
    To just list upgrades
    Code:
    sudo snap refresh --list
    You can also update a specific application if the other method fails
    Code:
    sudo snap refresh <Application>
    BTW You will have to close Gnome-Software first...
    Last edited by 1fallen; May 6th, 2023 at 07:47 PM.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  3. #3
    Join Date
    Jun 2019
    Beans
    9

    Re: How do I get past "Cannot refresh snap-store" nastygram

    Thanks for the suggestions but I'm still having trouble:

    # snap refresh --list
    Name Version Rev Size Publisher Notes
    snap-store 41.3-71-g709398e 959 12MB canonical✓ -
    # snap refresh snap-store
    error: cannot refresh "snap-store": snap "snap-store" has running apps
    (snap-store), pids: 2321
    #

    I even tried rebooting and doing this the first thing.

  4. #4
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How do I get past "Cannot refresh snap-store" nastygram

    Quote Originally Posted by jcpfuntner View Post
    Thanks for the suggestions but I'm still having trouble:

    # snap refresh --list
    Name Version Rev Size Publisher Notes
    snap-store 41.3-71-g709398e 959 12MB canonical✓ -
    # snap refresh snap-store
    error: cannot refresh "snap-store": snap "snap-store" has running apps
    (snap-store), pids: 2321
    #

    I even tried rebooting and doing this the first thing.
    Ok that's a new one i knew I was smart removing all snap
    Please try this
    Code:
    sudo killall snap-store && sudo snap refresh snap-store
    Any better now?
    Last edited by 1fallen; May 6th, 2023 at 09:49 PM. Reason: fix code
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •