Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
installfreebsd [2019/05/16 21:38] – [core générés par les applications] cyrille | installfreebsd [2019/06/05 13:54] – [Installer la dernière version des paquets de pkg] cyrille | ||
---|---|---|---|
Ligne 1036: | Ligne 1036: | ||
ulimit -c 0 dans **.bash_profile** | ulimit -c 0 dans **.bash_profile** | ||
- | ===== Patch de mise à jour ===== | + | ===== Gestion des paquets PKG ===== |
+ | ==== Gestion des mises à jour (PKG) ==== | ||
+ | Récupérer la liste des mises à jour | ||
+ | <code bash># pkg update</ | ||
- | [ragnarok@asgard-freeBSD: | ||
- | 12.0-RELEASE | ||
- | root@asgard-freeBSD: | + | La déployer |
- | 12.0-RELEASE | + | <code bash># pkg upgrade</ |
- | root@asgard-freeBSD: | ||
- | 12.0-RELEASE | ||
+ | ==== Geler / dégeler un paquet ==== | ||
+ | | ||
+ | <code bash># pkg | ||
+ | Geler un paquet === | ||
+ | <code bash># pkg lock -y LePaquet</ | ||
+ | Dégeler un paquet | ||
+ | <code bash># pkg unlock LePaquet</ | ||
+ | ==== Installer la dernière version des paquets de pkg ==== | ||
+ | Créer ce dossier | ||
+ | <code bash> | ||
- | root@asgard-freeBSD: | + | et ce fichier |
+ | <code bash>cat / | ||
+ | FreeBSD: { | ||
+ | url: " | ||
+ | }</ | ||
+ | |||
+ | Recharger la base de données des paquets | ||
+ | <code bash> pkg upgrade -f</ | ||
+ | |||
+ | Mettre à jour | ||
+ | === Vérfier quel dépôt est utilisé=== | ||
+ | <code bash>pkg -vv</ | ||
+ | === Informations sur pkg=== | ||
+ | <code bash>pkg info pkg</ | ||
+ | ===== Patchs de sécurité ===== | ||
+ | <code bash> | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | These are hardcoded into freebsd-version during the build.</ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <code bash>root@asgard-freeBSD: | ||
src component not installed, skipped | src component not installed, skipped | ||
Looking up update.FreeBSD.org mirrors... 3 mirrors found. | Looking up update.FreeBSD.org mirrors... 3 mirrors found. | ||
Ligne 1060: | Ligne 1100: | ||
Inspecting system... done. | Inspecting system... done. | ||
Preparing to download files... done. | Preparing to download files... done. | ||
+ | </ | ||
- | + | <code bash>root@asgard-freeBSD: | |
- | root@asgard-freeBSD: | + | |
src component not installed, skipped | src component not installed, skipped | ||
- | Installing updates... done. | + | Installing updates... done.</ |
+ | <code bash> | ||
root@asgard-freeBSD: | root@asgard-freeBSD: | ||
- | FreeBSD asgard-freeBSD 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC | + | FreeBSD asgard-freeBSD 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC |
- | root@asgard-freeBSD: | + | <code bash>root@asgard-freeBSD: |
- | 12.0-RELEASE-p5 | + | 12.0-RELEASE-p5</ |
- | root@asgard-freeBSD: | + | <code bash>root@asgard-freeBSD: |
- | 12.0-RELEASE-p4 | + | 12.0-RELEASE-p4</ |
- | + | ||