dpkg and update-manager problems

Asked by Chris Rigsby

Hi,

I've had problems over the past couple days while upgrading Ubuntu from 10.04. I attempted to incrementally upgrade Ubuntu (10.04 to 10.10 to 11.04), and as I've done so, I've accumulated several dependency problems and other errors. I will appreciate any help that you can offer.

The Software Center alerts me that I must repair the package catalog. However, when I use the repair option, I obtain the following error output:

installArchives() failed: (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 214257 files and directories currently installed.)

Preparing to replace python-apport 1.13.3-0ubuntu2 (using .../python-apport_1.20.1-0ubuntu5.1_all.deb) ...

Sorry [Errno 21] Is a directory: '/usr/lib/python2.6/dist-packages/apport/REThread.pyc'

pycentral: pycentral pkgremove: error removing the byte-code files

pycentral pkgremove: error removing the byte-code files

dpkg: warning: subprocess old pre-removal script returned error exit status 1

dpkg - trying script from the new package instead ...

Sorry [Errno 21] Is a directory: '/usr/lib/python2.6/dist-packages/apport/REThread.pyc'

pycentral: pycentral pkgremove: error removing the byte-code files

pycentral pkgremove: error removing the byte-code files

dpkg: error processing /var/cache/apt/archives/python-apport_1.20.1-0ubuntu5.1_all.deb (--unpack):

 subprocess new pre-removal script returned error exit status 1

Compiling /usr/lib/python2.6/dist-packages/apport/REThread.py ...

Sorry: TypeError: ('compile() expected string without null bytes',)

file does not exist: /usr/lib/python2.6/dist-packages/apport/crashdb.py

file does not exist: /usr/lib/python2.6/dist-packages/apport/crashdb_impl/__init__.py

file does not exist: /usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py

file does not exist: /usr/lib/python2.6/dist-packages/apport/crashdb_impl/memory.py

file does not exist: /usr/lib/python2.6/dist-packages/apport/crashdb_impl/multipartpost_handler.py

pycentral: pycentral pkginstall: error byte-compiling files (15)

pycentral pkginstall: error byte-compiling files (15)

dpkg: error while cleaning up:

 subprocess installed post-installation script returned error exit status 1

Errors were encountered while processing:

 /var/cache/apt/archives/python-apport_1.20.1-0ubuntu5.1_all.deb

dpkg: dependency problems prevent configuration of python-apport:

 python-apport depends on python (<< 2.7); however:

  Version of python on system is 2.7.1-0ubuntu5.

dpkg: error processing python-apport (--configure):

 dependency problems - leaving unconfigured

Setting up update-manager (1:0.150.5.1) ...

[Errno 21] Is a directory: '/usr/lib/python2.6/dist-packages/UpdateManager/DistUpgradeFetcher.py'

dpkg: error processing update-manager (--configure):

 subprocess installed post-installation script returned error exit status 1

dpkg: dependency problems prevent configuration of ubuntuone-client:

 ubuntuone-client depends on python-apport; however:

  Package python-apport is not configured yet.

dpkg: error processing ubuntuone-client (--configure):

 dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of update-notifier:

 update-notifier depends on update-manager-gnome | update-manager; however:

  Package update-manager-gnome is not installed.

  Package update-manager is not configured yet.

dpkg: error processing update-notifier (--configure):

 dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of ubuntu-desktop:

 ubuntu-desktop depends on update-manager; however:

  Package update-manager is not configured yet.

 ubuntu-desktop depends on update-notifier; however:

  Package update-notifier is not configured yet.

dpkg: error processing ubuntu-desktop (--configure):

 dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of libsyncdaemon-1.0-1:

 libsyncdaemon-1.0-1 depends on ubuntuone-client (>= 1.6.2-0ubuntu2); however:

  Package ubuntuone-client is not configured yet.

dpkg: error processing libsyncdaemon-1.0-1 (--configure):

 dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of libubuntuone-1.0-1:

 libubuntuone-1.0-1 depends on libsyncdaemon-1.0-1; however:

  Package libsyncdaemon-1.0-1 is not configured yet.

