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:44] – [Gestion des paquets gelés] cyrille | ||
---|---|---|---|
Ligne 1036: | Ligne 1036: | ||
ulimit -c 0 dans **.bash_profile** | ulimit -c 0 dans **.bash_profile** | ||
- | ===== Patch de mise à jour ===== | + | ===== Mises à jour ===== |
+ | Récupérer la liste des mises à jour | ||
+ | <code bash># pkg update</ | ||
+ | La déployer | ||
+ | <code bash># pkg upgrade</ | ||
- | [ragnarok@asgard-freeBSD: | ||
- | 12.0-RELEASE | ||
- | root@asgard-freeBSD: | + | ==== Gestion des paquets gelés ==== |
- | 12.0-RELEASE | + | ===Lister les paquets gelés=== |
+ | <code bash># pkg lock -l</ | ||
+ | ===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=== | ||
- | root@asgard-freeBSD: | + | Créer ce dossier |
- | 12.0-RELEASE | + | <code bash> |
+ | et ce fichier | ||
+ | <code bash>cat / | ||
+ | FreeBSD: { | ||
+ | url: " | ||
+ | }</ | ||
+ | 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> | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
- | root@asgard-freeBSD: | + | |
+ | | ||
+ | |||
+ | | ||
+ | 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 1094: | ||
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</ |
- | + | ||