On Tue, Jun 30, 2015 at 04:17:26PM +0200, Andreas Beckmann wrote: > Package: yubiserver > Version: 0.5-3 > Severity: serious > User: debian...@lists.debian.org > Usertags: piuparts > > Hi, > > during a test with piuparts I noticed your package fails to upgrade from > 'stretch'. > It installed fine in 'stretch', then the upgrade to 'sid' fails. > > >From the attached log (scroll to the bottom...): > > Preparing to unpack .../yubiserver_0.5-3_amd64.deb ... > invoke-rc.d: policy-rc.d denied execution of stop. > There is no yubiserver.sqlite file installed. Aborting upgrade. > dpkg: error processing archive > /var/cache/apt/archives/yubiserver_0.5-3_amd64.deb (--unpack): > subprocess new pre-installation script returned error exit status 1 > invoke-rc.d: policy-rc.d denied execution of start. > Errors were encountered while processing: > /var/cache/apt/archives/yubiserver_0.5-3_amd64.deb > > The piuparts tests are generally run with > DEBIAN_FRONTEND=noninteractive and a policy-rc.d that forbids > to start services (with an exception of mysqld/postgresql). > > > cheers, > > Andreas
Hi Andreas, I have tested it enough before updating the package but didn't manage to find the bug you are mentioning. For a proof of concept I tried to reproduce it locally but with no luck. cnanakos@mnode::~ >> sudo apt-get -t stretch install yubiserver Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: yubiserver 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 0 B/25.9 kB of archives. After this operation, 137 kB of additional disk space will be used. Selecting previously unselected package yubiserver. (Reading database ... 174049 files and directories currently installed.) Preparing to unpack .../yubiserver_0.5-2_amd64.deb ... Unpacking yubiserver (0.5-2) ... Processing triggers for systemd (220-7) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up yubiserver (0.5-2) ... Warning: The home dir /var/lib/yubiserver you specified can't be accessed: No such file or directory Adding system user `yubiserver' (UID 106) ... Adding new user `yubiserver' (UID 106) with group `nogroup' ... Not creating home directory `/var/lib/yubiserver'. Adding group `yubiserver' (GID 108) ... Done. Adding user `yubiserver' to group `yubiserver' ... Adding user yubiserver to group yubiserver Done. Processing triggers for systemd (220-7) ... cnanakos@mnode::~ >> sudo apt-get -t sid install yubiserver Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: yubiserver 1 upgraded, 0 newly installed, 0 to remove and 118 not upgraded. Need to get 25.7 kB of archives. After this operation, 36.9 kB disk space will be freed. Get:1 http://ftp.gr.debian.org/debian/ sid/main yubiserver amd64 0.5-3 [25.7 kB] Fetched 25.7 kB in 0s (75.5 kB/s) Reading changelogs... Done (Reading database ... 174065 files and directories currently installed.) Preparing to unpack .../yubiserver_0.5-3_amd64.deb ... Unpacking yubiserver (0.5-3) over (0.5-2) ... Processing triggers for systemd (220-7) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up yubiserver (0.5-3) ...
signature.asc
Description: Digital signature