A better way to upgrade packages

Siju George sgeorge.ml at gmail.com
Thu Aug 27 05:10:58 PDT 2009


HI,

Can somebody update

http://www.dragonflybsd.org/docs/handbook/handbook-pkgsrc-sourcetree-using/

to show that they can replace package one by one using

http://pkgsrc.se/pkgtools/pkg_rolling-replace

The problem with

# pkg_chk -g # make initial list of installed packages
# pkg_chk -r  # remove all packages that are not up to date and
packages that depend on them
# pkg_chk -a  # install all missing packages (use binary packages,
this is the default
# pkg_chk -as # install all missing packages (build from source)

is that the packages are deleted at once and one has to wait a long
time ( according to the order of updates ) to get some packages
updated.

For example I run samba and once the samba package is removed by -r
the users have to wait a long time till it is updated :-(

thanks

Siju





More information about the Users mailing list