Re: Bug#771971: dpkg hangs installing "init" during upgrade from wheezy to jessie
Control: tags -1 moreinfo
On Thu, 4 Dec 2014 00:56:48 +0000 Steve McIntyre <steve@einval.com> wrote:
> This is reproducible on demand \o/
>
> I realised that the VM image had a few unneeded packages, so I did
>
> # apt-get remove --purge x11-common libx11-6 libx11-data
>
> then
>
> # apt-get update
> # apt-get dist-upgrade
>
> and got the same result as my first run.
>
> On a *second* run I did not do that purge up-front and the upgrade did
> *not* block in the same way.
>
> --
> Steve McIntyre, Cambridge, UK. steve@einval.com
> "I've only once written 'SQL is my bitch' in a comment. But that code
> is in use on a military site..." -- Simon Booth
>
Hi,
Thanks for reporting this.
Just to confirm, is this correctly understood?
* If you purge "x11-common libx11-6 libx11-data" before upgrading, the
upgrade hangs.
* If you keep "x11-common libx11-6 libx11-data" as-is, the upgrade
succeeds.
What state are the above packages before the upgrade?
Can you try to reproduce this again and attach strace or/and gdb to the
dpkg process when it hangs to figure out what it does/where it is stuck.
Based on Dominik's remark (100% cpu usage) in comment #15, I suspect
it is in an infinite loop. Though I would appreciate it, if we can
confirm or disprove that.
Thanks,
~Niels
Reply to: