OK, that should be easy to work on. Once I added a get_lock binding for
GetLock(), I can change apt.Cache.fetch_archives() to call get_lock().
It gets a bit more complex if a fetcher is passed in, I'm not sure what
do about that - locking on a user-provided fetcher seems wrong to me -
APT provides no method to unlock a fetcher.

But let's just figure out the easy thing first, we can look at the other
one later on.

** Changed in: python-apt (Ubuntu)
   Importance: Undecided => High

** Changed in: python-apt (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: python-apt (Ubuntu)
     Assignee: (unassigned) => Julian Andres Klode (juliank)

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

Title:
  python-apt in yakkety no longer creates partial

Status in Snapcraft:
  In Progress
Status in python-apt package in Ubuntu:
  In Progress
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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to