Quoting Michael Tokarev (2016-10-31 08:29:27) > Control: tag -1 + moreinfo unreproducible > > Hello Jonas! > > 30.10.2016 13:34, Jonas Smedegaard wrote: >> I previously had qemu-user-static installed. I removed and purged >> that, and instead installed qemu-user-binfmt, but that fails with the >> following (some messages are in danish but should be possible to >> follow): >> >> Sætter qemu-user-binfmt (1:2.7+dfsg-3) op ... >> update-binfmts: warning: current package is qemu-user-binfmt, but binary >> format already installed by qemu-user-static > > Hm. I tried to reproduce this several times now (in addition to what > I've been doing back when writing this binfmt integration), but I > can't reproduce the problem. > > Do you maybe remember which version of qemu-user-static has been > installed on your system before? Maybe /var/log/dpkg* contains > something?
/var/log/apt/history.log: Upgrade: [...] qemu-user:amd64 (1:2.6+dfsg-3.1, 1:2.7+dfsg-3), qemu-user-static:amd64 (1:2.6+dfsg-3.1, 1:2.7+dfsg-3), [...] [...] Remove: qemu-user-static:amd64 (1:2.7+dfsg-3), binfmt-support:amd64 (2.1.6-1) [...] Install: qemu-user-binfmt:amd64 (1:2.7+dfsg-3, automatic), binfmt-support:amd64 (2.1.6-1, automatic) Error: Sub-process /usr/bin/dpkg returned an error code (1) [...] Install: qemu-user-static:amd64 (1:2.7+dfsg-3, automatic) Purge: qemu-user:amd64 (1:2.7+dfsg-3), qemu-user-binfmt:amd64 (1:2.7+dfsg-3) /var/log/dpkg.log (grep'ed for "qemu"): 2016-10-30 11:01:06 remove qemu-user-static:amd64 1:2.7+dfsg-3 <ingen> 2016-10-30 11:01:06 status half-configured qemu-user-static:amd64 1:2.7+dfsg-3 2016-10-30 11:01:06 status half-installed qemu-user-static:amd64 1:2.7+dfsg-3 2016-10-30 11:01:07 status config-files qemu-user-static:amd64 1:2.7+dfsg-3 2016-10-30 11:01:07 status config-files qemu-user-static:amd64 1:2.7+dfsg-3 2016-10-30 11:01:07 status config-files qemu-user-static:amd64 1:2.7+dfsg-3 2016-10-30 11:01:07 status not-installed qemu-user-static:amd64 <ingen> 2016-10-30 11:21:48 install qemu-user-binfmt:amd64 <ingen> 1:2.7+dfsg-3 2016-10-30 11:21:48 status half-installed qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:21:49 status unpacked qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:21:49 status unpacked qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:21:55 configure qemu-user-binfmt:amd64 1:2.7+dfsg-3 <ingen> 2016-10-30 11:21:55 status unpacked qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:21:55 status half-configured qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:22:04 configure qemu-user-binfmt:amd64 1:2.7+dfsg-3 <ingen> 2016-10-30 11:22:04 status half-configured qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:23:20 configure qemu-user-binfmt:amd64 1:2.7+dfsg-3 <ingen> 2016-10-30 11:23:20 status half-configured qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:23:28 configure qemu-user-binfmt:amd64 1:2.7+dfsg-3 <ingen> 2016-10-30 11:23:28 status half-configured qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:30:19 configure qemu-user-binfmt:amd64 1:2.7+dfsg-3 <ingen> 2016-10-30 11:30:19 status half-configured qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:30:26 configure qemu-user-binfmt:amd64 1:2.7+dfsg-3 <ingen> 2016-10-30 11:30:26 status half-configured qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:36:41 status half-configured qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:36:42 remove qemu-user-binfmt:amd64 1:2.7+dfsg-3 <ingen> 2016-10-30 11:36:42 status half-configured qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:36:42 status half-installed qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:36:42 status config-files qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:36:42 status config-files qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:36:42 status config-files qemu-user-binfmt:amd64 1:2.7+dfsg-3 2016-10-30 11:36:42 status not-installed qemu-user-binfmt:amd64 <ingen> 2016-10-30 11:36:42 status installed qemu-user:amd64 1:2.7+dfsg-3 2016-10-30 11:36:43 remove qemu-user:amd64 1:2.7+dfsg-3 <ingen> 2016-10-30 11:36:43 status half-configured qemu-user:amd64 1:2.7+dfsg-3 2016-10-30 11:36:43 status half-installed qemu-user:amd64 1:2.7+dfsg-3 2016-10-30 11:36:43 status config-files qemu-user:amd64 1:2.7+dfsg-3 2016-10-30 11:36:43 status config-files qemu-user:amd64 1:2.7+dfsg-3 2016-10-30 11:36:43 status config-files qemu-user:amd64 1:2.7+dfsg-3 2016-10-30 11:36:43 status not-installed qemu-user:amd64 <ingen> 2016-10-30 11:36:46 install qemu-user-static:amd64 <ingen> 1:2.7+dfsg-3 2016-10-30 11:36:46 status half-installed qemu-user-static:amd64 1:2.7+dfsg-3 2016-10-30 11:36:49 status unpacked qemu-user-static:amd64 1:2.7+dfsg-3 2016-10-30 11:36:49 status unpacked qemu-user-static:amd64 1:2.7+dfsg-3 2016-10-30 11:36:52 configure qemu-user-static:amd64 1:2.7+dfsg-3 <ingen> 2016-10-30 11:36:52 status unpacked qemu-user-static:amd64 1:2.7+dfsg-3 2016-10-30 11:36:52 status half-configured qemu-user-static:amd64 1:2.7+dfsg-3 2016-10-30 11:36:53 status installed qemu-user-static:amd64 1:2.7+dfsg-3 I notice now that I had previously - the day before - tried downgrade all qemu packages to 1:2.6+dfsg-3.1 (the version in testing at the time), but since that didn't solve an issue I had (segmentation fault doing proot + qemu), I reinstalled 1:2.7+dfsg-3. I have not rebooted nor logged out of my user session since before all of this. > I can add a forcible-work-around this by removing binfmt registration > of the same entries in qemu-user-binfmt if it belongs to > qemu-user-static, but the thing is that on my machine, > qemu-user-static cleans up the registration on package removal (not > even at purge time), so there's nothing left to clean up. I tried again now - installing qemu-user and qemu-user-binfmt, and removing qemu-user-static, and this time it succeeded. I'd be happy to try investigate further, if you have ideas where to look or what to try, but If neither of us can reproduce, and if you cannot get any clues from my logfiles then perhaps simply close - deeming this a glitch in the matrix. Your call! - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature