Snap refresh fails "no such file or directory"

I don’t know where to file this bug. I am unsure if it’s an issue with the snap being refreshed, the gtk-common-themes snap it’s connecting to, or snapd. I’m on a fairly clean and up to date 18.04 VM. Where should I file this bug?

I just did snap refresh and got this:-

alan@ubuntu1804:~$ snap refresh
error: cannot perform the following tasks:
- Download snap "gtk-common-themes" (319) from channel "stable" (rename /var/lib/snapd/snaps/gtk-common-themes_319.snap.partial /var/lib/snapd/snaps/gtk-common-themes_319.snap: no such file or directory)
- Download snap "gtk-common-themes" (319) from channel "stable" (rename /var/lib/snapd/snaps/gtk-common-themes_319.snap.partial /var/lib/snapd/snaps/gtk-common-themes_319.snap: no such file or directory)

Further data-

alan@ubuntu1804:~$ snap version
snap    2.33.1
snapd   2.33.1
series  16
ubuntu  18.04
kernel  4.15.0-12-generic
alan@ubuntu1804:~$ snap changes
ID   Status  Spawn                     Ready                     Summary
1    Done    2018-03-26                7 days ago, at 11:41 BST  Initialize system state
3    Done    7 days ago, at 11:47 BST  7 days ago, at 11:52 BST  Auto-refresh 6 snaps
4    Done    7 days ago, at 11:53 BST  7 days ago, at 11:53 BST  Refresh all snaps: no updates
5    Error   today at 09:50 BST        today at 09:50 BST        Refresh snaps "gnome-3-26-1604", "gnome-system-monitor", "gnome-calculator"
alan@ubuntu1804:~$ snap change 5
Status  Spawn               Ready               Summary
Done    today at 09:50 BST  today at 09:50 BST  Ensure prerequisites for "gnome-3-26-1604" are available
Done    today at 09:50 BST  today at 09:50 BST  Download snap "gnome-3-26-1604" (70) from channel "stable/ubuntu-18.04"
Done    today at 09:50 BST  today at 09:50 BST  Fetch and check assertions for snap "gnome-3-26-1604" (70)
Done    today at 09:50 BST  today at 09:50 BST  Mount snap "gnome-3-26-1604" (70)
Done    today at 09:50 BST  today at 09:50 BST  Run pre-refresh hook of "gnome-3-26-1604" snap if present
Done    today at 09:50 BST  today at 09:50 BST  Stop snap "gnome-3-26-1604" services
Done    today at 09:50 BST  today at 09:50 BST  Remove aliases for snap "gnome-3-26-1604"
Done    today at 09:50 BST  today at 09:50 BST  Make current revision for snap "gnome-3-26-1604" unavailable
Done    today at 09:50 BST  today at 09:50 BST  Copy snap "gnome-3-26-1604" data
Done    today at 09:50 BST  today at 09:50 BST  Setup snap "gnome-3-26-1604" (70) security profiles
Done    today at 09:50 BST  today at 09:50 BST  Make snap "gnome-3-26-1604" (70) available to the system
Done    today at 09:50 BST  today at 09:50 BST  Automatically connect eligible plugs and slots of snap "gnome-3-26-1604"
Done    today at 09:50 BST  today at 09:50 BST  Set automatic aliases for snap "gnome-3-26-1604"
Done    today at 09:50 BST  today at 09:50 BST  Setup snap "gnome-3-26-1604" aliases
Done    today at 09:50 BST  today at 09:50 BST  Run post-refresh hook of "gnome-3-26-1604" snap if present
Done    today at 09:50 BST  today at 09:50 BST  Start snap "gnome-3-26-1604" (70) services
Done    today at 09:50 BST  today at 09:50 BST  Clean up "gnome-3-26-1604" (70) install
Done    today at 09:50 BST  today at 09:50 BST  Run configure hook of "gnome-3-26-1604" snap if present
Done    today at 09:50 BST  today at 09:50 BST  Ensure prerequisites for "gnome-system-monitor" are available
Done    today at 09:50 BST  today at 09:50 BST  Download snap "gnome-system-monitor" (51) from channel "stable/ubuntu-18.04"
Done    today at 09:50 BST  today at 09:50 BST  Fetch and check assertions for snap "gnome-system-monitor" (51)
Done    today at 09:50 BST  today at 09:50 BST  Mount snap "gnome-system-monitor" (51)
Done    today at 09:50 BST  today at 09:50 BST  Run pre-refresh hook of "gnome-system-monitor" snap if present
Done    today at 09:50 BST  today at 09:50 BST  Stop snap "gnome-system-monitor" services
Done    today at 09:50 BST  today at 09:50 BST  Remove aliases for snap "gnome-system-monitor"
Done    today at 09:50 BST  today at 09:50 BST  Make current revision for snap "gnome-system-monitor" unavailable
Done    today at 09:50 BST  today at 09:50 BST  Copy snap "gnome-system-monitor" data
Done    today at 09:50 BST  today at 09:50 BST  Setup snap "gnome-system-monitor" (51) security profiles
Done    today at 09:50 BST  today at 09:50 BST  Make snap "gnome-system-monitor" (51) available to the system
Done    today at 09:50 BST  today at 09:50 BST  Automatically connect eligible plugs and slots of snap "gnome-system-monitor"
Done    today at 09:50 BST  today at 09:50 BST  Set automatic aliases for snap "gnome-system-monitor"
Done    today at 09:50 BST  today at 09:50 BST  Setup snap "gnome-system-monitor" aliases
Done    today at 09:50 BST  today at 09:50 BST  Run post-refresh hook of "gnome-system-monitor" snap if present
Done    today at 09:50 BST  today at 09:50 BST  Start snap "gnome-system-monitor" (51) services
Done    today at 09:50 BST  today at 09:50 BST  Clean up "gnome-system-monitor" (51) install
Done    today at 09:50 BST  today at 09:50 BST  Run configure hook of "gnome-system-monitor" snap if present
Done    today at 09:50 BST  today at 09:50 BST  Ensure prerequisites for "gnome-calculator" are available
Done    today at 09:50 BST  today at 09:50 BST  Download snap "gnome-calculator" (180) from channel "stable/ubuntu-18.04"
Done    today at 09:50 BST  today at 09:50 BST  Fetch and check assertions for snap "gnome-calculator" (180)
Done    today at 09:50 BST  today at 09:50 BST  Mount snap "gnome-calculator" (180)
Done    today at 09:50 BST  today at 09:50 BST  Run pre-refresh hook of "gnome-calculator" snap if present
Done    today at 09:50 BST  today at 09:50 BST  Stop snap "gnome-calculator" services
Done    today at 09:50 BST  today at 09:50 BST  Remove aliases for snap "gnome-calculator"
Done    today at 09:50 BST  today at 09:50 BST  Make current revision for snap "gnome-calculator" unavailable
Done    today at 09:50 BST  today at 09:50 BST  Copy snap "gnome-calculator" data
Done    today at 09:50 BST  today at 09:50 BST  Setup snap "gnome-calculator" (180) security profiles
Done    today at 09:50 BST  today at 09:50 BST  Make snap "gnome-calculator" (180) available to the system
Done    today at 09:50 BST  today at 09:50 BST  Automatically connect eligible plugs and slots of snap "gnome-calculator"
Done    today at 09:50 BST  today at 09:50 BST  Set automatic aliases for snap "gnome-calculator"
Done    today at 09:50 BST  today at 09:50 BST  Setup snap "gnome-calculator" aliases
Done    today at 09:50 BST  today at 09:50 BST  Run post-refresh hook of "gnome-calculator" snap if present
Done    today at 09:50 BST  today at 09:50 BST  Start snap "gnome-calculator" (180) services
Done    today at 09:50 BST  today at 09:50 BST  Clean up "gnome-calculator" (180) install
Done    today at 09:50 BST  today at 09:50 BST  Run configure hook of "gnome-calculator" snap if present
Done    today at 09:50 BST  today at 09:50 BST  Ensure prerequisites for "gtk-common-themes" are available
Error   today at 09:50 BST  today at 09:50 BST  Download snap "gtk-common-themes" (319) from channel "stable"
Hold    today at 09:50 BST  today at 09:50 BST  Fetch and check assertions for snap "gtk-common-themes" (319)
Hold    today at 09:50 BST  today at 09:50 BST  Mount snap "gtk-common-themes" (319)
Hold    today at 09:50 BST  today at 09:50 BST  Copy snap "gtk-common-themes" data
Hold    today at 09:50 BST  today at 09:50 BST  Setup snap "gtk-common-themes" (319) security profiles
Hold    today at 09:50 BST  today at 09:50 BST  Make snap "gtk-common-themes" (319) available to the system
Hold    today at 09:50 BST  today at 09:50 BST  Automatically connect eligible plugs and slots of snap "gtk-common-themes"
Hold    today at 09:50 BST  today at 09:50 BST  Set automatic aliases for snap "gtk-common-themes"
Hold    today at 09:50 BST  today at 09:50 BST  Setup snap "gtk-common-themes" aliases
Hold    today at 09:50 BST  today at 09:50 BST  Run install hook of "gtk-common-themes" snap if present
Hold    today at 09:50 BST  today at 09:50 BST  Start snap "gtk-common-themes" (319) services
Hold    today at 09:50 BST  today at 09:50 BST  Run configure hook of "gtk-common-themes" snap if present
Done    today at 09:50 BST  today at 09:50 BST  Ensure prerequisites for "gtk-common-themes" are available
Error   today at 09:50 BST  today at 09:50 BST  Download snap "gtk-common-themes" (319) from channel "stable"
Hold    today at 09:50 BST  today at 09:50 BST  Fetch and check assertions for snap "gtk-common-themes" (319)
Hold    today at 09:50 BST  today at 09:50 BST  Mount snap "gtk-common-themes" (319)
Hold    today at 09:50 BST  today at 09:50 BST  Copy snap "gtk-common-themes" data
Hold    today at 09:50 BST  today at 09:50 BST  Setup snap "gtk-common-themes" (319) security profiles
Hold    today at 09:50 BST  today at 09:50 BST  Make snap "gtk-common-themes" (319) available to the system
Hold    today at 09:50 BST  today at 09:50 BST  Automatically connect eligible plugs and slots of snap "gtk-common-themes"
Hold    today at 09:50 BST  today at 09:50 BST  Set automatic aliases for snap "gtk-common-themes"
Hold    today at 09:50 BST  today at 09:50 BST  Setup snap "gtk-common-themes" aliases
Hold    today at 09:50 BST  today at 09:50 BST  Run install hook of "gtk-common-themes" snap if present
Hold    today at 09:50 BST  today at 09:50 BST  Start snap "gtk-common-themes" (319) services
Hold    today at 09:50 BST  today at 09:50 BST  Run configure hook of "gtk-common-themes" snap if present
Done    today at 09:50 BST  today at 09:50 BST  Ensure prerequisites for "gtk-common-themes" are available
Done    today at 09:50 BST  today at 09:50 BST  Download snap "gtk-common-themes" (319) from channel "stable"
Done    today at 09:50 BST  today at 09:50 BST  Fetch and check assertions for snap "gtk-common-themes" (319)
Done    today at 09:50 BST  today at 09:50 BST  Mount snap "gtk-common-themes" (319)
Done    today at 09:50 BST  today at 09:50 BST  Copy snap "gtk-common-themes" data
Done    today at 09:50 BST  today at 09:50 BST  Setup snap "gtk-common-themes" (319) security profiles
Done    today at 09:50 BST  today at 09:50 BST  Make snap "gtk-common-themes" (319) available to the system
Done    today at 09:50 BST  today at 09:50 BST  Automatically connect eligible plugs and slots of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Set automatic aliases for snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Setup snap "gtk-common-themes" aliases
Done    today at 09:50 BST  today at 09:50 BST  Run install hook of "gtk-common-themes" snap if present
Done    today at 09:50 BST  today at 09:50 BST  Start snap "gtk-common-themes" (319) services
Done    today at 09:50 BST  today at 09:50 BST  Run configure hook of "gtk-common-themes" snap if present
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-plug-gtk-3-themes of snap "gnome-calculator"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-slot-gtk-3-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Connect gnome-calculator:gtk-3-themes to gtk-common-themes:gtk-3-themes
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-slot-gtk-3-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-plug-gtk-3-themes of snap "gnome-calculator"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-plug-gtk-3-themes of snap "gnome-characters"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-slot-gtk-3-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Connect gnome-characters:gtk-3-themes to gtk-common-themes:gtk-3-themes
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-slot-gtk-3-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-plug-gtk-3-themes of snap "gnome-characters"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-plug-gtk-3-themes of snap "gnome-logs"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-slot-gtk-3-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Connect gnome-logs:gtk-3-themes to gtk-common-themes:gtk-3-themes
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-slot-gtk-3-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-plug-gtk-3-themes of snap "gnome-logs"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-plug-gtk-3-themes of snap "gnome-system-monitor"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-slot-gtk-3-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Connect gnome-system-monitor:gtk-3-themes to gtk-common-themes:gtk-3-themes
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-slot-gtk-3-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-plug-gtk-3-themes of snap "gnome-system-monitor"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-plug-icon-themes of snap "gnome-calculator"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-slot-icon-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Connect gnome-calculator:icon-themes to gtk-common-themes:icon-themes
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-slot-icon-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-plug-icon-themes of snap "gnome-calculator"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-plug-icon-themes of snap "gnome-characters"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-slot-icon-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Connect gnome-characters:icon-themes to gtk-common-themes:icon-themes
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-slot-icon-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-plug-icon-themes of snap "gnome-characters"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-plug-icon-themes of snap "gnome-logs"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-slot-icon-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Connect gnome-logs:icon-themes to gtk-common-themes:icon-themes
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-slot-icon-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-plug-icon-themes of snap "gnome-logs"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-plug-icon-themes of snap "gnome-system-monitor"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-slot-icon-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Connect gnome-system-monitor:icon-themes to gtk-common-themes:icon-themes
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-slot-icon-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-plug-icon-themes of snap "gnome-system-monitor"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-plug-sound-themes of snap "gnome-calculator"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-slot-sound-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Connect gnome-calculator:sound-themes to gtk-common-themes:sound-themes
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-slot-sound-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-plug-sound-themes of snap "gnome-calculator"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-plug-sound-themes of snap "gnome-characters"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-slot-sound-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Connect gnome-characters:sound-themes to gtk-common-themes:sound-themes
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-slot-sound-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-plug-sound-themes of snap "gnome-characters"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-plug-sound-themes of snap "gnome-logs"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-slot-sound-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Connect gnome-logs:sound-themes to gtk-common-themes:sound-themes
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-slot-sound-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-plug-sound-themes of snap "gnome-logs"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-plug-sound-themes of snap "gnome-system-monitor"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-slot-sound-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Connect gnome-system-monitor:sound-themes to gtk-common-themes:sound-themes
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-slot-sound-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-plug-sound-themes of snap "gnome-system-monitor"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-plug-icon-themes of snap "gnome-system-monitor"
Done    today at 09:50 BST  today at 09:50 BST  Run hook prepare-slot-icon-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Connect gnome-system-monitor:icon-themes to gtk-common-themes:icon-themes
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-slot-icon-themes of snap "gtk-common-themes"
Done    today at 09:50 BST  today at 09:50 BST  Run hook connect-plug-icon-themes of snap "gnome-system-monitor"