dpkg: error processing libubuntuone-1.0-1 (--configure):

 dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of python-ubuntuone:

 python-ubuntuone depends on libsyncdaemon-1.0-1; however:

  Package libsyncdaemon-1.0-1 is not configured yet.

 python-ubuntuone depends on libubuntuone-1.0-1 (= 0.10.0-0ubuntu1); however:

  Package libubuntuone-1.0-1 is not configured yet.

dpkg: error processing python-ubuntuone (--configure):

 dependency problems - leaving unconfigured

I tried sudo dpkg --configure -a (along with sudo apt-get -f install, sudo apt-get update, sudo apt-get upgrade) and none of the commands works. The terminal output for sudo dpkg --configure -a is below.

chris@chris-laptop:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of python-apport:
 python-apport depends on python (<< 2.7); however:
  Version of python on system is 2.7.1-0ubuntu5.
dpkg: error processing python-apport (--configure):
 dependency problems - leaving unconfigured
Setting up update-manager (1:0.150.5.1) ...
[Errno 21] Is a directory: '/usr/lib/python2.6/dist-packages/UpdateManager/DistUpgradeFetcher.py'
dpkg: error processing update-manager (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ubuntuone-client:
 ubuntuone-client depends on python-apport; however:
  Package python-apport is not configured yet.
dpkg: error processing ubuntuone-client (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-notifier:
 update-notifier depends on update-manager-gnome | update-manager; however:
  Package update-manager-gnome is not installed.
  Package update-manager is not configured yet.
dpkg: error processing update-notifier (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on update-manager; however:
  Package update-manager is not configured yet.
 ubuntu-desktop depends on update-notifier; however:
  Package update-notifier is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libsyncdaemon-1.0-1:
 libsyncdaemon-1.0-1 depends on ubuntuone-client (>= 1.6.2-0ubuntu2); however:
  Package ubuntuone-client is not configured yet.
dpkg: error processing libsyncdaemon-1.0-1 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libubuntuone-1.0-1:
 libubuntuone-1.0-1 depends on libsyncdaemon-1.0-1; however:
  Package libsyncdaemon-1.0-1 is not configured yet.
dpkg: error processing libubuntuone-1.0-1 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-ubuntuone:
 python-ubuntuone depends on libsyncdaemon-1.0-1; however:
  Package libsyncdaemon-1.0-1 is not configured yet.
 python-ubuntuone depends on libubuntuone-1.0-1 (= 0.10.0-0ubuntu1); however:
  Package libubuntuone-1.0-1 is not configured yet.
dpkg: error processing python-ubuntuone (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-apport
 update-manager
 ubuntuone-client
 update-notifier
 ubuntu-desktop
 libsyncdaemon-1.0-1
 libubuntuone-1.0-1
 python-ubuntuone

I'm not sure how to fix of the errors, so I would greatly appreciate your help and time. Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
clearkimura (clearkimura) said :
#1

@Chris Rigsby

> I tried sudo dpkg --configure -a (along with sudo apt-get -f install, sudo apt-get update, sudo apt-get upgrade) and none of the commands works.

Have you tried sudo apt-get dist-upgrade?
This may work if some new packages required to install (in which did not exist in repository for older release).
Invoking this command will also attempt to upgrade your kernel headers and image. You have been warned!

Hope this helps!

Revision history for this message
mycae (mycae) said :
#2

Hi Chris,

try removing those packages, then redo the upgrade, see if this helps

So, open a terminal and run (you can cut and paste):

sudo apt-get remove python-apport update-manager ubuntuone-client update-notifier ubuntu-desktop libsyncdaemon-1.0-1 libubuntuone-1.0-1 python-ubuntuone
sudo apt-get update; sudo apt-get install python-apport update-manager ubuntuone-client update-notifier ubuntu-desktop libsyncdaemon-1.0-1 libubuntuone-1.0-1 python-ubuntuone

Revision history for this message
Chris Rigsby (christopher-m-rigsby) said :
#3

Hi mycae,

Thanks for the response. I copied and pasted your suggestion, but I'm still having dependency problems and still getting a dpkg error.

Can you help with this problem?

Provide an answer of your own, or ask Chris Rigsby for more information if necessary.

To post a message you must log in.