E: Sub-process /usr/bin/dpkg returned an error code (1)
>
En fait mon problème et son "palliatif" est expliqué là Ca dit:
Citation :
FWIW, I think this is a bug in libxft-dev. It should either put the
headers in /usr/X11R6/include/X11/Xft/ (as older versions did) or
Pre-Depend on x11-common (>= 1:1.0), which would make it uninstallable
in sid. Reassigning this bug report to libxft-dev.
You should be able to work around this by manually installing x11-common
before libxft-dev, but you'll probably lose the headers.
Oui effectivement, ça fait perdre la tête ce truc! :D
...une idée?
enfoiro
Salut,
Si tu veux qu'un paquet puisse écraser les fichiers d'un autre paquet il faut passer l'option
Code :
apt-get -o DPkg::Options="--force-overwrite"
et derriere tu rajoute -f install et ca devrait passer.
Oui... mais justement c'est ça qui marche pas :D
C'est tout cassé len'd'dans :
apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
kdelibs-bin kdelibs-data kdelibs4c2a libcupsys2 libgnutls12 liblua50 liblualib50 libopenexr2c2a superkaramba x11-common
The following packages will be REMOVED:
libcupsys2-gnutls10 libopenexr2
The following NEW packages will be installed:
kdelibs4c2a libcupsys2 libgnutls12 liblua50 liblualib50 libopenexr2c2a x11-common
The following packages will be upgraded:
kdelibs-bin kdelibs-data superkaramba
3 upgraded, 7 newly installed, 2 to remove and 191 not upgraded.
25 not fully installed or removed.
Need to get 0B/20.6MB of archives.
After unpacking 33.5MB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 58255 files and directories currently installed.)
Unpacking x11-common (from .../x11-common_6.9.0.dfsg.1-4_all.deb) ...
dpkg: error processing /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-4_all.deb (--unpack):
trying to overwrite `/usr/include/X11', which is also in package libxft-dev
Errors were encountered while processing:
/var/cache/apt/archives/x11-common_6.9.0.dfsg.1-4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
>
J'aurais bien voulu... :(
Fork Bomb
Ensuite
Citation :
dpkg-reconfigure xserver-xorg
(si jamais ton affichage foire)
dam1330
apt-get -f install
Commuto
J'ai un souci avec le paquet x11-common qui semble +/- "cassé" dans apt.
Le bug report ici On m'a conseillé de mettre le paquet "on hold" et de l'installer manuellement... mais je sais pas ce que ça implique :pt1cable: Au dela des commandes apt de base, je pars un peu en panique, craignant de casser mon précieux arbre apt :D
J'ai essayé "dpkg -i" mais ça passe pas. Du coup j'ai plus de X, et via apt je peux plus installer si retirer aucun paquet :sweat:
FYI, le message apt:
> apt-get upgrade
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:
kdelibs-bin: Depends: kdelibs4c2a (>= 4:3.5.1-1) but it is not installed
Depends: libcupsys2 (>= 1.1.23-1) but it is not installed
krusader: Depends: kdelibs4c2a (>= 4:3.5.0-2) but it is not installed
libgnomecups1.0-1: Depends: libcupsys2 (>= 1.1.23-1) but it is not installed
libgnomeprint2.2-0: Depends: libcupsys2 (>= 1.1.23-1) but it is not installed
libx11-6: Depends: x11-common (> 4.3.0) but it is not installed
superkaramba: Depends: kdelibs4c2a (>= 4:3.5.1-1) but it is not installed
Depends: xmms (>= 1.2.10+cvs20050809) but 1.2.10+cvs20050209-2 is installed
xfree86-common: Depends: x11-common but it is not installed
E: Unmet dependencies. Try using -f.
>