usbmuxd failed to upgrade: chfn: PAM authentication failed

Bug #546492 reported by Francis J. Lacoste on 2010-03-24
This bug affects 22 people
Affects Status Importance Assigned to Milestone
usbmuxd (Ubuntu)

Bug Description

Binary package hint: update-manager

Running Kubuntu 9.10, I upgraded to 10.04 using do-release-upgrade -d and got the following errors

Errors were encountered while processing:
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
Architecture: amd64
Date: Wed Mar 24 19:06:03 2010
DistroRelease: Ubuntu 10.04
NonfreeKernelModules: wl
Package: update-manager (not installed)
 PATH=(custom, user)
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
SourcePackage: update-manager
Uname: Linux 2.6.31-20-generic x86_64

visibility: public → private
Francis J. Lacoste (flacoste) wrote :
Francis J. Lacoste (flacoste) wrote :

FWIW, the last output of the update was:

Upgrade complete

The upgrade is completed but there were errors during the upgrade

It requested I file a bug, so I did :-)

visibility: private → public
James Westby (james-w) wrote :

Setting up usbmuxd (1.0.2-1ubuntu1) ...
Adding system user `usbmux' (UID 119) ...
Adding new user `usbmux' (UID 119) with group `plugdev' ...
chfn: PAM authentication failed
adduser: `/usr/bin/chfn -f usbmux daemon usbmux' returned error code 1. Exiting.
dpkg: error processing usbmuxd (--configure):
 subprocess installed post-installation script returned error exit status 1

I don't know what would be causing that.



affects: update-manager (Ubuntu) → usbmuxd (Ubuntu)
HansM (ubuntu-hansm) wrote :

I have aslo the same problem. And also with this programms


The fglrx i can install after this Workaround:

# apt-get remove xorg-driver-fglrx fglrx fglrx-amdcccle
# dpkg-divert --remove /usr/lib/xorg/modules/extensions/
# dpkg-divert --remove /usr/lib/xorg/modules/extensions/
# apt-get install fglrx

The Workaround is from here:

HansM (ubuntu-hansm) wrote :

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

tags: added: karmic2lucid
Donovan (donovan2014) wrote :

Workaround #5 by HansM works for me too.

summary: - Error with some packages upgrade
+ usbmuxd failed to upgrade: chfn: PAM authentication failed
Changed in usbmuxd (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
dino99 (9d9) wrote :

This version is now outdated and no more supported

Changed in usbmuxd (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers