[sbopkg-discuss] Re: Suggestion: Automatic Rebuild of Installed Packages

Robby Workman rworkman at slackbuilds.org
Thu Dec 4 19:35:55 UTC 2008


On Thu, 4 Dec 2008 11:21:04 -0800 (PST)
samac <cotterochan at googlemail.com> wrote:

> 
> Hi
> 
> I don't know if this would be possible, or even desirable, but as
> Slackware 12.2 is on the horizon it might be worth thinking about.
> 
> My thoughts are that once Slackware has been updated to 12.2, I will
> have to re-build all the slackbuild packages that I have installed, so
> that they take advantage of the newly installed versions. Could this
> be automated by having a menu entry similar to "List installed Sbo
> packages", where it lists all the packages installed and pipes it to
> the build script, then once all the packages are built, has an option
> to install.
> 
> I know that I could do all of this one item at a time, but I am
> essentially a lazy person, and as sbopkg has made administrating
> slackbuilds so easy, I was hoping that this might be a worthwhile
> improvement.


Perhaps a worthy improvement, but without some way to determine the
order, I'm not sure how doable it is -- e.g. if binX depends on libX,
then you have to build libX first.  A workaround for most cases is to
rebuild everything (as it should build against the older version that's
already installed, in most cases), upgrade the packages, then rebuild
them again so that they pick up the newer deps.  This though is
overkill most of the time, at least for upgrades that don't change
API/ABI.

-RW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://sbopkg.org/pipermail/sbopkg-users/attachments/20081204/59ac63da/attachment.asc>


More information about the sbopkg-users mailing list