Skip to content

Просто блоґ

про все що бажано записати

  • Головна
  • Контакт
  • Toggle search form

FreeBSD update software and apply security patch

Posted on 21 Жовтня 20079 Травня 2008 By blog 1 Коментар до FreeBSD update software and apply security patch

Upgrade FreeBSD ports collection

Run portsnap as follows:
portsnap fetch update
OR
portsnap fetch
portsnap update


Display outdated ports list

You can list outdated ports list with pkg_version command:
pkg_version -vIL=

Update FreeBSD packages / software

Now run portmanager to upgrade installed ports:
portmanager -u -l

How do I upgrade a single software only?

portmanager allows you to update a single port and all of its dependencies. For example update port called bash i.e. bash shell (shells/bash), enter:
portmanager shells/bash -l -u

How do I apply binary security updates for FreeBSD?

Latest version includes a tool called freebsd-update (thanks to Bok for pointing out this tool). The freebsd-update tool is used to fetch, install, and rollback binary updates to the FreeBSD base system.
Fetch updates

Use fetch option to get all available binary updates:
freebsd-update fetch

Install updates

Install the most recently fetched updates:
freebsd-update install

Unix and ...

Навігація записів

Previous Post: Твик службы синхронизации времени (Windows XP)
Next Post: CentOS / Red Hat Linux: Install and manage iSCSI Volume

Related Posts

Ubuntu, собираем ядро сами. Unix and ...
Буквы И ш mysql и кодировки сp1251 и utf8 Unix and ...
SUN x86 Installation Check Tool Unix and ...
CentOS / Red Hat Linux: Install and manage iSCSI Volume Unix and ...
Solaris Crypt : better password hashing algorithms Unix and ...
ls: Фатальная ошибка: Certificate verification: Not trusted Unix and ...

Comment (1) on “FreeBSD update software and apply security patch”

  1. blog :
    14 Лютого 2009 о 16:45

    Install a tool that with a little script of my own will help make choosing the fastest cvs server on the Internet for us so that downloading the sources take as little time as possible:

    cd /usr/ports/sysutils/fastest_cvsup
    make install clean

    SERVER=`fastest_cvsup -q -c ua`
    cvsup -h $SERVER supfile

    # Now let’s update the ports database…
    /usr/local/sbin/portsdb -Uu

    # Now let’s see how badly we’re out of date…
    /usr/local/sbin/portversion -vl "<"

Залишити відповідь

Ваша e-mail адреса не оприлюднюватиметься. Обов’язкові поля позначені *


Copyright © 2026 Просто блоґ.

Powered by PressBook Media WordPress theme