# apt-get install x11-common Reading package lists... Done Building dependency tree... Done The following NEW packages will be installed: x11-common 0 upgraded, 1 newly installed, 0 to remove and 958 not upgraded. 58 not fully installed or removed. Need to get 0B/291kB of archives. After unpacking 598kB of additional disk space will be used. Preconfiguring packages ... Selecting previously deselected package x11-common. (Reading database ... 138021 files and directories currently installed.) Unpacking x11-common (from .../x11-common_1%3a7.1.1ubuntu6_i386.deb) ... rmdir: /usr/X11R6/bin: Directory not empty dpkg: error processing /var/cache/apt/archives/x11-common_1%3a7.1.1ubuntu6_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/x11-common_1%3a7.1.1ubuntu6_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)