Ubuntu

usbmuxd failed to upgrade: chfn: PAM authentication failed

Reported by Francis J. Lacoste on 2010-03-24
284
This bug affects 22 people
Affects Status Importance Assigned to Milestone
usbmuxd (Ubuntu)
Medium
Unassigned

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:
 usbmuxd
 libimobiledevice0
 libgpod4
 amarok
 python-gpod
 kipi-plugins
 libgpod-common
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)
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
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
process.

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.

Thanks,

James

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

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

 fglrx
 festival
 festlex-cmu
 festlex-poslex
 usbmuxd
 libimobiledevice0
 gvfs-backends
 libgpod4
 libgpod-common
 rhythmbox-plugins
 rtkit
 festvox-kallpc16k
 rhythmbox-ubuntuone-music-store

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/libdri.so
# dpkg-divert --remove /usr/lib/xorg/modules/extensions/libglx.so
# apt-get install fglrx

The Workaround is from here: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/546917

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
BArrYZ (barryz) 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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers