Here's a patch for this issue.  After investigating the work necessary
for this fix, I've discovered that it would be just as simple to call
dpkg directly rather than using another script to do this.  I know this
seems like duplication of work, and I greatly apologize for this, but in
the interest of reducing dependencies and keeping things simple, I've
got this working in C++.

No matter which way we went with this, it requires some tinkering in how
adept initializes its connection with the dpkg database.  Here's the
patch, and it could probably use an extra pair of eyes.

** Attachment added: "locked_fix patch."
   http://launchpadlibrarian.net/8312759/locked_fix.patch

-- 
Poor resolution of "database locked" problem
https://bugs.launchpad.net/bugs/48627
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to