[Bug 501096] Re: package mysql-server-5.1 (not installed) failed to install/upgrade: useradd: cannot lock /etc/passwd; try again later.

2010-01-12 Thread Jean-Baptiste Lallement
Thanks for following up. I'm closing this report due to your last comment regarding you've fixed it with the suggested workaround. Don't hesitate to submit any new bug. ** Changed in: shadow (Ubuntu) Status: Incomplete = Invalid -- package mysql-server-5.1 (not installed) failed to

[Bug 501096] Re: package mysql-server-5.1 (not installed) failed to install/upgrade: useradd: cannot lock /etc/passwd; try again later.

2010-01-01 Thread andrei
Thank you for the quick response and help; I found /etc/shadow.lock and /etc/passwd.lock and deleted them; after that i could install mysql server using synaptics without poblems; I did not use guest session(i never use it, and only i use this computer). -- package mysql-server-5.1 (not

Re: [Bug 501096] Re: package mysql-server-5.1 (not installed) failed to install/upgrade: useradd: cannot lock /etc/passwd; try again later.

2010-01-01 Thread andrei
Hello, Thank you for the quick response and help; I found /etc/shadow.lock and /etc/passwd.lock and deleted them; after that i could install mysql server using synaptics without poblems; I did not use guest session(i never use it, and only i use this computer). On Tue, Dec 29,

[Bug 501096] Re: package mysql-server-5.1 (not installed) failed to install/upgrade: useradd: cannot lock /etc/passwd; try again later.

2010-01-01 Thread andrei
sorry i wrote same thing 2 times; i did not know that responding the email and using the launchpad form to respond would have the same efect. -- package mysql-server-5.1 (not installed) failed to install/upgrade: useradd: cannot lock /etc/passwd; try again later.

[Bug 501096] Re: package mysql-server-5.1 (not installed) failed to install/upgrade: useradd: cannot lock /etc/passwd; try again later.

2009-12-28 Thread Jean-Baptiste Lallement
Thanks for your report. The relevant error is = Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.37-1ubuntu5_i386.deb) ... useradd: cannot lock /etc/passwd; try again later. adduser: `/usr/sbin/useradd -d /var/lib/mysql -g mysql -s /bin/false -u 115 mysql' returned error code 1.

[Bug 501096] Re: package mysql-server-5.1 (not installed) failed to install/upgrade: useradd: cannot lock /etc/passwd; try again later.

2009-12-28 Thread Jean-Baptiste Lallement
Thanks for your report. The relevant error is = Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.37-1ubuntu5_i386.deb) ... useradd: cannot lock /etc/passwd; try again later. adduser: `/usr/sbin/useradd -d /var/lib/mysql -g mysql -s /bin/false -u 115 mysql' returned error code 1.

[Bug 501096] Re: package mysql-server-5.1 (not installed) failed to install/upgrade: useradd: cannot lock /etc/passwd; try again later.

2009-12-28 Thread Jean-Baptiste Lallement
Thanks for your report. 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