dpkg and update-manager problems
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-
Sorry [Errno 21] Is a directory: '/usr/lib/
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/
pycentral: pycentral pkgremove: error removing the byte-code files
pycentral pkgremove: error removing the byte-code files
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 1
Compiling /usr/lib/
Sorry: TypeError: ('compile() expected string without null bytes',)
file does not exist: /usr/lib/
file does not exist: /usr/lib/
file does not exist: /usr/lib/
file does not exist: /usr/lib/
file does not exist: /usr/lib/
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/
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/
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-
Package update-
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-
libsyncdaemon-
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-
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-
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-
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/
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-
Package update-
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-
libsyncdaemon-
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-
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-
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-
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:
Can you help with this problem?
Provide an answer of your own, or ask Chris Rigsby for more information if necessary.