[Touch-packages] [Bug 1794053] Re: pkgCacheFile unlocks in destructor even if it did not acquire lock

2018-10-25 Thread Launchpad Bug Tracker
This bug was fixed in the package apt - 1.2.29 --- apt (1.2.29) xenial; urgency=medium * Set DPKG_FRONTEND_LOCKED when running {pre,post}-invoke scripts. Some post-invoke scripts install packages, which fails because the environment variable is not set. This sets the

[Touch-packages] [Bug 1794053] Re: pkgCacheFile unlocks in destructor even if it did not acquire lock

2018-10-25 Thread Launchpad Bug Tracker
This bug was fixed in the package apt - 1.6.6 --- apt (1.6.6) bionic; urgency=medium * Set DPKG_FRONTEND_LOCKED when running {pre,post}-invoke scripts. Some post-invoke scripts install packages, which fails because the environment variable is not set. This sets the variable

[Touch-packages] [Bug 1794053] Re: pkgCacheFile unlocks in destructor even if it did not acquire lock

2018-10-18 Thread Julian Andres Klode
xenial == With 1.2.27 --- root@glowing-mastodon:~# python3 a.py total 0 [...] lrwx-- 1 root root 64 Oct 18 12:15 3 -> /var/lib/dpkg/lock l-wx-- 1 root root 64 Oct 18 12:15 6 -> pipe:[27632799] Reading package lists... Done Building dependency tree Reading state

[Touch-packages] [Bug 1794053] Re: pkgCacheFile unlocks in destructor even if it did not acquire lock

2018-10-18 Thread Julian Andres Klode
bionic (1.6.3ubuntu0.1 -> 1.6.6): root@dashing-panda:~# python3 a.py total 0 [...] lrwx-- 1 root root 64 Oct 18 12:07 3 -> /var/lib/dpkg/lock l-wx-- 1 root root 64 Oct 18 12:07 6 -> 'pipe:[27578280]' Reading package lists... Done Building dependency tree Reading state

[Touch-packages] [Bug 1794053] Re: pkgCacheFile unlocks in destructor even if it did not acquire lock

2018-10-01 Thread Łukasz Zemczak
Hello Julian, or anyone else affected, Accepted apt into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apt/1.2.28 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Touch-packages] [Bug 1794053] Re: pkgCacheFile unlocks in destructor even if it did not acquire lock

2018-10-01 Thread Łukasz Zemczak
Hello Julian, or anyone else affected, Accepted apt into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apt/1.6.5 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Touch-packages] [Bug 1794053] Re: pkgCacheFile unlocks in destructor even if it did not acquire lock

2018-09-25 Thread Launchpad Bug Tracker
This bug was fixed in the package apt - 1.7.0~rc2ubuntu1 --- apt (1.7.0~rc2ubuntu1) cosmic; urgency=medium * Fix calculation of elapsed usec in downloads * pkgCacheFile: Only unlock in destructor if locked before (LP: #1794053) -- Julian Andres Klode Mon, 24 Sep 2018 12:18:26

[Touch-packages] [Bug 1794053] Re: pkgCacheFile unlocks in destructor even if it did not acquire lock

2018-09-24 Thread Julian Andres Klode
** Changed in: apt (Ubuntu Cosmic) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1794053 Title: pkgCacheFile unlocks in