......................................................................
Download snap "gtk-common-themes" (319) from channel "stable"

2018-07-17T09:50:24+01:00 ERROR rename /var/lib/snapd/snaps/gtk-common-themes_319.snap.partial /var/lib/snapd/snaps/gtk-common-themes_319.snap: no such file or directory

......................................................................
Download snap "gtk-common-themes" (319) from channel "stable"

2018-07-17T09:50:25+01:00 ERROR rename /var/lib/snapd/snaps/gtk-common-themes_319.snap.partial /var/lib/snapd/snaps/gtk-common-themes_319.snap: no such file or directory
alan@ubuntu1804:~$ snap info gtk-common-themes
name:      gtk-common-themes
summary:   All the (common) themes
publisher: canonical
license:   unknown
description: |
  A snap that exports the GTK and icon themes used on various Linux distros.
snap-id:      jZLfBRzf1cYlYysIjD2bwSzNtngY0qit
tracking:     stable
refresh-date: today at 09:50 BST
channels:                   
  stable:    0.1 (319) 36MB -
  candidate: ↑              
  beta:      ↑              
  edge:      0.1 (512) 38MB -
installed:   0.1 (319) 36MB -

Spoke to @chipaca who said it’s a snapd bug, so filed there.

The fix is on master and headed into 2.34.1.

1 Like