Swisslinux.org

− Le carrefour GNU/Linux en Suisse −

 

Langue

 

Le Forum

Vous n'êtes pas identifié.

  • Index
  •  » Debian
  •  » [xlibmesa-gl & ATI] Erreur apt-get ugrade (Résolu)

#1 02 Mar 2005 12:00:58

fbianco
Membre du comité
Lieu: Suisse
Date d'inscription: 04 Feb 2005
Messages: 1455
Site web

[xlibmesa-gl & ATI] Erreur apt-get ugrade (Résolu)

Bonjour,

lorsque j'avais installé les drivers propriétaires de ATI, j'avais dû forcer l'écrassement de certains fichiers de "xlibmesa-gl".
Le problème arrive lors de la mise à jour de ma Debian SID : j'ai obtenu un messages d'erreur à propos de Xlibmesa-gl.

J'ai donc fait un apt-get -f install et il me répond ceci :

Code:

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Correction des dépendances... Fait
Les paquets supplémentaires suivants seront installés :
  xlibmesa-gl
Les paquets suivants seront mis à jour :
  xlibmesa-gl
1 mis à jour, 0 nouvellement installés, 0 à enlever et 33 non mis à jour.
172 partiellement installés ou enlevés.
Il est nécessaire de prendre 0o/280ko dans les archives.
Après dépaquetage, 49,2ko d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n]
(Lecture de la base de données... 87351 fichiers et répertoires déjà installés.)
Préparation du remplacement de xlibmesa-gl 4.3.0.dfsg.1-10 (en utilisant .../xlibmesa-gl_4.3.0.dfsg.1-12.0.1_i386.deb) ...
Dépaquetage de la mise à jour de xlibmesa-gl ...
dpkg : erreur de traitement de /var/cache/apt/archives/xlibmesa-gl_4.3.0.dfsg.1-12.0.1_i386.deb (--unpack) :
 tentative de remplacement de « /usr/X11R6/lib/libGL.so.1.2 », qui appartient aussi au paquet fglrx-4-3-0
dpkg-deb: sous-processus paste tué par le signal (Relais brisé (pipe))
Des erreurs ont été rencontrées pendant l'exécution :
 /var/cache/apt/archives/xlibmesa-gl_4.3.0.dfsg.1-12.0.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Est-ce qu'il y a moyen de faire comprendre à Debian qu'il ne faut pas essayer de mettre à jour ce package, car je ne peux plus rien installer désormais.


Utilisateur de Debian GNU/Linux, le système d'exploitation universel !

www : https://skadi.ch

Hors ligne

 

#2 02 Mar 2005 13:36:07

Swebian
Invité
 

Re: [xlibmesa-gl & ATI] Erreur apt-get ugrade (Résolu)

Salut,

Je te fait un immonde copier-coller du howto Debian sur APT. Il contient la solution à ton problème.

How to keep specific versions of packages installed (complex)


You may have occasion to modify something in a package and don't have time or don't want to port those changes to a new version of the program. Or, for instance, you may have just upgraded your Debian distribution to 3.0, but want to continue with the version of a certain package from Debian 2.2. You can "pin" the version you have installed so that it will not be upgraded.

Using this resource is simple. You just need to edit the file

Code:

/etc/apt/preferences

The format is simple:

   

Code:

  Package: <package>
     Pin: <pin definition>
     Pin-Priority: <pin's priority>

For example, to keep package sylpheed that I have modified to use "reply-to-list" at version 0.4.99, I add:

     

Code:

Package: sylpheed
     Pin: version 0.4.99*

Note that I used an * (asterisk). This is a "wildcard"; it say that I want that this "pin" to be valid for all versions beginning with 0.4.99. This is because Debian versions its packages with a "Debian revision" and I don't want to avoid the installation of these revisions. So, for instance, versions 0.4.99-1 and 0.4.99-10 will be installed as soon as they are made available. Note that if you modified the package you won't want to do things this way.

The pin priority helps determine whether a package matching the "Packages:" and "Pin:" lines will be installed, with higher priorities making it more likely that a matching package will be installed. You can read apt_preferences(7) for a thorough discussion of priorities, but a few examples should give the basic idea. The following describes the effect of setting the priority field to different values in the sylpheed example above.

1001 Sylpheed version 0.4.99 will never be replaced by apt. If available, apt will install version 0.4.99 even if it would replace an installed package with a higher version. Only packages of priority greater than 1000 will ever downgrade an existing package.

1000 The effect is the same as priority 1001, except that apt will refuse to downgrade an installed version to 0.4.99

990 Version 0.4.99 will be replaced only by a higher version available from a release designated as preferred using the "APT::Default-Release" variable (see How to keep a mixed system, Section 3.8, above).

500 Any version higher than 0.4.99 of sylpheed which is available from any release will take preference over version 0.4.99, but 0.4.99 will still be preferred to a lower version.

100 Higher versions of sylpheed available from any release will take preference over version 0.4.99, as will any installed higher version of slypheed; so 0.4.99 will be installed only if no version is installed already. This is the priority of installed packages.

-1 Negative priorities are allowed as well, and prevent 0.4.99 from ever being installed.

A pin can be specified on a package's version, release or origin.

Pinning on a version, as we have seen, supports literal version numbers as well as wildcards to specify several versions at one time.

Option release depends on the Release file from an APT repository or from a CD. This option may be of no use at all if you're using package repositories that don't provide this file. You may see the contents of the Release files that you have on /var/lib/apt/lists/. The parameters for a release are: a (archive), c (components), v (version), o (origin) and l (label).

An example:

   

Code:

  Package: *
     Pin: release v=2.2*,a=stable,c=main,o=Debian,l=Debian
     Pin-Priority: 1001

In this example, we chose version 2.2* of Debian (which can be 2.2r2, 2.2r3 -- this accommodates "point releases" that typically include security fixes and other very important updates), the stable repository, section main (as opposed to contrib or non-free) and origin and label Debian. Origin (osmile defines who produced that Release file, the label (lsmile defines the name of the distribution: Debian for Debian itself and Progeny for Progeny, for example. A sample Release file:

$ cat /var/lib/apt/lists/ftp.debian.org.br_debian_dists_potato_main_binary-i386_Release
     Archive: stable
     Version: 2.2r3
     Component: main
     Origin: Debian
     Label: Debian
     Architecture: i386

 

#3 02 Mar 2005 14:05:21

fbianco
Membre du comité
Lieu: Suisse
Date d'inscription: 04 Feb 2005
Messages: 1455
Site web

Re: [xlibmesa-gl & ATI] Erreur apt-get ugrade (Résolu)

Merci je vais prendre le temps de lire cela.


Utilisateur de Debian GNU/Linux, le système d'exploitation universel !

www : https://skadi.ch

Hors ligne

 
  • Index
  •  » Debian
  •  » [xlibmesa-gl & ATI] Erreur apt-get ugrade (Résolu)

Pied de page des forums

Powered by FluxBB