Comment 2 for bug 585945

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : Re: package libimobiledevice0 0.9.7-1ubuntu1 failed to install/upgrade: проблемы зависимостей -- оставляем не настроенным

Thanks for your report.

The relevant error is
---
Настраивается пакет usbmuxd (1.0.2-1ubuntu2) ...
Добавляется системный пользователь `usbmux' (UID 114) ...
Добавляется новый пользователь `usbmux' (UID 114) в группу `plugdev' ...
useradd: не удалось заблокировать /etc/passwd; попробуйте ещё раз позже.
adduser: `/usr/sbin/useradd -d /home/usbmux -g plugdev -s /bin/false -u 114 usbmux' вернул код ошибки 1. Завершение работы.
dpkg: не удалось обработать параметр usbmuxd (--configure):
 подпроцесс установлен сценарий post-installation возвратил код ошибки 1

This is very similar to bug 432964. Check that there's a file called /etc/gshadow.lock, and possibly /etc/shadow.lock, /etc/passwd.lock too; if that's the case, remove them (no risk), and retry. The problem might come from a crash while using the guest session: do you remember such a situation?