[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Caught half-way through xorg 7 upgrade, errors in installation of x11-common



I've been trying to upgrade to xorg 7 for a few days now, and have
managed to get just far enough through that the old X won't work
anymore, but not far enough that the new one will =(.

Everything is hinging on the upgrade of x11-common, which I've heard
is the hardest part of this upgrade. The issue is that the
post-install of x11-common fails in a way which I do not know how to
fix. After moving /usr/X11R6/bin to oldbin to get around the first
error message, I get something odd concerning the presence (or lack)
of the symlink /usr/include/X11. This is not present on my system, and
I do not know where it should point to. I also don't know why this
should block the install of x11-common.

My father has succeeded in getting around this problem by completely
uninstalling x11-common (and about 80 packages that depended on it),
and then re-installing it. However, this is not practical in my case
because I have many more relevant packages installed, and this would
involved uninstalling most of my system. What can I do to successfully
upgrade my system?

===============================
Aptitude output:

Extracting templates from packages: 100%
Preconfiguring packages ...
xserver-xorg config warning: Migrating xserver-xfree86 debconf values to
  xserver-xorg.
(Reading database ... 246752 files and directories currently installed.)
Preparing to replace x11-common 6.9.0.dfsg.1-6 (using
.../x11-common_1%3a7.0.20_i386.deb) ...
Document `debian-x-faq' is not installed, cannot remove.
dpkg: error processing
/var/cache/apt/archives/x11-common_1%3a7.0.20_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
x11-common postinst warning: /usr/include/X11 symbolic link does not exist
Analyzing /usr/include/X11:
drwxr-xr-x 16 root root 4096 2006-05-09 18:03 /usr
drwxr-xr-x 124 root root 12288 2006-06-07 00:10 /usr/include
/usr/include/X11: nonexistent; directory contents of /usr/include/:
total 3844
-rw-r--r--  1 root root  34085 2005-12-18 17:07 aalib.h
[snipped complete directory listing]
-rw-r--r--  1 root root  66415 2006-03-06 17:19 zlib.h
Searching for overlapping packages...
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/x11-common_1%3a7.0.20_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up x11-common (6.9.0.dfsg.1-6) ...
x11-common postinst warning: /usr/include/X11 symbolic link does not exist
Analyzing /usr/include/X11:
drwxr-xr-x 16 root root 4096 2006-05-09 18:03 /usr
drwxr-xr-x 124 root root 12288 2006-06-07 00:10 /usr/include
/usr/include/X11: nonexistent; directory contents of /usr/include/:
total 3844
-rw-r--r--  1 root root  34085 2005-12-18 17:07 aalib.h
[snipped complete directory listing]
-rw-r--r--  1 root root  66415 2006-03-06 17:19 zlib.h
Searching for overlapping packages...
dpkg: error processing x11-common (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
x11-common
Press return to continue.



Reply to: