[Bug 425478] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
Marking the bug invalid as the original reporter isn't able to provide the requested information anymore. @Reg Charney: You're error is: /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)' Errors were encountered while processing: /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb This is bug 153868. ** Changed in: mysql-dfsg-5.0 (Ubuntu) Status: Incomplete => Invalid -- package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/425478 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 425478] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
thanx for that man! On Sat, Oct 31, 2009 at 5:30 PM, Reg Charney wrote: > I am also suffering from this bug for a long time. The information that > was requested is below: > > 1) mysql server was running correctly and I can issue mysql command: It > returns: Server version: 5.0.75-0ubuntu10.2 (Ubuntu) > > 2) /var/log/daemon.log does not contain any mention of mysql > > 3) /var/log/kern.log does not contain any mention of mysql > > 4) The contents of /etc/apparmor.d/usr.sbin.mysqld is attached. > > 5) Result of ls -l /etc/apparmor.d/usr.sbin.mysqld* > -rw-r--r-- 1 root root 788 2009-03-30 16:18 /etc/apparmor.d/usr.sbin.mysqld > > 6) See attachment for /etc/mysql/my.cnf > > 7) Result of ls -al /etc/mysql/conf.d/ (it is empty) > total 8 > drwxr-xr-x 2 root root 4096 2008-08-15 15:35 . > drwxr-xr-x 3 root root 4096 2009-06-02 15:46 .. > > 8) Result of ls -l /var/lib/mysql > total 20568 > -rw-r--r-- 1 mysql mysql0 2009-05-15 18:57 debian-5.0.flag > drwx-- 2 mysql mysql36864 2009-10-05 11:31 entrebah > -rw-rw 1 mysql mysql 10485760 2009-10-11 01:24 ibdata1 > -rw-rw 1 mysql mysql 5242880 2009-10-22 22:04 ib_logfile0 > -rw-rw 1 mysql mysql 5242880 2008-08-15 14:16 ib_logfile1 > drwxr-xr-x 2 mysql mysql 4096 2009-05-15 18:57 mysql > drwxr-xr-x 4 root root 4096 2009-08-12 11:28 mysql.b > -rw--- 1 mysql mysql6 2009-05-02 21:21 mysql_upgrade_info > > I am adding the following > > 9) Result of ps aux|grep mysqld > > root 2845 0.0 0.0 1872 280 ?SOct22 0:00 /bin/sh > /usr/bin/mysqld_safe > mysql 4223 0.0 0.1 127936 2252 ?Sl Oct22 4:18 > /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql > --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 > --socket=/var/run/mysqld/mysqld.sock > root 4224 0.0 0.0 1792 332 ?SOct22 0:00 logger -p > daemon.err -t mysqld_safe -i -t mysqld > > 10) Result of uname -a > > Linux cdi-gateway 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 > UTC 2009 i686 GNU/Linux > > 11) The details from the "Changes Applied" details screen: > > Preconfiguring packages ... > (Reading database ... 271085 files and directories currently installed.) > Preparing to replace mysql-server-5.0 5.1.30really5.0.75-0ubuntu10 (using > .../mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb) ... > * Stopping MySQL database server mysqld >...fail! > invoke-rc.d: initscript mysql, action "stop" failed. > dpkg: warning - old pre-removal script returned error exit status 1 > dpkg - trying script from the new package instead ... > * Stopping MySQL database server mysqld >...fail! > invoke-rc.d: initscript mysql, action "stop" failed. > dpkg: error processing > /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb > (--unpack): > subprocess new pre-removal script returned error exit status 1 > * Stopping MySQL database server mysqld >...fail! > invoke-rc.d: initscript mysql, action "stop" failed. > * Starting MySQL database server mysqld > ...done. > /usr/bin/mysqladmin: connect to server at 'localhost' failed > error: 'Access denied for user 'debian-sys-maint'@'localhost' (using > password: YES)' > Errors were encountered while processing: > > > /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > A package failed to install. Trying to recover: > Setting up python-pexpect (2.3-1) ... > Could not find platform independent libraries > Could not find platform dependent libraries > Consider setting $PYTHONHOME to [:] > 'import site' failed; use -v for traceback > Traceback (most recent call last): > File "/usr/bin/py_compilefiles", line 3, in ? >import os > ImportError: No module named os > pycentral: pycentral pkginstall: error byte-compiling files (7) > pycentral pkginstall: error byte-compiling files (7) > dpkg: error processing python-pexpect (--configure): > subprocess post-installation script returned error exit status 1 > dpkg: dependency problems prevent configuration of python-smartpm: > python-smartpm depends on python-pexpect; however: > Package python-pexpect is not configured yet. > dpkg: error processing python-smartpm (--configure): > dependency problems - leaving unconfigured > dpkg: dependency problems prevent configuration of landscape-common: > landscape-common depends on python-smartpm (>= 1.2-0ubuntu1); however: > Package python-smartpm is not configured yet. > dpkg: error processing landscape-common (--configure): > dependency problems - leaving unconfigured > Errors were encountered while processing: > python-pexpect > python-smartpm > landscape-common > > 12) Besides the default repositories, I am only using: > > http://archive.canonical.com/ubuntu jaunty partner > > > ** Attachment added: "my.cnf" > http://launchpadlibrarian.net/34807754/my.cnf > > -- > package mysql-server-5.0 5.1
[Bug 425478] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
I am also suffering from this bug for a long time. The information that was requested is below: 1) mysql server was running correctly and I can issue mysql command: It returns: Server version: 5.0.75-0ubuntu10.2 (Ubuntu) 2) /var/log/daemon.log does not contain any mention of mysql 3) /var/log/kern.log does not contain any mention of mysql 4) The contents of /etc/apparmor.d/usr.sbin.mysqld is attached. 5) Result of ls -l /etc/apparmor.d/usr.sbin.mysqld* -rw-r--r-- 1 root root 788 2009-03-30 16:18 /etc/apparmor.d/usr.sbin.mysqld 6) See attachment for /etc/mysql/my.cnf 7) Result of ls -al /etc/mysql/conf.d/ (it is empty) total 8 drwxr-xr-x 2 root root 4096 2008-08-15 15:35 . drwxr-xr-x 3 root root 4096 2009-06-02 15:46 .. 8) Result of ls -l /var/lib/mysql total 20568 -rw-r--r-- 1 mysql mysql0 2009-05-15 18:57 debian-5.0.flag drwx-- 2 mysql mysql36864 2009-10-05 11:31 entrebah -rw-rw 1 mysql mysql 10485760 2009-10-11 01:24 ibdata1 -rw-rw 1 mysql mysql 5242880 2009-10-22 22:04 ib_logfile0 -rw-rw 1 mysql mysql 5242880 2008-08-15 14:16 ib_logfile1 drwxr-xr-x 2 mysql mysql 4096 2009-05-15 18:57 mysql drwxr-xr-x 4 root root 4096 2009-08-12 11:28 mysql.b -rw--- 1 mysql mysql6 2009-05-02 21:21 mysql_upgrade_info I am adding the following 9) Result of ps aux|grep mysqld root 2845 0.0 0.0 1872 280 ?SOct22 0:00 /bin/sh /usr/bin/mysqld_safe mysql 4223 0.0 0.1 127936 2252 ?Sl Oct22 4:18 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock root 4224 0.0 0.0 1792 332 ?SOct22 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld 10) Result of uname -a Linux cdi-gateway 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009 i686 GNU/Linux 11) The details from the "Changes Applied" details screen: Preconfiguring packages ... (Reading database ... 271085 files and directories currently installed.) Preparing to replace mysql-server-5.0 5.1.30really5.0.75-0ubuntu10 (using .../mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb) ... * Stopping MySQL database server mysqld ...fail! invoke-rc.d: initscript mysql, action "stop" failed. dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... * Stopping MySQL database server mysqld ...fail! invoke-rc.d: initscript mysql, action "stop" failed. dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb (--unpack): subprocess new pre-removal script returned error exit status 1 * Stopping MySQL database server mysqld ...fail! invoke-rc.d: initscript mysql, action "stop" failed. * Starting MySQL database server mysqld ...done. /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)' Errors were encountered while processing: /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up python-pexpect (2.3-1) ... Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] 'import site' failed; use -v for traceback Traceback (most recent call last): File "/usr/bin/py_compilefiles", line 3, in ? import os ImportError: No module named os pycentral: pycentral pkginstall: error byte-compiling files (7) pycentral pkginstall: error byte-compiling files (7) dpkg: error processing python-pexpect (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of python-smartpm: python-smartpm depends on python-pexpect; however: Package python-pexpect is not configured yet. dpkg: error processing python-smartpm (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of landscape-common: landscape-common depends on python-smartpm (>= 1.2-0ubuntu1); however: Package python-smartpm is not configured yet. dpkg: error processing landscape-common (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python-pexpect python-smartpm landscape-common 12) Besides the default repositories, I am only using: http://archive.canonical.com/ubuntu jaunty partner ** Attachment added: "my.cnf" http://launchpadlibrarian.net/34807754/my.cnf -- package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/425478 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.0 in ubu
Re: [Bug 425478] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
sory i haven't replied back. unfortunatly i did a fresh install like a month ago so i cannot provide any information regarding this bug. what i do know in fact is that to try to install php, apache and mysql, and i followed the steps on this website http://www.vensign.com/linux/instalar-un-servidor-lamp-en-ubuntulinux/ it's in spanish, but the steps are showed as commands for the shell, so that shouldnt be a problem. sory for the vague information, but i remember setting up a password at some point and apparently i wasn't suppossed to. On Thu, Oct 29, 2009 at 3:29 PM, Chuck Short wrote: > We'd like to figure out what's causing this bug for you, but we haven't > heard back from you in a while. Could you please provide the requested > information? Thanks! > > -- > package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to > install/upgrade: subprocess pre-removal script returned error exit status 1 > https://bugs.launchpad.net/bugs/425478 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in “mysql-dfsg-5.0” package in Ubuntu: Incomplete > > Bug description: > not sure > > ProblemType: Package > Architecture: amd64 > DistroRelease: Ubuntu 9.04 > ErrorMessage: subprocess pre-removal script returned error exit status 1 > NonfreeKernelModules: fglrx > Package: mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 > SourcePackage: mysql-dfsg-5.0 > Title: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to > install/upgrade: subprocess pre-removal script returned error exit status 1 > Uname: Linux 2.6.28-15-generic x86_64 > -- package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/425478 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 425478] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks! -- package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/425478 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 425478] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
I tried to reproduce this in Jaunty and Karmic(installing then uninstall mysqls-server-5.0 package) up to date and works fine for me. Could you clean up repositories and update your sources (then install mysql). Regards -- package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/425478 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 425478] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
Thank you for taking the time to report this bug and helping to make Ubuntu better. Relevant error messages: Removing mysql-server-5.0 ... * Stopping MySQL database server mysqld [80G [74G[[31mfail[39;49m] invoke-rc.d: initscript mysql, action "stop" failed. dpkg: error processing mysql-server-5.0 (--remove): subprocess pre-removal script returned error exit status 1 Was the mysql server running correclty before the upgrade started? Could you please provide the following information: * content of /var/log/daemon.log related to mysql processes: /var/log/daemon.log * apparmor audit messages related to mysqld: /var/log/kern.log * mysqld apparmor profile: /etc/apparmor.d/usr.sbin.mysqld * list of mysqld apparmor profiles: ls -l /etc/apparmor.d/usr.sbin.mysqld* * mysql configuration stripped of private information (such as password): /etc/mysql/my.cnf * extra mysql configuration from the conf.d directory: /etc/mysql/conf.d/ * directory listing of mysql datadir (by default /var/lib/mysql): ls -l /var/lib/mysql ** Changed in: mysql-dfsg-5.0 (Ubuntu) Status: New => Incomplete ** Changed in: mysql-dfsg-5.0 (Ubuntu) Importance: Undecided => Medium -- package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/425478 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 425478] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/31406324/Dependencies.txt ** Attachment added: "DpkgTerminalLog.gz" http://launchpadlibrarian.net/31406325/DpkgTerminalLog.gz -- package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess pre-removal script returned error exit status 1 https://bugs.launchpad.net/bugs/425478 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs