Tipy k FreeBSD

Z DCEwiki
Skočit na navigaci Skočit na vyhledávání

Balíček zlobí

  • pkg delete -f portname odstraní pouze balíček, ignoruje závislosti
  • portmaster portnam nainstaluje balíček znovu, již ve vyšší verzi

Nová verze Perlu

 Pkgng users:
   # pkg set -o lang/perl5.14:lang/perl5.16
   # pkg install -Rf lang/perl5.16
 Portupgrade users:
   0) Fix pkgdb.db (for safety):
        pkgdb -Ff
   1) Reinstall new version of Perl (5.16):
        portupgrade -o lang/perl5.16 -f lang/perl5.14
   2) Reinstall everything that depends on Perl:
        portupgrade -fr lang/perl5.16
 Portmaster users:
        portmaster -o lang/perl5.16 lang/perl5.14
      Conservative:
        portmaster p5-
      Comprehensive (but perhaps overkill):
        portmaster -r perl-
 Note: If the "perl-" glob matches more than one port you will need to specify
       the name of the Perl directory in /var/db/pkg explicitly.

Info z Freshports