LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   error message after partial upgrade on ubuntu 10.04 (http://www.linuxquestions.org/questions/linux-software-2/error-message-after-partial-upgrade-on-ubuntu-10-04-a-814726/)

abdullah12 06-17-2010 09:15 AM

error message after partial upgrade on ubuntu 10.04
 
Hi all,

when running Synaptic manager I get this message:
Code:

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

As I run the dpkg in the terminal I get this message:

Code:

You have 1 broken package on your sytem!
Use the "Broken" filter to locate it

Returning back to the Synaptic manager And when I try to upgrade that package it will hang with the following text displayed

preconfiguring packages ...
(reading database ... 199488 files and directories currently installed.)
preparing to replace mysql-server-5.1 5.1.41-3ubuntu12.1 (using .../mysql-server-5.1_5.1.41-3ubuntu12.3_i386.deb) ...

please help

yooy 06-17-2010 10:33 AM

here is some older thread on broken packages that may help

why would you update in synaptic, maybe you should try to remove it.

abdullah12 06-17-2010 11:47 AM

Thanks yooy,

Since I did the partial upgrade no further update to my system is posseble nor any installation of any software is posseble.

And what I did basically was use search engines to try to resolve any issue I encounter by posting the error messages I got in search engines. I end up running in circle trying to resolve the problem.

If I try to install for example ftop using

sudo apt-get install ftop

It will end up to the same result hanging trying to replace mysql server

here is some code:

Code:

abdullah@virtual-desktop:~$ sudo aptitude install ftop
[sudo] password for abdullah:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Reading extended state information     
Initializing package states... Done
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

Code:

abdullah@virtual-desktop:~$ sudo dpkg --configure -a
dpkg: error processing openoffice.org-emailmerge (--configure):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting configuration.
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:
 openoffice.org-emailmerge
 mysql-server-5.1

and this if i try to install mysql

Code:

abdullah@virtual-desktop:~$ sudo aptitude install mysql
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Reading extended state information     
Initializing package states... Done
Couldn't find package "mysql", and more than 40
packages contain "mysql" in their name.
Couldn't find package "mysql", and more than 40
packages contain "mysql" in their name.
The following packages are BROKEN:
  ure
The following packages will be REMOVED:
  libaio1{u} libxml++2.6-2{u} libxvidcore4{u} qemu-common{u} seabios{u} vgabios{u}
0 packages upgraded, 0 newly installed, 6 to remove and 84 not upgraded.
Need to get 0B of archives. After unpacking 1,720kB will be freed.
The following packages have unmet dependencies:
  ure: Depends: uno-libs3 (= 1.6.0+OOo3.2.0-7ubuntu4) but 1.6.0+OOo3.2.0-7ubuntu4.1 is installed.
E: I wasn't able to locate file for the mysql-server-5.1 package. This might mean you need to manually fix this package.
The following actions will resolve these dependencies:

Upgrade the following packages:
ure [1.6.0+OOo3.2.0-7ubuntu4 (lucid, now) -> 1.6.0+OOo3.2.0-7ubuntu4.1 (lucid-updates,
lucid-security)]

Score is 120

Accept this solution? [Y/n/q/?] y
The following packages will be REMOVED:
  libaio1{u} libxml++2.6-2{u} libxvidcore4{u} qemu-common{u} seabios{u} vgabios{u}
The following packages will be upgraded:
  ure
1 packages upgraded, 0 newly installed, 6 to remove and 83 not upgraded.
Need to get 0B of archives. After unpacking 1,720kB will be freed.
Do you want to continue? [Y/n/?] y
E: I wasn't able to locate file for the mysql-server-5.1 package. This might mean you need to manually fix this package.
Writing extended state information... Done
E: I wasn't able to locate file for the mysql-server-5.1 package. This might mean you need to manually fix this package.
E: Internal error: couldn't generate list of packages to download
abdullah@virtual-desktop:~$ sudo aptitude install ftop
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Reading extended state information     
Initializing package states... Done
Couldn't find package "ftop".  However, the following
packages contain "ftop" in their name:
  iftop iftop-dbg
Couldn't find package "ftop".  However, the following
packages contain "ftop" in their name:
  iftop iftop-dbg
The following packages are BROKEN:
  ure
The following packages will be REMOVED:
  libaio1{u} libxml++2.6-2{u} libxvidcore4{u} qemu-common{u} seabios{u} vgabios{u}
0 packages upgraded, 0 newly installed, 6 to remove and 84 not upgraded.
Need to get 0B of archives. After unpacking 1,720kB will be freed.
The following packages have unmet dependencies:
  ure: Depends: uno-libs3 (= 1.6.0+OOo3.2.0-7ubuntu4) but 1.6.0+OOo3.2.0-7ubuntu4.1 is installed.
E: I wasn't able to locate file for the mysql-server-5.1 package. This might mean you need to manually fix this package.
The following actions will resolve these dependencies:

Upgrade the following packages:
ure [1.6.0+OOo3.2.0-7ubuntu4 (lucid, now) -> 1.6.0+OOo3.2.0-7ubuntu4.1 (lucid-updates,
lucid-security)]

Score is 120

Accept this solution? [Y/n/q/?] y
The following packages will be REMOVED:
  libaio1{u} libxml++2.6-2{u} libxvidcore4{u} qemu-common{u} seabios{u} vgabios{u}
The following packages will be upgraded:
  ure
1 packages upgraded, 0 newly installed, 6 to remove and 83 not upgraded.
Need to get 0B of archives. After unpacking 1,720kB will be freed.
Do you want to continue? [Y/n/?] y
E: I wasn't able to locate file for the mysql-server-5.1 package. This might mean you need to manually fix this package.
Writing extended state information... Done
E: I wasn't able to locate file for the mysql-server-5.1 package. This might mean you need to manually fix this package.
E: Internal error: couldn't generate list of packages to download
abdullah@virtual-desktop:~$ apt-get install -f
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
abdullah@virtual-desktop:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libxvidcore4 libaio1 seabios vgabios libxml++2.6-2 qemu-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  mysql-server-5.1 ure
Suggested packages:
  tinyca mailx cli-uno-bridge
The following packages will be upgraded:
  mysql-server-5.1 ure
2 upgraded, 0 newly installed, 0 to remove and 82 not upgraded.
2 not fully installed or removed.
Need to get 10.4kB/8,239kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ lucid/main openoffice.org-emailmerge 1:3.2.0-7ubuntu4 [10.4kB]
Fetched 10.4kB in 5s (1,774B/s)                   
Preconfiguring packages ...
(Reading database ... 199488 files and directories currently installed.)
Preparing to replace mysql-server-5.1 5.1.41-3ubuntu12.1 (using .../mysql-server-5.1_5.1.41-3ubuntu12.3_i386.deb) ...


abdullah12 06-17-2010 12:24 PM

apt-get is not working too
 
Thanks yooy,

Since I did the partial upgrade no further update to my system is posseble nor any installation of any software is posseble.

And what I did basically was use search engines to try to resolve any issue I encounter by posting the error messages I got in search engines. I end up running in circle trying to resolve the problem.

If I try to install for example ftop using

sudo apt-get install ftop

It will end up to the same result hanging trying to replace mysql server

here is some code:

Code:

abdullah@virtual-desktop:~$ sudo aptitude install ftop
[sudo] password for abdullah:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Reading extended state information     
Initializing package states... Done
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

Code:

abdullah@virtual-desktop:~$ sudo dpkg --configure -a
dpkg: error processing openoffice.org-emailmerge (--configure):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting configuration.
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:
 openoffice.org-emailmerge
 mysql-server-5.1

and this if i try to install mysql

Code:

abdullah@virtual-desktop:~$ sudo aptitude install mysql
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Reading extended state information     
Initializing package states... Done
Couldn't find package "mysql", and more than 40
packages contain "mysql" in their name.
Couldn't find package "mysql", and more than 40
packages contain "mysql" in their name.
The following packages are BROKEN:
  ure
The following packages will be REMOVED:
  libaio1{u} libxml++2.6-2{u} libxvidcore4{u} qemu-common{u} seabios{u} vgabios{u}
0 packages upgraded, 0 newly installed, 6 to remove and 84 not upgraded.
Need to get 0B of archives. After unpacking 1,720kB will be freed.
The following packages have unmet dependencies:
  ure: Depends: uno-libs3 (= 1.6.0+OOo3.2.0-7ubuntu4) but 1.6.0+OOo3.2.0-7ubuntu4.1 is installed.
E: I wasn't able to locate file for the mysql-server-5.1 package. This might mean you need to manually fix this package.
The following actions will resolve these dependencies:

Upgrade the following packages:
ure [1.6.0+OOo3.2.0-7ubuntu4 (lucid, now) -> 1.6.0+OOo3.2.0-7ubuntu4.1 (lucid-updates,
lucid-security)]

Score is 120

Accept this solution? [Y/n/q/?] y
The following packages will be REMOVED:
  libaio1{u} libxml++2.6-2{u} libxvidcore4{u} qemu-common{u} seabios{u} vgabios{u}
The following packages will be upgraded:
  ure
1 packages upgraded, 0 newly installed, 6 to remove and 83 not upgraded.
Need to get 0B of archives. After unpacking 1,720kB will be freed.
Do you want to continue? [Y/n/?] y
E: I wasn't able to locate file for the mysql-server-5.1 package. This might mean you need to manually fix this package.
Writing extended state information... Done
E: I wasn't able to locate file for the mysql-server-5.1 package. This might mean you need to manually fix this package.
E: Internal error: couldn't generate list of packages to download
abdullah@virtual-desktop:~$ sudo aptitude install ftop
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Reading extended state information     
Initializing package states... Done
Couldn't find package "ftop".  However, the following
packages contain "ftop" in their name:
  iftop iftop-dbg
Couldn't find package "ftop".  However, the following
packages contain "ftop" in their name:
  iftop iftop-dbg
The following packages are BROKEN:
  ure
The following packages will be REMOVED:
  libaio1{u} libxml++2.6-2{u} libxvidcore4{u} qemu-common{u} seabios{u} vgabios{u}
0 packages upgraded, 0 newly installed, 6 to remove and 84 not upgraded.
Need to get 0B of archives. After unpacking 1,720kB will be freed.
The following packages have unmet dependencies:
  ure: Depends: uno-libs3 (= 1.6.0+OOo3.2.0-7ubuntu4) but 1.6.0+OOo3.2.0-7ubuntu4.1 is installed.
E: I wasn't able to locate file for the mysql-server-5.1 package. This might mean you need to manually fix this package.
The following actions will resolve these dependencies:

Upgrade the following packages:
ure [1.6.0+OOo3.2.0-7ubuntu4 (lucid, now) -> 1.6.0+OOo3.2.0-7ubuntu4.1 (lucid-updates,
lucid-security)]

Score is 120

Accept this solution? [Y/n/q/?] y
The following packages will be REMOVED:
  libaio1{u} libxml++2.6-2{u} libxvidcore4{u} qemu-common{u} seabios{u} vgabios{u}
The following packages will be upgraded:
  ure
1 packages upgraded, 0 newly installed, 6 to remove and 83 not upgraded.
Need to get 0B of archives. After unpacking 1,720kB will be freed.
Do you want to continue? [Y/n/?] y
E: I wasn't able to locate file for the mysql-server-5.1 package. This might mean you need to manually fix this package.
Writing extended state information... Done
E: I wasn't able to locate file for the mysql-server-5.1 package. This might mean you need to manually fix this package.
E: Internal error: couldn't generate list of packages to download
abdullah@virtual-desktop:~$ apt-get install -f
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
abdullah@virtual-desktop:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libxvidcore4 libaio1 seabios vgabios libxml++2.6-2 qemu-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  mysql-server-5.1 ure
Suggested packages:
  tinyca mailx cli-uno-bridge
The following packages will be upgraded:
  mysql-server-5.1 ure
2 upgraded, 0 newly installed, 0 to remove and 82 not upgraded.
2 not fully installed or removed.
Need to get 10.4kB/8,239kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ lucid/main openoffice.org-emailmerge 1:3.2.0-7ubuntu4 [10.4kB]
Fetched 10.4kB in 5s (1,774B/s)                   
Preconfiguring packages ...
(Reading database ... 199488 files and directories currently installed.)
Preparing to replace mysql-server-5.1 5.1.41-3ubuntu12.1 (using .../mysql-server-5.1_5.1.41-3ubuntu12.3_i386.deb) ...



All times are GMT -5. The time now is 09:38 PM.