Pour FreeBSD 13.0
1/ Impossible d'exécuter 'mc'.
- Erreur :
[util01@station66 ~]$ mc
common.c: unimplemented subshell type 1
read (subshell_pty...): No such file or directory (2)
[util01@station66 ~]$ mc -u
2/ Lancement de XFCE.
- Créer :
/home/util01/.xinitrc
- Ajouter :
exec xfce4-session
3/ Impossible de passer en 'root'.
- Installation de paquet 'sudo' :
# pkg install sudo
- Activation des droits d'administration pour l'utilisateur 'util01' :
# visudo
- Chercher :
root ALL=(ALL) ALL
Ajouter après :
util01 ALL=(ALL) ALL
4/ Erreur lors de la compilation d'un port : An older version of py39-setuptools is already installed
- Erreur :
root@station173:/usr/home/util01 # cd /usr/ports/devel/py-setuptools
root@station173:/usr/ports/devel/py-setuptools # make install
===> Installing for py39-setuptools-63.1.0
===> Checking if py39-setuptools is already installed
===> An older version of py39-setuptools is already installed (py39-setuptools-62.1.0_1)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of py39-setuptools
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Solution :
root@station173:/usr/ports/devel/py-setuptools # setenv FORCE_PKG_REGISTER
root@station173:/usr/ports/devel/py-setuptools # make reinstall