NetBSD-Users archive

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

Re: smart update for pkgsrc



On 10/04/13 12:11, Riccardo Mottola wrote:
> how do you update your packages, when using compiling them from source?
[---]

   I use pkg_comp (with ccache), and I rebuild everything. I have a
~/packages.old and a ~/packages. When I'm about to rebuild all packages
I delete everything from ~/packages.old and then move everything from
~/packages to ~packages.old. Then I "pkg_comp chroot" and in it
"pkg_delete -rk \*", rebuild everything, give the important packages a
quick whirl. If any of them don't work, investigate why, fix if
possible, if not I delete what's in ~/packages and move the contents of
~/packages.old back.

   I used to try to be efficient and update only updated packages, but I
ran into some oddities a few times, and I realized it was just easier to
rebuild everything from scratch. It takes some time, but since it's done
in a chroot it can do everything in the background without bothering me.

   Personally, I could never go back to build packages in my "live"
system again.

-- 
Kind regards,
Jan Danielsson



Home | Main Index | Thread Index | Old Index