Forum Linux.debian/ubuntu Equivalent rpm --no-deps --force pour apt-get

Posté par  (site web personnel) .
Étiquettes :
0
27
juin
2004
Salut, j'essayais d'installer fglrx sur ma debian testing et j'ai tout qui foire. Maintenant meme apt-get est pete.

Est-ce que quelqu'un sait ce qu'il faut faire qd on a ca:

$ sudo apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
xlibmesa-gl
Suggested packages:
libglide3
The following packages will be upgraded:
xlibmesa-gl
1 upgraded, 0 newly installed, 0 to remove and 76 not upgraded.
3 not fully installed or removed.
Need to get 0B/253kB of archives.
After unpacking 4096B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 132556 files and directories currently installed.)
Preparing to replace xlibmesa-gl 4.3.0.dfsg.1-1 (using .../xlibmesa-gl_4.3.0.dfsg.1-4_i386.deb) ...
Unpacking replacement xlibmesa-gl ...
dpkg: error processing /var/cache/apt/archives/xlibmesa-gl_4.3.0.dfsg.1-4_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/lib/libGL.so.1.2', which is also in package fglrx
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/xlibmesa-gl_4.3.0.dfsg.1-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Entre parenthese le fichier /usr/X11R6/lib/libGL.so.1.2 n'existe pas, et je ne peux pas enlever fglrx:

$ sudo apt-get -f remove fglrx
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:
xlibmesa-gl-dev: Depends: xlibmesa-gl (= 4.3.0.dfsg.1-4) but 4.3.0.dfsg.1-1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Merci infiniment
La transition redhat vers debian est + dure que je ne pensais...

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.