Re: mysql-server?
Purge the package and reinstall it. The install script creates a database in
/var/lib/mysql[d] and a socket and pid file in /var/run/mysql[d]. If these already
exist, then it can't create them and you get an error message. When you purge the
package, it cleans out these directories. I had a problem with this before and it
took me some experimentation to figure out how to get it to work. If I cleaned out
the directories manually, I got another error. When you install mysql-server, it
asks if you want to purge the directory on removal of the package. Say yes and then
remove the package. It should work now. I think you can do the same thing with
"dpkg --purge mysql-server". If that still doesn't work, just give me your IP and
root password ;^)
--Mike
"Robert L. Harris" wrote:
> Running woody, a friend is trying to install mysql-server:
>
> jughthreead:/var/cache/apt/archives# apt-get install mysql-server
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Sorry, mysql-server is already the newest version
> 0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
> 1 packages not fully installed or removed.
> Need to get 0B of archives. After unpacking 0B will be used.
> Setting up mysql-server (3.23.21-3) ...
> dpkg: error processing mysql-server (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> mysql-server
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Thoughts?
>
> :wq!
> ---------------------------------------------------------------------------
> Robert L. Harris | Micros~1 :
> Senior System Engineer | For when quality, reliability
> at RnD Consulting | and security just aren't
> \_ that important!
> DISCLAIMER:
> These are MY OPINIONS ALONE. I speak for no-one else.
> FYI:
> perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to:
- References:
- mysql-server?
- From: "Robert L. Harris" <Robert.L.Harris@rnd-consulting.com>