Ok I have it. Python is the problem. All programms, witch want a one user, have a problem. Python logt the passwd. If I kill Phyton and remove se locks i can normal install an deinstall all programms.
For examble:
# /usr/sbin/useradd -d /home/usbmux -g plugdev -s /bin/false -u 119 usbmux useradd: cannot lock /etc/passwd; try again later.
You can see that Pyhton logt the passwd:
#lsof | grep passwd python 2041 user123 10u REG 8,5 1908 4661 /etc/passwd
And with this workaround i can install all programms
# killall python # rm /etc/passwd.lock # rm /etc/shadow.lock # dpkg --configure usbmuxd
Ok I have it. Python is the problem. All programms, witch want a one user, have a problem. Python logt the passwd. If I kill Phyton and remove se locks i can normal install an deinstall all programms.
For examble:
# /usr/sbin/useradd -d /home/usbmux -g plugdev -s /bin/false -u 119 usbmux
useradd: cannot lock /etc/passwd; try again later.
You can see that Pyhton logt the passwd:
#lsof | grep passwd
python 2041 user123 10u REG 8,5 1908 4661 /etc/passwd
And with this workaround i can install all programms
# killall python
# rm /etc/passwd.lock
# rm /etc/shadow.lock
# dpkg --configure usbmuxd