Package: x11-common Version: 6.9.0.dfsg.1-6 Severity: important This problem is about an upgrade, which did not work very nicely. Please close, if you are aware of the problem, otherwise either a workaround should be implemented (if you can see what the underlying problem is) or the Update guide for Etch needs to contain a note how to properly deal with this (I probably did not choose the wisest path).
I am currently upgrading from Sarge to Etch of 2006-05-19. First the most important once (apt, dpkg) and now I wanted to switch to xorg. Since I did not know where to start (blame me on this), I issued: apt-get install xfree86-common and x11-common died with: apt-listchanges: Wollen Sie fortsetzen? [J/n]? Preconfiguring packages ... Wähle vormals abgewähltes Paket lsb-base. (Lese Datenbank ... 151217 Dateien und Verzeichnisse sind derzeit installiert.) Entpacke lsb-base (aus .../lsb-base_3.1-5_all.deb) ... Vorbereiten zum Ersetzen von xfree86-common 4.3.0.dfsg.1-14sarge1 (durch .../xfree86-common_6.9.0.dfsg.1-6_all.deb) ... Entpacke Ersatz für xfree86-common ... dpkg: warning - unable to delete old directory `/etc/X11/Xsession.d': Das Verzeichnis ist nicht leer Wähle vormals abgewähltes Paket x11-common. Entpacke x11-common (aus .../x11-common_6.9.0.dfsg.1-6_all.deb) ... dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-6_all.deb (--unpack): versuche »/etc/X11/Xsession« zu überschreiben, welches auch in Paket xfree86-common ist dpkg-deb: Unterprozess paste getötet mit Signal (Datenübergabe unterbrochen (broken pipe)) Fehler traten auf beim Bearbeiten von: /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-6_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) So I see two problems: a) /etc/X11/Xsession.d is not empty, it contains: remaxp:~# ls /etc/X11/Xsession.d 20xfree86-common_process-args.x11-common-tmp 30xfree86-common_xresources.x11-common-tmp 50xfree86-common_determine-startup.x11-common-tmp 90xfree86-common_ssh-agent.x11-common-tmp 99xfree86-common_start.x11-common-tmp b) /etc/X11/Xsession is in both xfree86-common and x11-common, and upgrade failed. Issuing "apt-get -f install" the first error disappers, only the second one remains: Preconfiguring packages ... (Lese Datenbank ... 151193 Dateien und Verzeichnisse sind derzeit installiert.) Entpacke x11-common (aus .../x11-common_6.9.0.dfsg.1-6_all.deb) ... dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-6_all.deb (--unpack): versuche »/etc/X11/Xsession« zu überschreiben, welches auch in Paket xfree86-common ist dpkg-deb: Unterprozess paste getötet mit Signal (Datenübergabe unterbrochen (broken pipe)) Fehler traten auf beim Bearbeiten von: /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-6_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) "apt-get remove xfree86-common" does not proceed, as lots of dependencies would not be satisfied, and "apt-get -f install" is recommended. This, however, does not help (same as above). "apt-get install x11-common" does not help either. Trying to remove xfree86-common by dpkg or installing x11-common yields the same error. Interestingly, the file/directory "/etc/X11/Xsession" does not exist: remaxp:~# ls -d /etc/X11/X* /etc/X11/X /etc/X11/Xsession.d /etc/X11/XF86Config-4 /etc/X11/Xsession.options.x11-common-tmp /etc/X11/Xloadimage /etc/X11/Xsession.x11-common-tmp /etc/X11/Xresources /etc/X11/Xwrapper.config I try to rename the Xsession.d one: remaxp:/etc/X11# move Xsession.d Xsession.d.old »Xsession.d« -> »Xsession.d.old« Now I am rather stuck. I try "dpkg -i --force-overwrite overwrite x11-common_6.9.0.dfsg.1-6_all.deb" but it tells me that it needs lsb-base first (it would ignore the overwrite-problem), so first I install lsb-base which ends in: Richte xfree86-common ein (6.9.0.dfsg.1-6) ... (Installing xfree86-common). Now x11-common installs like a charm: remaxp:/var/cache/apt/archives# dpkg -i x11-common_6.9.0.dfsg.1-6_all.deb (Lese Datenbank ... 151236 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereiten zum Ersetzen von x11-common 6.9.0.dfsg.1-6 (durch x11-common_6.9.0.dfsg.1-6_all.deb) ... Entpacke Ersatz für x11-common ... Richte x11-common ein (6.9.0.dfsg.1-6) ... x11-common already in /etc/runlevel.conf: No change. Setting up X server socket directory /tmp/.X11-unix...done. Setting up ICE socket directory /tmp/.ICE-unix...done. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.11.deb-7-grsec Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages x11-common depends on: ii debconf [debconf-2.0] 1.4.46 Debian configuration management sy ii debianutils 2.13.1 Miscellaneous utilities specific t pn lsb-base Not found. -- Dr. Helge Kreutzmann [EMAIL PROTECTED] Dipl.-Phys. http://www.helgefjell.de/debian.php 64bit GNU powered gpg signed mail preferred Help keep free software "libre": http://www.ffii.de/
signature.asc
Description: Digital signature