Freebsd : mise à jour

Freebsd : mise à jour - Logiciels - Linux et OS Alternatifs

Marsh Posté le 31-07-2003 à 15:10:59    

Salut!
 
Je voudrais mettre mes applis à jour sous freebsd avec le systeme de ports.
 
J'ai updaté les ports avec cvsup, pas de problème.
 
Mais maintenant comment mettre les applis à jour? suis je obligé de  make deinstall et après make reinstall à partir du nouveau port? Il n'existe pas de commande de mise à jour ?
 
Merci d'avance!
 
CHaiCA

Reply

Marsh Posté le 31-07-2003 à 15:10:59   

Reply

Marsh Posté le 31-07-2003 à 16:08:29    

CHtit up! :bounce:
 
CHaiCA

Reply

Marsh Posté le 31-07-2003 à 18:17:59    

Installe le port sysutils/portupgrade
 
puis tu fais : portupgrade -ra  (et il te propose les mises à jour que tu dois accepter ou non)
portupgrade -rai et il compile et installe tout ce qui peut être mis à jour.
 
man portupgrade

Reply

Marsh Posté le 31-07-2003 à 19:08:47    

la doc c'est magique quand on la lit  :pfff:  
 
http://www.freebsd.org/doc/en_US.I [...] using.html
 
 

Citation :


 
4.5.5 Upgrading Ports
 
Keeping your ports up to date can be a tedious job. For instance, to upgrade a port you would go to the ports directory, build the port, deinstall the old port, install the new port, and then clean up after the build. Imagine doing that for five ports, tedious right? This was a large problem for system administrators to deal with, and now we have utilities which do this for us. For instance the sysutils/portupgrade utility will do everything for you! Just install it like you would any other port, using the make install clean command.
 
Now create a database with the pkgdb -F command. This will read the list of installed ports and create a database file in the /var/db/pkg directory. Now when you run portupgrade -a, it will read this and the ports INDEX file. Finally, portupgrade will begin to download, build, backup, install, and clean the ports which have been updated. Other utilities exist which will do this, check out the ports/sysutils directory and see what you come up with.

 
 
Et quel est l'intérêt de mettre en signature ton pseudo ? pour savoir qui à écrit le post ?

Reply

Marsh Posté le 01-08-2003 à 10:02:16    

Ok merci je vais checker ca.
 
CHaiCA

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed