[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get update et apt-get upgrade



On 2013-03-01 16:31:41 +0100, Sylvain L. Sauvage wrote:
> Le vendredi 1 mars 2013 à 14:59:43, Vincent Lefevre a écrit :
> >[…]
> > Aussi, j'ajouterais que la résolution des conflits par
> > aptitude est parfois étrange, et il lui arrive de vouloir
> > supprimer beaucoup de paquets. Souvent apt-get s'en sort
> > mieux, donc je repasse à apt-get (install avec des paquets
> > particuliers, ou bien dist-upgrade) dans ces cas-là.
> 
>   Euh, tu as vu que tu pouvais :
> 1. choisir la solution ('e' pour voir les solutions, '.' et ','
>   pour défiler parmi celles-ci, '!' pour en appliquer une)
>   (c’est écrit en bas) ;

Mais parfois aucune des solutions n'est bonne.

Par exemple, actuellement, aptitude me dit:

iuA libv4l-0         +1,024 B  0.8.8-3                  0.8.9-1
iuA libv4lconvert0             0.8.8-3                  0.8.9-1                 

The following packages depend on version 0.8.8-3 of libv4l-0, and will be      ▒
broken if it is upgraded.                                                      ▒
                                                                               ▒
  * lib32v4l-0 depends on libv4l-0 (= 0.8.8-3)                                 ▒

[1(1)/...] Suggest 2 keeps

Avec 'e':

  --\ Keep the following packages at their current version:                     
    libv4l-0                                            [0.8.8-3 (now, testing)]
    libv4lconvert0                                      [0.8.8-3 (now, testing)]

Cela ne m'avance à rien du tout si le but est d'upgrader.

Puis '.':

  --\ Remove the following packages:                                            
    libv4lconvert0                                      [0.8.8-3 (now, testing)]
  --\ Downgrade the following packages:
    lib32v4l-0                          [0.8.8-3 now, testing -> 0.8.0-1 stable]
    libv4l-0                            [0.8.8-3 now, testing -> 0.8.0-1 stable]

Je ne veux pas de downgrade, mais un upgrade.

Puis '.':

  No more solutions.

Bref, aptitude ne propose aucune solution satisfaisante.

Avec apt-get:

# apt-get install libv4l-0 libv4lconvert0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  lib32bz2-1.0 lib32z1
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  ia32-libs lib32v4l-0
The following packages will be upgraded:
  libv4l-0 libv4lconvert0
2 upgraded, 0 newly installed, 2 to remove and 9 not upgraded.
Need to get 159 kB of archives.
After this operation, 84.1 MB disk space will be freed.
Do you want to continue [Y/n]? 

Là, c'est plus intéressant. Il se trouve que je n'ai plus besoin de
ces bibliothèques 32-bit (elles me servaient pour le programme de
flashage de mon Nokia N900, qui est maintenant en panne).

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: