DragonFly users List (threaded) for 2009-08
DragonFly BSD
DragonFly users List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: A better way to upgrade packages


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Thu, 27 Aug 2009 14:40:56 +0200

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 :-(

I usually run the pkg_chk -as (or pbulk) in a chroot to create packages and then install the packages in my real system.


cheers
  simon

--
  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low CHF NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]