[Bug 1578007] Re: apt in yakkety no longer creates partial

Leo Arias leo.arias at canonical.com
Thu May 12 23:53:53 UTC 2016


Tested in an up-to-date xenial system:
- Enabled the proposed archive
- updated snapcraft to 2.8.8a 
- build the mosquitto example.

Works alright.

The fix in the code will work in xenial and yakkety creating the
directory when it's not there, and doing nothing when it is in there.

** Description changed:

  This now fails: http://paste.ubuntu.com/16208927/
  With an error that looks like http://paste.ubuntu.com/16208917/
  
  If 'partial' is created in `downloaddir` then it works again
+ 
+ [Impact]
+ 
+  * Users of yakkety won't be able to build snaps with stage packages.
+ 
+  * Users of xenial are not affected.
+ 
+ [Test Case]
+ 
+ Build a snap with stage packages:
+  * apt get install snapcraft snapcraft-examples
+  * mkdir /tmp/mosquitto
+  * cp /usr/share/doc/snapcraft-examples/examples/mosquitto/* /tmp/mosquitto
+  * cd /tmp/mosquitto
+  * snapcraft
+ 
+ A snap must be generated.
+ 
+ [Regression Potential]
+ 
+  * The fix in yakkety could affect the version in xenial.

** Description changed:

  This now fails: http://paste.ubuntu.com/16208927/
  With an error that looks like http://paste.ubuntu.com/16208917/
  
  If 'partial' is created in `downloaddir` then it works again
  
  [Impact]
  
-  * Users of yakkety won't be able to build snaps with stage packages.
+  * Users of yakkety won't be able to build snaps with stage packages.
  
-  * Users of xenial are not affected.
+  * Users of xenial are not affected.
  
  [Test Case]
  
  Build a snap with stage packages:
-  * apt get install snapcraft snapcraft-examples
-  * mkdir /tmp/mosquitto
-  * cp /usr/share/doc/snapcraft-examples/examples/mosquitto/* /tmp/mosquitto
-  * cd /tmp/mosquitto
-  * snapcraft
+  * apt get install snapcraft snapcraft-examples
+  * mkdir /tmp/mosquitto
+  * cp /usr/share/doc/snapcraft-examples/examples/mosquitto/* /tmp/mosquitto
+  * cd /tmp/mosquitto
+  * snapcraft
  
  A snap must be generated.
  
  [Regression Potential]
  
-  * The fix in yakkety could affect the version in xenial.
+  * The fix in yakkety could affect the version in xenial.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1578007

Title:
  apt in yakkety no longer creates partial

Status in Snapcraft:
  In Progress
Status in python-apt package in Ubuntu:
  Confirmed
Status in snapcraft package in Ubuntu:
  Fix Released
Status in snapcraft source package in Xenial:
  Fix Committed

Bug description:
  This now fails: http://paste.ubuntu.com/16208927/
  With an error that looks like http://paste.ubuntu.com/16208917/

  If 'partial' is created in `downloaddir` then it works again

  [Impact]

   * Users of yakkety won't be able to build snaps with stage packages.

   * Users of xenial are not affected.

  [Test Case]

  Build a snap with stage packages:
   * apt get install snapcraft snapcraft-examples
   * mkdir /tmp/mosquitto
   * cp /usr/share/doc/snapcraft-examples/examples/mosquitto/* /tmp/mosquitto
   * cd /tmp/mosquitto
   * snapcraft

  A snap must be generated.

  [Regression Potential]

   * The fix in yakkety could affect the version in xenial.

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1578007/+subscriptions



More information about the foundations-bugs mailing list