Ubuntu Release Upgrade – Circular Dependency Issue

dependenciesUbuntu

Basically the packages kbd, console-setup, console-setup-linux, and keyboard-configuration all depend on each other. So I cannot remove, configure, or purge them. When attempting to run:

dpkg --configure <package name>

it returns the error:

dpkg: dependency problems prevent configuration of

It goes on to list the specific dependencies. Upon trying to configure those, it eventually ends up back at the original package.

Am I missing something?


Edit: It appears I can configure keyboard-configuration, but it gives me this error:

user@ip:~$ sudo dpkg --configure keyboard-configuration
Setting up keyboard-configuration (1.108ubuntu5) ...
/var/lib/dpkg/info/keyboard-configuration.postinst: 1: /var/lib/dpkg/info/keyboard-configuration.postinst: udpkg: not found
/usr/bin/ckbcomp: Can not find file "symbols/en" in any known directory
dpkg: error processing package keyboard-configuration (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 keyboard-configuration

Best Answer

I had exactly the same problem after upgrading a server from 14.10 to 15.04 yesterday. I solved it with these commands:

sudo apt-get remove keyboard-configuration
sudo apt-get install keyboard-configuration
sudo apt-get update && sudo apt-get upgrade
Related Question