On 6/7/06, Liam O'Toole <liam.p.otoole@gmail.com> wrote:
On Wed, 7 Jun 2006 00:32:40 -0400 "Henk Boom" <lcpublic@gmail.com> wrote: > 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? > [SNIP] After successfully upgrading xorg on my etch system, /usr/include/X11 is a directory rather than a symbolic link. Try creating the directory and repeating the upgrade attempt. -- Liam
After making this directory, I get a different error: ========================================= 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. Unpacking replacement x11-common ... dpkg: error processing /var/cache/apt/archives/x11-common_1%3a7.0.20_i386.deb (--unpack): trying to overwrite `/usr/X11R6/bin', which is also in package opera x11-common postinst warning: /usr/include/X11 is not a symbolic link Analyzing /usr/include/X11: drwxr-xr-x 16 root root 4096 2006-05-09 18:03 /usr drwxr-xr-x 125 root root 12288 2006-06-07 14:28 /usr/include drwxr-xr-x 2 root root 4096 2006-06-07 14:28 /usr/include/X11 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 is not a symbolic link Analyzing /usr/include/X11: drwxr-xr-x 16 root root 4096 2006-05-09 18:03 /usr drwxr-xr-x 125 root root 12288 2006-06-07 14:28 /usr/include drwxr-xr-x 2 root root 4096 2006-06-07 14:28 /usr/include/X11 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. ========================================= I do have opera installed from a custom package, but I have moves /usr/X11R6/bin to another location. I can't simply uninstall opera because aptitude tries to install x11-common first, then fails. It also seems really to want /usr/include/X11 to be a symbolic link =(.