A better way to upgrade packages

twisla twisla at gcu.info
Thu Aug 27 05:15:45 PDT 2009


On Thu, 27 Aug 2009, Siju George wrote:
> 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

Should be worth mentionning pkgtools/pkgin too now.


-- 
twisla at gcu.info





More information about the Users mailing list