You are not logged in.

#1 2010-03-22 19:55:58

drandre
Member
Registered: 2009-04-16
Posts: 35

error on mysql update?

sudo pacman -S mysql
warning: mysql-5.1.45-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): mysql-5.1.45-1  

Total Download Size:    0.00 MB
Total Installed Size:   56.52 MB

Proceed with installation? [Y/n] 
checking package integrity...
(1/1) checking for file conflicts                   [#####################] 100%
(1/1) upgrading mysql                               [#####################] 100%
error: command failed to execute correctly

Offline

#2 2010-03-22 21:34:43

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: error on mysql update?

It is running these commands:

  getent group mysql >/dev/null 2>&1 || groupadd -g 89 mysql
  getent passwd mysql >/dev/null 2>&1 || useradd -u 89 -g mysql -d /var/lib/mysql -s /bin/false mysql
  chown -R mysql:mysql var/lib/mysql &> /dev/null

Run them manually to see which on is failing.

Offline

#3 2010-03-23 09:52:34

drandre
Member
Registered: 2009-04-16
Posts: 35

Re: error on mysql update?

No errors for the first two lines.
That last line has me curious: var/lib/mysql
No leading slash and I have no /var/lib/mysql

Offline

#4 2010-03-23 09:57:46

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: error on mysql update?

Open a bug report. The last line does not make sense; I don't have that dir either.

Offline

#5 2010-03-23 10:15:11

drandre
Member
Registered: 2009-04-16
Posts: 35

Re: error on mysql update?

Offline

#6 2010-03-23 10:19:25

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: error on mysql update?

I'm fairly sure the leading / is not necessary...   looking at other install files, there is mostly no leading slash and only a few with it.

Offline

Board footer

Powered by FluxBB