From 1.41421 at gmail.com Tue Feb 5 17:00:20 2019 From: 1.41421 at gmail.com (JCA) Date: Tue, 5 Feb 2019 10:00:20 -0700 Subject: [sbopkg-users] Dependencies not installed by sbopkg Message-ID: I have the following situation: I want to install a package with sbopkg. This package has a number of dependencies, that sbopkg detects and will attempt to install, if not already present in the system. The thing is, one of those dependencies is already present in the system, but it was not installed by sbopkg. As a result, sbopkg attempts to build and install it anyway. Is it possible to make sbopkg aware of the fact that the dependency is present, even if it wasn't installed with sbopkg? The situation that I want to address is one in which the package to be installed with sbopkg is dependent on qt5 - as anybody who has tried knows, building qt5 takes a lot of resources and a long time, even on beefy systems. Having to build it explicitly in every system where one wants to use sbopkg is a bit painful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From willysr at sbopkg.org Tue Feb 5 17:34:08 2019 From: willysr at sbopkg.org (Willy Sudiarto Raharjo) Date: Wed, 6 Feb 2019 00:34:08 +0700 Subject: [sbopkg-users] Dependencies not installed by sbopkg In-Reply-To: References: Message-ID: <5f0f6a33-9909-6f72-52a1-83b2b7299b78@sbopkg.org> > I want to install a package with sbopkg. This package has a number of > dependencies, that sbopkg detects and will attempt to install, if not > already present in the system. The thing is, one of those dependencies > is already present in the system, but it was not installed by sbopkg. As > a result, sbopkg attempts to build and install it anyway. > > Is it possible to make sbopkg aware of the fact that the dependency is > present, even if it wasn't installed with sbopkg? The situation that I > want to address is one in which the package to be installed with sbopkg > is dependent on qt5 - as anybody who has tried knows, building qt5 takes > a lot of resources and a long time, even on beefy systems. Having to > build it explicitly in every system where one wants to use sbopkg is a > bit painful. By default, sbopkg will only look for packages that comes with SBo tag, so it will not find any package that is coming from third party repository and have different tag name. However, you can try to use -k parameter to avoid installing packages what's already installed in your system, but AFAIK, the above rules apply. -- Willy Sudiarto Raharjo -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: OpenPGP digital signature URL: From 1.41421 at gmail.com Tue Feb 5 17:47:18 2019 From: 1.41421 at gmail.com (JCA) Date: Tue, 5 Feb 2019 10:47:18 -0700 Subject: [sbopkg-users] Dependencies not installed by sbopkg In-Reply-To: References: Message-ID: Actually, as it so often happens, I found out how to do this five minutes after sending my query. In case anybody is interested: sbopkg scans for dependencies based on the contents of the queue file for the package to be installed. This file will list the dependencies for the target package. If a listed dependency is preceded by a '-' character then sbopkg will not attempt to verify whether or not that dependency is already installed. On Tue, Feb 5, 2019 at 10:00 AM JCA <1.41421 at gmail.com> wrote: > I have the following situation: > > I want to install a package with sbopkg. This package has a number of > dependencies, that sbopkg detects and will attempt to install, if not > already present in the system. The thing is, one of those dependencies is > already present in the system, but it was not installed by sbopkg. As a > result, sbopkg attempts to build and install it anyway. > > Is it possible to make sbopkg aware of the fact that the dependency is > present, even if it wasn't installed with sbopkg? The situation that I want > to address is one in which the package to be installed with sbopkg is > dependent on qt5 - as anybody who has tried knows, building qt5 takes a lot > of resources and a long time, even on beefy systems. Having to build it > explicitly in every system where one wants to use sbopkg is a bit painful. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: