← Back to team overview

ubuntu-phone team mailing list archive

Re: Stuck during apt-get upgrade

 

On 24-09-15 00:12, Michi Henning wrote:
I'm seeing this on Vivid plus overlay on my desktop as well as on my Nexus 4 when using citrain device-upgrade.

During package installation, the bluez install hangs. Looking at the processes, I see

  28628 pts/1    S+     0:00 sudo apt-get upgrade
  28629 pts/1    S+    29:25 apt-get upgrade
  36342 pts/20   Ss+    0:00 /usr/bin/dpkg --status-fd 66 --unpack --auto-deconfigure /var/cache/apt/archives/bluez_4.101
  36348 pts/20   S+     0:00 /bin/sh /var/lib/dpkg/info/bluez.prerm upgrade 4.101+15.04.20150914.2-0ubuntu1
  36351 pts/20   S+     0:00 /bin/sh /usr/sbin/invoke-rc.d bluetooth stop
  36392 pts/20   S+     0:00 systemctl stop bluetooth.service
  36393 pts/20   S+     0:00 /bin/systemd-tty-ask-password-agent --watch
  36394 pts/20   Sl+    0:00 /usr/bin/pkttyagent --notify-fd 5 --fallback

Can anyone suggest a fix/work-around?

Thanks,

Michi.


On a Nexus 7, my observation was that if apt-get is stuck, I can issue a

sudo service bluetooth stop

from another terminal and that will allow the apt-get upgrade to continue. The service command doesn't terminate, but can be killed.


References