Error Processing Mysql-server -configure
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of /var/lib/dpkg/info/mysql-server-5.5.postinst: line 146: logger: command not found this site About Us Learn more about Stack Overflow the company Business Learn invoke-rc.d initscript mysql action start failed. ubuntu more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask e sub-process /usr/bin/dpkg returned an error code (1) mysql Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer dpkg error processing package mysql-server (--configure) dependency problems - leaving unconfigured The best answers are voted up and rise to the top Package error while trying to upgrade mysql-server up vote 2 down vote favorite I am trying to upgrate mysql 5.1 to version 5.5 Since official ubuntu repositories do not provide 5.5, I've decided to go with Dotdeb repository. When I've updated the package information and typed in sudo apt-get install mysql-server it removed my
Dpkg Error Processing Package Mysql Server 5.5 Configure
mysql 5.1 but does not want to install 5.5, giving this error: dpkg: error processing /var/cache/apt/archives/mysql-client-5.5_5.5.19-1~dotdeb.1_amd64.deb (--unpack): trying to overwrite '/usr/bin/mysql', which is also in package mysql-client-core-5.1 5.1.54-1ubuntu4 Do you have any ideas how I can fix this? upgrade apt mysql share|improve this question asked Feb 6 '12 at 22:19 Silver Light 555269 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote Hm, I'm partly guessing here, but it looks like Ubuntu have split some of mysql-client into a mysql-client-core package, which doesn't exist on Debian. So possibly the Dotdeb package dependencies/conflicts don't know about the mysql-client-core package and it hasn't removed it. You could try sudo apt-get remove mysql-client-core-5.1 and try again. The files that you remove with this command should be replaced by the new mysql-client you're about to install (mysql-server will depend on it and install it automatically) Obviously, tread carefully, if the command above suddenly wants to remove 200 other packages, don't do it, and report back here with more info about the results (edit your original question). share|improve this answer answered Feb 7 '12 at 15:43 Caesium 8,17222443 add a comment| Your Answer draft
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any
Mysql-server : Depends: Mysql-server-5.5 But It Is Not Going To Be Installed
questions you might have Meta Discuss the workings and policies of ubuntu install mysql this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users http://askubuntu.com/questions/102017/package-error-while-trying-to-upgrade-mysql-server and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Can't install mysql-server on 14.04 up vote 0 down vote favorite Ubuntu Server 14.04, everything on the server is fully updated. http://askubuntu.com/questions/799087/cant-install-mysql-server-on-14-04 No matter what I try, I cannot get mysql-server to install. I followed all answers to this question, and I even tried sudo apt-get purge mysql.*. Nothing works. What's going on? Error I get: Selecting previously unselected package mysql-server-core-5.5. Preparing to unpack .../mysql-server-core-5.5_5.5.49-0ubuntu0.14.04.1_amd64.deb ... Unpacking mysql-server-core-5.5 (5.5.49-0ubuntu0.14.04.1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up mysql-common (5.5.49-0ubuntu0.14.04.1) ... (Reading database ... 110435 files and directories currently installed.) Preparing to unpack .../mysql-server-5.5_5.5.49-0ubuntu0.14.04.1_amd64.deb ... You are required to change your password immediately (root enforced) chfn: PAM: Authentication token is no longer valid; new one required adduser: `/usr/bin/chfn -f MySQL Server mysql' returned error code 1. Exiting. dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.5_5.5.49-0ubuntu0.14.04.1_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/mysql-server-5.5_5.5.49-0ubuntu0.14.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) server mysql share|improve this question asked Jul 15 at 19:46 vaindil 1171313 Hmm... I wonder if at some point you created a regular user account
Bug #1435081 reported by Shevek on 2015-03-22 This bug report is a duplicate of: Bug #1421303: mysql does not import apparmor profile correctly. Edit Remove 42 This https://bugs.launchpad.net/bugs/1435081 bug affects 9 people Affects Status Importance Assigned to Milestone mysql-5.6 (Ubuntu) Edit Confirmed Undecided Unassigned Edit Also affects project (?) Also affects distribution/package Nominate for https://www.alienvault.com/forums/discussion/4952/ossim-v5-0-update series Bug Description This bug was generated by an automatic process. The real bug is here, and should be merged: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435080 ProblemType: Package DistroRelease: Ubuntu 15.04 error processing Package: mysql-server-5.6 5.6.23-1~exp1~ubuntu3 ProcVersionSignature: Ubuntu 3.19.0-9.9-generic 3.19.1 Uname: Linux 3.19.0-9-generic x86_64 ApportVersion: 2.16.2-0ubuntu4 AptOrdering: mysql-server-5.6: Remove Architecture: amd64 Date: Sun Mar 22 14:30:24 2015 DpkgTerminalLog: Removing mysql-server-5.6 (5.6.23-1~exp1~ubuntu3) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode /usr/bin/deb-systemd-helper: error: unable to link /etc/systemd/system/mysql.service to /dev/null: File exists DuplicateSignature: package:mysql-server-5.6:5.6.23-1~exp1~ubuntu3:subprocess installed post-removal dpkg error processing script returned error exit status 1 ErrorMessage: subprocess installed post-removal script returned error exit status 1 InstallationDate: Installed on 2015-03-05 (17 days ago) InstallationMedia: Xubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1) RelatedPackageVersions: dpkg 1.17.24ubuntu1 apt 1.0.9.3ubuntu1 SourcePackage: mysql-5.6 Title: package mysql-server-5.6 5.6.23-1~exp1~ubuntu3 failed to install/upgrade: subprocess installed post-removal script returned error exit status 1 UpgradeStatus: Upgraded to vivid on 2015-03-19 (3 days ago) Tags: amd64 apport-package vivid Edit Tag help Shevek (r-launchpad-anarres-org) wrote on 2015-03-22: #1 Dependencies.txt Edit (3.4 KiB, text/plain; charset="utf-8") Df.txt Edit (797 bytes, text/plain; charset="utf-8") Dmesg.txt Edit (168.9 KiB, text/plain; charset="utf-8") DpkgHistoryLog.txt Edit (126.3 KiB, text/plain; charset="utf-8") Shevek (r-launchpad-anarres-org) wrote on 2015-03-22: #2 root@raven:~# sudo apt-get purge mysql-server-5.6 mysql-server Reading package lists... Done Building dependency tree Reading state information... Done Package 'mysql-server' is not installed, so not removed The following packages will be REMOVED: mysql-server-5.6 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installe
Best Of... Unanswered Categories All Categories 5.6KGeneral 564 Getting Started 3 Intergalactic Hang Out 108 AlienVault Labs 402 Security 101 30 AlienVault USM 4.5K Deployment Architecture 845 Installation 657 Updates & Upgrades 314 Logger 157 Server / Console 630 Sensor 1.5K Reporting 141 Release Notes 54 Documentation & How-to Guides 48 Feedback & Feature Requests 46 Security Advisory 31 Plugins 37 AlienVault USM Anywhere 2 Getting Started 1 Sensors 0 Reporting 0 Plugins 0 Orchestration Rules 0 Suppression Rules 0 Security Advisory 0 Release Notes 1 Documentation & How-to Guides 0 Feedback & Feature Requests 0 OSSIM (open source) 496 Deployment Architecture 74 Installation 93 Updates & Upgrades 44 Logger / Sensor 125 Server / Console 41 Correlation Help 33 Reporting 12 Release notes 7 How-to Guides 29 Feedback & Feature Requests 31 Security Advisory 7 Installation 6 Reporting 1 Documentation & How-to Guides 4 Release notes 3 Feedback & Feature Requests 0 Security Advisory 0 Open Threat Exchange (OTX) 72 General 64 How-to Guides 5 Feedback & Feature Requests 3 New Release! AlienVault v5.3.3 is now available for OSSIM and USM. Learn more OSSIM v5.0 update CharlieC CharlieC Big Time Roles Member Joined November 2012 | Visits 643 | Last Active October 10 432 Points Message Big Time +9 Message April 2015 edited November 2015 in Updates & Upgrades I have attempted to update to v5 through command line, which resulted in a failure. After reboot and attempting ossim-reconfig I get the error:Unable to connect to OSSIM DB with config filesettings, trying old settingsattempted ossim-update -c -v and get:No packages found matching alienvault-professional.Access denied. Trying old settings...ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)attempted apt-get upgrade and get:You might want to run 'apt-get -f install' to correct these.The following packages have unmet dependencies:alienvault-dummy-database : Depends: percona-server-server-5.6 but it is not installed Depends: alienvault-mysql (>= 10:5.0.0) but 4.15.2-22 is installed or alienvault-mysql (>= 5.0.0) but 4.15