Results 1 to 10 of 10
Hi..
Whenever I start Synaptic package manager it shows some changes to apply and when I click apply it shows error E: /var/cache/apt/archives/mysql-server-5.1_5.1.41-3ubuntu12.3_i386.deb: subprocess new pre-removal script returned error exit ...
- 06-17-2010 #1Just Joined!
- Join Date
- Mar 2010
- Location
- Dehradun,Uttarakhand,INDIA
- Posts
- 13
problem in Synaptic package manager in UBUNTU 10.04
Hi..
Whenever I start Synaptic package manager it shows some changes to apply and when I click apply it shows error E: /var/cache/apt/archives/mysql-server-5.1_5.1.41-3ubuntu12.3_i386.deb: subprocess new pre-removal script returned error exit status 1.
And then whole application exit.
Help
- 06-18-2010 #2
Open Terminal and execute this
Post error message here, if any.Code:sudo apt-get clean all sudo apt-get update
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 06-18-2010 #3Just Joined!
- Join Date
- Mar 2010
- Location
- Dehradun,Uttarakhand,INDIA
- Posts
- 13
Code:aduait@aduait-laptop:~$ sudo apt-get clean all aduait@aduait-laptop:~$ sudo apt-get update E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. aduait@aduait-laptop:~$ sudo dpkg --configure -a dpkg: error processing mysql-server-5.1 (--configure): Package is in a very bad inconsistent state - you should reinstall it before attempting configuration. Errors were encountered while processing: mysql-server-5.1
- 06-18-2010 #4
Execute this
Code:sudo dpkg --configure -a
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 06-18-2010 #5Just Joined!
- Join Date
- Mar 2010
- Location
- Dehradun,Uttarakhand,INDIA
- Posts
- 13
Sir I have ran that command and its output was also error as you can see above in my previous reply.
- 06-18-2010 #6Just Joined!
- Join Date
- Mar 2010
- Location
- Dehradun,Uttarakhand,INDIA
- Posts
- 13
Also
Code:aduait@aduait-laptop:~$ sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: mysql-server-5.1 0 upgraded, 0 newly installed, 1 to remove and 92 not upgraded. 2 not fully installed or removed. After this operation, 15.0MB disk space will be freed. Do you want to continue [Y/n]? Y debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing mysql-server-5.1 (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Errors were encountered while processing: mysql-server-5.1 E: Sub-process /usr/bin/dpkg returned an error code (1)
- 06-18-2010 #7Just Joined!
- Join Date
- Mar 2010
- Location
- Dehradun,Uttarakhand,INDIA
- Posts
- 13
Code:aduait@aduait-laptop:~$ sudo dpkg --configure -a [sudo] password for aduait: Setting up man-db (2.5.7-2) ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing man-db (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: error processing mysql-server-5.1 (--configure): Package is in a very bad inconsistent state - you should reinstall it before attempting configuration. Errors were encountered while processing: man-db mysql-server-5.1
- 06-18-2010 #8
Check if mysql server process is running in the background. Kill/stop it and try to re-install mysql-server.
Last option is, delete its post install files. It not recommended to do that though but if nothing works, we have to do that only.
Let me know if re-install of mysql sort out problem or not.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 06-19-2010 #9Just Joined!
- Join Date
- Mar 2010
- Location
- Dehradun,Uttarakhand,INDIA
- Posts
- 13
its showing error:
Code:Reading package lists... Done Building dependency tree Reading state information... Done E: The package mysql-server-5.1 needs to be reinstalled, but I can't find an archive for it.
- 06-20-2010 #10
How did you install mysql-server-5.1? Did you install it manually or through Package Manager?
Try these commands :
Code:sudo apt-get --purge remove mysql-server sudo apt-get update sudo apt-get install mysql-server-5.1
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote