[Desktop-packages] [Bug 1723874] Re: First installation of a snap reports an error "Connection reset by peer"

2017-10-26 Thread Robert Ancell
This appears not to be an issue in Zesty/Xenial since that didn't use snapd-glib and makes a new connection for each request. ** No longer affects: gnome-software (Ubuntu) ** No longer affects: gnome-software (Ubuntu Xenial) ** No longer affects: gnome-software (Ubuntu Zesty) -- You received

[Desktop-packages] [Bug 1723874] Re: First installation of a snap reports an error "Connection reset by peer"

2017-10-26 Thread Launchpad Bug Tracker
This bug was fixed in the package snapd-glib - 1.24-0ubuntu1 --- snapd-glib (1.24-0ubuntu1) bionic; urgency=medium * New upstream release: - Fix QSnapd::install() not working async. - Move Qt enums to an enum class and rename to avoid collisions (API break). - Fix

[Desktop-packages] [Bug 1723874] Re: First installation of a snap reports an error "Connection reset by peer"

2017-10-26 Thread Will Cooke
Installed as per the instructions and confirming this works as described. Thanks! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1723874 Title: First installation of a snap

[Desktop-packages] [Bug 1723874] Re: First installation of a snap reports an error "Connection reset by peer"

2017-10-25 Thread Robert Ancell
I re-uploaded as 1.24-0ubuntu0.17.10.1~ppa1 as this is the version number that will be used in the artful SRU. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1723874 Title:

[Desktop-packages] [Bug 1723874] Re: First installation of a snap reports an error "Connection reset by peer"

2017-10-25 Thread Robert Ancell
Fix now in ppa:ubuntu-desktop/gnome-software (snapd-glib 1.24-0ubuntu1~ppa1). For me now I can install on first attempt. I tested with: 1. Remove existing core snap (removes ALL snaps on your system) $ sudo apt purge snapd $ sudo apt install snapd 2. Restart GNOME Software $ killall

[Desktop-packages] [Bug 1723874] Re: First installation of a snap reports an error "Connection reset by peer"

2017-10-25 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-desktop/snapd-glib/ubuntu -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1723874 Title: First installation of a snap reports an error "Connection

[Desktop-packages] [Bug 1723874] Re: First installation of a snap reports an error "Connection reset by peer"

2017-10-24 Thread Robert Ancell
I have yet to test this in a real case but this change should fix this issue: commit 4014cc5f0c904ea154221fa95a4e12ae90bc811f (HEAD -> master, origin/master, origin/HEAD) Author: Robert Ancell Date: Wed Oct 25 16:52:36 2017 +1300 Connect to snapd on demand.

[Desktop-packages] [Bug 1723874] Re: First installation of a snap reports an error "Connection reset by peer"

2017-10-19 Thread Sebastien Bacher
** Tags added: gs-snap ** Tags removed: gs-snap ** Tags added: gnome-software-snap -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1723874 Title: First installation of a snap

[Desktop-packages] [Bug 1723874] Re: First installation of a snap reports an error "Connection reset by peer"

2017-10-18 Thread Robert Ancell
The fix for this will be in snapd-glib, it was never built with the assumption that snapd would restart in the middle of a transaction... This is somewhat tricky to add because we have to be careful for things to fail fast if snapd is not installed, but handle a restart during a transaction (which

[Desktop-packages] [Bug 1723874] Re: First installation of a snap reports an error "Connection reset by peer"

2017-10-18 Thread Robert Ancell
@jibel - can you check if this also occurs on older releases? The restarting code seems to have been there for a while, any idea if this is a new issue or has always been there? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 1723874] Re: First installation of a snap reports an error "Connection reset by peer"

2017-10-18 Thread Robert Ancell
** Also affects: snapd-glib (Ubuntu) Importance: Undecided Status: New ** Changed in: snapd-glib (Ubuntu) Status: New => Triaged ** Changed in: snapd-glib (Ubuntu) Importance: Undecided => High ** Changed in: snapd-glib (Ubuntu) Assignee: (unassigned) => Robert Ancell

[Desktop-packages] [Bug 1723874] Re: First installation of a snap reports an error "Connection reset by peer"

2017-10-18 Thread Will Cooke
** Changed in: gnome-software (Ubuntu) Assignee: (unassigned) => Robert Ancell (robert-ancell) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1723874 Title: First

[Desktop-packages] [Bug 1723874] Re: First installation of a snap reports an error "Connection reset by peer"

2017-10-16 Thread Robert Ancell
** Changed in: gnome-software (Ubuntu) Status: New => Triaged ** Changed in: gnome-software (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu.