File:  [NetBSD Developer Wiki] / wikisrc / pkgsrc / Attic / how_to_update_a_package_with_pkgsrc.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Sun Nov 20 20:28:27 2011 UTC (11 years ago) by mspo
Branches: MAIN
CVS tags: HEAD
import a bunch of pkgsrc articles from the old wiki

Updating an installed package with pkgsrc

You may wish to also see [[Monitoring package versions]]

Say you have just been notified that dummy-5.1 is now available as dummy-5.2 so you want to update it.

    cd /usr/pkgsrc/*/dummy

Run a make update:

    make update
    ===> Deinstalling for dummy-5.1
    => Becoming ``root to make su-deinstall (/usr/bin/su)
    => Dropping ``root privileges.
    WARNING: Package version dummy-5.1 in /usr/pkgsrc/*/dummy/work
    WARNING: Current version dummy-5.2 in */dummy
    WARNING: Cleaning and rebuilding dummy-5.2
    => Registering installation for dummy-5.2                                                                                                               
    ===> Cleaning for dummy-5.2

Package dummy has now been upgraded from 5.1 to 5.2 

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb