[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 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 reset by
  peer"

Status in snapd-glib package in Ubuntu:
  Fix Released
Status in snapd-glib source package in Artful:
  Fix Committed

Bug description:
  Test Case
  1. On a freshly installed system when snapd has never been used or 
initialized before (ie core is not installed) open gnome-software
  2. Select a snap
  3. Install it
  4. Wait until it is installed

  Actual result
  At some point gnome-software reports an error "Installation failed: 
connection reset by peer"
  It was actually installing core, restarted snapd, then the package. But 
gnome-software reports the error when snapd is restarted, loses the connection 
to the daemon and does not track the progress of the installation of the snap 
package

  Expected result
  It reports the installation of core then the installation of the snap 
package, or report everything in a single transaction but in any case does not 
report an error since everything is going as expected.

  Attached the changes that are occurring when the first snap is
  installed on a fresh system

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-software 3.26.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 16 09:26:38 2017
  InstallationDate: Installed on 2013-09-03 (1503 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap3.26.1-0ubuntu1
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd-glib/+bug/1723874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[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 multiple async operations not working at the same time. (LP: #1722183)
- When async requests are cancelled abort change in snapd. (LP: #1721762)
- Connect to snapd on demand. (LP: #1723874)
- Add ability to set snapd socket to connect to.
- Add support for channels.
- Fix runtime assertion when snapd socket is NULL.
- Fix sudoer flag not being correctly set for create-user.
- Make clients using provided sockets non-blocking.
- Don't install snapd-qt.pc if not compiling snapd-qt.
  * debian/libsnapd-glib1.symbols:
  * debian/libsnapd-qt1.symbols:
- Updated

 -- Robert Ancell   Thu, 26 Oct 2017
12:40:05 +1300

** Changed in: snapd-glib (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
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 reset by
  peer"

Status in gnome-software package in Ubuntu:
  Triaged
Status in snapd-glib package in Ubuntu:
  Fix Released
Status in gnome-software source package in Xenial:
  New
Status in gnome-software source package in Zesty:
  New
Status in snapd-glib source package in Artful:
  Fix Committed

Bug description:
  Test Case
  1. On a freshly installed system when snapd has never been used or 
initialized before (ie core is not installed) open gnome-software
  2. Select a snap
  3. Install it
  4. Wait until it is installed

  Actual result
  At some point gnome-software reports an error "Installation failed: 
connection reset by peer"
  It was actually installing core, restarted snapd, then the package. But 
gnome-software reports the error when snapd is restarted, loses the connection 
to the daemon and does not track the progress of the installation of the snap 
package

  Expected result
  It reports the installation of core then the installation of the snap 
package, or report everything in a single transaction but in any case does not 
report an error since everything is going as expected.

  Attached the changes that are occurring when the first snap is
  installed on a fresh system

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-software 3.26.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 16 09:26:38 2017
  InstallationDate: Installed on 2013-09-03 (1503 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap3.26.1-0ubuntu1
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[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 reports an error "Connection reset by
  peer"

Status in gnome-software package in Ubuntu:
  Triaged
Status in snapd-glib package in Ubuntu:
  Fix Committed
Status in gnome-software source package in Xenial:
  New
Status in gnome-software source package in Zesty:
  New
Status in snapd-glib source package in Artful:
  Fix Committed

Bug description:
  Test Case
  1. On a freshly installed system when snapd has never been used or 
initialized before (ie core is not installed) open gnome-software
  2. Select a snap
  3. Install it
  4. Wait until it is installed

  Actual result
  At some point gnome-software reports an error "Installation failed: 
connection reset by peer"
  It was actually installing core, restarted snapd, then the package. But 
gnome-software reports the error when snapd is restarted, loses the connection 
to the daemon and does not track the progress of the installation of the snap 
package

  Expected result
  It reports the installation of core then the installation of the snap 
package, or report everything in a single transaction but in any case does not 
report an error since everything is going as expected.

  Attached the changes that are occurring when the first snap is
  installed on a fresh system

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-software 3.26.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 16 09:26:38 2017
  InstallationDate: Installed on 2013-09-03 (1503 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap3.26.1-0ubuntu1
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[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:
  First installation of a snap reports an error "Connection reset by
  peer"

Status in gnome-software package in Ubuntu:
  Triaged
Status in snapd-glib package in Ubuntu:
  Fix Committed
Status in gnome-software source package in Xenial:
  New
Status in gnome-software source package in Zesty:
  New
Status in snapd-glib source package in Artful:
  Fix Committed

Bug description:
  Test Case
  1. On a freshly installed system when snapd has never been used or 
initialized before (ie core is not installed) open gnome-software
  2. Select a snap
  3. Install it
  4. Wait until it is installed

  Actual result
  At some point gnome-software reports an error "Installation failed: 
connection reset by peer"
  It was actually installing core, restarted snapd, then the package. But 
gnome-software reports the error when snapd is restarted, loses the connection 
to the daemon and does not track the progress of the installation of the snap 
package

  Expected result
  It reports the installation of core then the installation of the snap 
package, or report everything in a single transaction but in any case does not 
report an error since everything is going as expected.

  Attached the changes that are occurring when the first snap is
  installed on a fresh system

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-software 3.26.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 16 09:26:38 2017
  InstallationDate: Installed on 2013-09-03 (1503 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap3.26.1-0ubuntu1
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[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 gnome-software
3. Install moon-buggy snap

** Changed in: snapd-glib (Ubuntu)
   Status: In Progress => Fix Committed

** Also affects: gnome-software (Ubuntu Artful)
   Importance: Undecided
   Status: New

** Also affects: snapd-glib (Ubuntu Artful)
   Importance: Undecided
   Status: New

** Also affects: gnome-software (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Also affects: snapd-glib (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Also affects: gnome-software (Ubuntu Zesty)
   Importance: Undecided
   Status: New

** Also affects: snapd-glib (Ubuntu Zesty)
   Importance: Undecided
   Status: New

** Changed in: snapd-glib (Ubuntu Artful)
   Status: New => Fix Committed

** Changed in: snapd-glib (Ubuntu Artful)
   Importance: Undecided => High

** Changed in: snapd-glib (Ubuntu Zesty)
   Status: New => Invalid

** Changed in: snapd-glib (Ubuntu Xenial)
   Status: New => Invalid

** Changed in: gnome-software (Ubuntu Artful)
   Status: New => Invalid

** No longer affects: gnome-software (Ubuntu Artful)

** No longer affects: snapd-glib (Ubuntu Zesty)

** No longer affects: snapd-glib (Ubuntu Xenial)

** Changed in: snapd-glib (Ubuntu Artful)
 Assignee: (unassigned) => Robert Ancell (robert-ancell)

** Changed in: gnome-software (Ubuntu Xenial)
   Importance: Undecided => Medium

** Changed in: gnome-software (Ubuntu Zesty)
   Importance: Undecided => Medium

-- 
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 reset by
  peer"

Status in gnome-software package in Ubuntu:
  Triaged
Status in snapd-glib package in Ubuntu:
  Fix Committed
Status in gnome-software source package in Xenial:
  New
Status in gnome-software source package in Zesty:
  New
Status in snapd-glib source package in Artful:
  Fix Committed

Bug description:
  Test Case
  1. On a freshly installed system when snapd has never been used or 
initialized before (ie core is not installed) open gnome-software
  2. Select a snap
  3. Install it
  4. Wait until it is installed

  Actual result
  At some point gnome-software reports an error "Installation failed: 
connection reset by peer"
  It was actually installing core, restarted snapd, then the package. But 
gnome-software reports the error when snapd is restarted, loses the connection 
to the daemon and does not track the progress of the installation of the snap 
package

  Expected result
  It reports the installation of core then the installation of the snap 
package, or report everything in a single transaction but in any case does not 
report an error since everything is going as expected.

  Attached the changes that are occurring when the first snap is
  installed on a fresh system

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-software 3.26.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 16 09:26:38 2017
  InstallationDate: Installed on 2013-09-03 (1503 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap3.26.1-0ubuntu1
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[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 reset by
  peer"

Status in gnome-software package in Ubuntu:
  Triaged
Status in snapd-glib package in Ubuntu:
  In Progress

Bug description:
  Test Case
  1. On a freshly installed system when snapd has never been used or 
initialized before (ie core is not installed) open gnome-software
  2. Select a snap
  3. Install it
  4. Wait until it is installed

  Actual result
  At some point gnome-software reports an error "Installation failed: 
connection reset by peer"
  It was actually installing core, restarted snapd, then the package. But 
gnome-software reports the error when snapd is restarted, loses the connection 
to the daemon and does not track the progress of the installation of the snap 
package

  Expected result
  It reports the installation of core then the installation of the snap 
package, or report everything in a single transaction but in any case does not 
report an error since everything is going as expected.

  Attached the changes that are occurring when the first snap is
  installed on a fresh system

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-software 3.26.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 16 09:26:38 2017
  InstallationDate: Installed on 2013-09-03 (1503 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap3.26.1-0ubuntu1
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[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.

This is required since snapd can restart during an async request (e.g. 
install).
We need to reconnect to check the install completed.
This means snapd_client_connect() now does nothing.

-- 
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 reset by
  peer"

Status in gnome-software package in Ubuntu:
  Triaged
Status in snapd-glib package in Ubuntu:
  In Progress

Bug description:
  Test Case
  1. On a freshly installed system when snapd has never been used or 
initialized before (ie core is not installed) open gnome-software
  2. Select a snap
  3. Install it
  4. Wait until it is installed

  Actual result
  At some point gnome-software reports an error "Installation failed: 
connection reset by peer"
  It was actually installing core, restarted snapd, then the package. But 
gnome-software reports the error when snapd is restarted, loses the connection 
to the daemon and does not track the progress of the installation of the snap 
package

  Expected result
  It reports the installation of core then the installation of the snap 
package, or report everything in a single transaction but in any case does not 
report an error since everything is going as expected.

  Attached the changes that are occurring when the first snap is
  installed on a fresh system

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-software 3.26.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 16 09:26:38 2017
  InstallationDate: Installed on 2013-09-03 (1503 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap3.26.1-0ubuntu1
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[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 reports an error "Connection reset by
  peer"

Status in gnome-software package in Ubuntu:
  Triaged
Status in snapd-glib package in Ubuntu:
  In Progress

Bug description:
  Test Case
  1. On a freshly installed system when snapd has never been used or 
initialized before (ie core is not installed) open gnome-software
  2. Select a snap
  3. Install it
  4. Wait until it is installed

  Actual result
  At some point gnome-software reports an error "Installation failed: 
connection reset by peer"
  It was actually installing core, restarted snapd, then the package. But 
gnome-software reports the error when snapd is restarted, loses the connection 
to the daemon and does not track the progress of the installation of the snap 
package

  Expected result
  It reports the installation of core then the installation of the snap 
package, or report everything in a single transaction but in any case does not 
report an error since everything is going as expected.

  Attached the changes that are occurring when the first snap is
  installed on a fresh system

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-software 3.26.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 16 09:26:38 2017
  InstallationDate: Installed on 2013-09-03 (1503 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap3.26.1-0ubuntu1
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[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 may never come back).

-- 
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 reset by
  peer"

Status in gnome-software package in Ubuntu:
  Triaged
Status in snapd-glib package in Ubuntu:
  In Progress

Bug description:
  Test Case
  1. On a freshly installed system when snapd has never been used or 
initialized before (ie core is not installed) open gnome-software
  2. Select a snap
  3. Install it
  4. Wait until it is installed

  Actual result
  At some point gnome-software reports an error "Installation failed: 
connection reset by peer"
  It was actually installing core, restarted snapd, then the package. But 
gnome-software reports the error when snapd is restarted, loses the connection 
to the daemon and does not track the progress of the installation of the snap 
package

  Expected result
  It reports the installation of core then the installation of the snap 
package, or report everything in a single transaction but in any case does not 
report an error since everything is going as expected.

  Attached the changes that are occurring when the first snap is
  installed on a fresh system

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-software 3.26.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 16 09:26:38 2017
  InstallationDate: Installed on 2013-09-03 (1503 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap3.26.1-0ubuntu1
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[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 gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1723874

Title:
  First installation of a snap reports an error "Connection reset by
  peer"

Status in gnome-software package in Ubuntu:
  Triaged
Status in snapd-glib package in Ubuntu:
  In Progress

Bug description:
  Test Case
  1. On a freshly installed system when snapd has never been used or 
initialized before (ie core is not installed) open gnome-software
  2. Select a snap
  3. Install it
  4. Wait until it is installed

  Actual result
  At some point gnome-software reports an error "Installation failed: 
connection reset by peer"
  It was actually installing core, restarted snapd, then the package. But 
gnome-software reports the error when snapd is restarted, loses the connection 
to the daemon and does not track the progress of the installation of the snap 
package

  Expected result
  It reports the installation of core then the installation of the snap 
package, or report everything in a single transaction but in any case does not 
report an error since everything is going as expected.

  Attached the changes that are occurring when the first snap is
  installed on a fresh system

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-software 3.26.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 16 09:26:38 2017
  InstallationDate: Installed on 2013-09-03 (1503 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap3.26.1-0ubuntu1
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[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 (robert-ancell)

** Changed in: snapd-glib (Ubuntu)
   Status: Triaged => In Progress

-- 
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 reset by
  peer"

Status in gnome-software package in Ubuntu:
  Triaged
Status in snapd-glib package in Ubuntu:
  In Progress

Bug description:
  Test Case
  1. On a freshly installed system when snapd has never been used or 
initialized before (ie core is not installed) open gnome-software
  2. Select a snap
  3. Install it
  4. Wait until it is installed

  Actual result
  At some point gnome-software reports an error "Installation failed: 
connection reset by peer"
  It was actually installing core, restarted snapd, then the package. But 
gnome-software reports the error when snapd is restarted, loses the connection 
to the daemon and does not track the progress of the installation of the snap 
package

  Expected result
  It reports the installation of core then the installation of the snap 
package, or report everything in a single transaction but in any case does not 
report an error since everything is going as expected.

  Attached the changes that are occurring when the first snap is
  installed on a fresh system

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-software 3.26.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 16 09:26:38 2017
  InstallationDate: Installed on 2013-09-03 (1503 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap3.26.1-0ubuntu1
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[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 installation of a snap reports an error "Connection reset by
  peer"

Status in gnome-software package in Ubuntu:
  Triaged

Bug description:
  Test Case
  1. On a freshly installed system when snapd has never been used or 
initialized before (ie core is not installed) open gnome-software
  2. Select a snap
  3. Install it
  4. Wait until it is installed

  Actual result
  At some point gnome-software reports an error "Installation failed: 
connection reset by peer"
  It was actually installing core, restarted snapd, then the package. But 
gnome-software reports the error when snapd is restarted, loses the connection 
to the daemon and does not track the progress of the installation of the snap 
package

  Expected result
  It reports the installation of core then the installation of the snap 
package, or report everything in a single transaction but in any case does not 
report an error since everything is going as expected.

  Attached the changes that are occurring when the first snap is
  installed on a fresh system

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-software 3.26.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 16 09:26:38 2017
  InstallationDate: Installed on 2013-09-03 (1503 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap3.26.1-0ubuntu1
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[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.
https://bugs.launchpad.net/bugs/1723874

Title:
  First installation of a snap reports an error "Connection reset by
  peer"

Status in gnome-software package in Ubuntu:
  Triaged

Bug description:
  Test Case
  1. On a freshly installed system when snapd has never been used or 
initialized before (ie core is not installed) open gnome-software
  2. Select a snap
  3. Install it
  4. Wait until it is installed

  Actual result
  At some point gnome-software reports an error "Installation failed: 
connection reset by peer"
  It was actually installing core, restarted snapd, then the package. But 
gnome-software reports the error when snapd is restarted, loses the connection 
to the daemon and does not track the progress of the installation of the snap 
package

  Expected result
  It reports the installation of core then the installation of the snap 
package, or report everything in a single transaction but in any case does not 
report an error since everything is going as expected.

  Attached the changes that are occurring when the first snap is
  installed on a fresh system

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-software 3.26.1-0ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 16 09:26:38 2017
  InstallationDate: Installed on 2013-09-03 (1503 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap3.26.1-0ubuntu1
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723874/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp