LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2015, 09:10 AM   #1
raphael75
Member
 
Registered: Jul 2012
Posts: 40

Rep: Reputation: Disabled
installed mysql 5.6.25 from source, getting dpkg error


I followed the instructions here:

http://dev.mysql.com/doc/refman/5.6/...on-debian.html

to install the latest MySQL 5.6.25 on our Debian 8.1 server. Everything in MySQL works, but I get this error every time I do anything on the command line with apt-get:

Code:
Setting up mysql-community-server (5.6.25-2debian8) ...
2015-07-28 10:00:26 0 [Note] mysqld (mysqld 5.6.25) starting as process 30998 ...
dpkg: error processing package mysql-community-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 mysql-community-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
I don't know how to fix this error. It thinks MySQL is partially installed but everything in it works as far as I can tell. Any help will be greatly appreciated. Thanks!
 
Old 07-28-2015, 10:35 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Code:
sudo cp /var/lib/dpkg/status /var/lib/dpkg/status.org
sudo vi /var/lib/dpkg/status
and remove everything in the section for Package: mysql-community-server

from "Package: mysql-community-server"
to the empty line just above the next "Package: " entry.

Example using mysql-client-core-5.5:
Code:
Package: mysql-client-core-5.5
Status: install ok installed
Priority: optional
Section: database
Installed-Size: 6806
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: mysql-5.5
Version: 5.5.44-0ubuntu0.14.04.1
Replaces: mysql-client (<< 5.5.44-0ubuntu0.14.04.1), mysql-client-5.0, mysql-client-core-5.1
Depends: libc6 (>= 2.14), libreadline6 (>= 6.0), zlib1g (>= 1:1.1.4)
Breaks: mysql-client (<< 5.5.44-0ubuntu0.14.04.1), mysql-client-5.0, mysql-client-core-5.1
Description: MySQL database core client binaries
 MySQL is a fast, stable and true multi-user, multi-threaded SQL database
 server. SQL (Structured Query Language) is the most popular database query
 language in the world. The main goals of MySQL are speed, robustness and
 ease of use.
 .
 This package includes the core client files, as used by Akonadi.
Homepage: http://dev.mysql.com/
Original-Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
<empty line>
That should fix it. Works on Ubu and Mint, so why not Debian?

your apt-get actions should no longer complain.
 
1 members found this post helpful.
Old 07-28-2015, 11:12 AM   #3
raphael75
Member
 
Registered: Jul 2012
Posts: 40

Original Poster
Rep: Reputation: Disabled
I changed it from "install of half configured" to "install ok installed". That fixed it. Thank you!!
 
Old 07-28-2015, 11:20 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by raphael75 View Post
I changed it from "install of half configured" to "install ok installed". That fixed it. Thank you!!
Good job, and Well Done!

Glad it worked out!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 'dpkg--configure-a' E: dpkg was interrupted error Mountain Man 77 Linux - Newbie 8 02-21-2015 10:59 PM
dpkg: parse error, in file `/var/lib/dpkg/updates/0004 contact.aprie Linux - General 2 04-17-2012 09:01 PM
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 7 12-12-2011 02:50 AM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 4 11-22-2011 10:28 AM
Installing MYSQL Sub-process /usr/bin/dpkg returned an error code (1) dhbewis Debian 3 12-22-2009 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration