Le Dimanche 14 Septembre 2003 20:47, d�d� le homard a �crit :
> bonjour tout le monde,

Bonjour,

> il y a quelques temps, sur la liste , a �t� diffus�e une commande qui
> permettait de r�installer tous les paquetages d'un syst�me.
>
> dans le but de 'r�parer' des paquets abim�s lors d'un reset accidentel,
> j'ai test� cette commande:
>
> dpkg --get-selections | egrep "[[:space:]](install|hold)" | cut -f 1 |
> xargs sudo apt-get --reinstall install
>
> cela fonctionne jusqu'� ce que le syst�me dise:
>
> 0 upgraded,0 newly installed, 238 reinstalled, 0 to remove and 0 not
> upgraded need to get  168mb/170mb of archives.after unpacking 0 will be
> used do you want to continue ?[y/n] ABORT
>  ET C'EST L� QU'EST LE PROBL�ME, � CHAQUE FOIS IL  'ABORT' au lieu de tout
> installer.

apt-get install -y

"-y" permet de r�pondre "yes" aux questions.

-- 
Michel Grentzinger
        OpenPGP key ID : B2BAFAFA
                Available on http://www.keyserver.net

Répondre à