Kein Upgrade möglich

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
muenchi
Posts: 62
Joined: 2006-08-11 03:15
 

Kein Upgrade möglich

Post by muenchi »

Wollte eben mein Testrechner aktualisieren, aber kriege immer diese Fehler:
Get:7 http://ftp.at.debian.org stable/main ntpdate 1:4.2.2.p4+dfsg-2 [57.7kB]
Fetched 467kB in 15s (29.4kB/s)
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 35586 files and directories currently installed.)
Unpacking x11-common (from .../x11-common_1%3a7.1.0-19_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/x11-common_1%3a7.1.0-19_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/bin', which is also in package xtdesktop
Errors were encountered while processing:
/var/cache/apt/archives/x11-common_1%3a7.1.0-19_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Wenn ich jetzt nur PHP5 installieren will, gibts diese Meldung:
localhost:~# apt-get install php5
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libdps1: Depends: xfree86-common but it is not installable
libfontenc1: Depends: x11-common but it is not going to be installed
libice6: Depends: x11-common but it is not going to be installed
libsm6: Depends: x11-common but it is not going to be installed
...

Was muss ich machen damit das wieder läuft? und was hat es mit xfree86-common auf sich?
floogy
Posts: 150
Joined: 2007-10-23 22:00
 

Re: Kein Upgrade möglich

Post by floogy »

Willst Du wirklich auf einem Server das X-Windowssystem installieren?

Außerdem scheint es xtdesktop nicht zu geben (etch), unter ubuntu (gutsy) konnte ich es auch nicht finden.
Hier werde ich auch nicht fündig: http://packages.debian.org
http://garuda.newmail.ru/xtdesk_e.dhtml ??
http://freshmeat.net/projects/xtdesk/ ??

Daher solltest Du es vielleicht erst mal loswerden:

Code: Select all

dpkg  --dry-run -P xtdesktop
Wenn keine schlimmen Vorgänge angekündigt werden kannst Du den Vorgang ohne Simulation (option --dry-run) wirklich ausführen.

Code: Select all

man dpkg
Danach ein apt-get -f install oder dpkg --configure -a:

Code: Select all

       dpkg --configure package ... | -a | --pending
              Reconfigure an unpacked package. If -a or --pending is given instead of package, all unpacked but  unconfigured  packages  are
              configured.
[...]
--purge removes everything, including configuration files.
Siehe auch:
http://www.debianhelp.org/node/10618
muenchi
Posts: 62
Joined: 2006-08-11 03:15
 

Re: Kein Upgrade möglich

Post by muenchi »

cool, danke :)
An dem "xtdesktop" scheints zu liegen. Jetzt rüttelt die Kiste und installiert die ganzen Updates :)