[sbopkg-users] Fwd: sqg not respects sbopkg.conf REPOs (warning: very long e-mail)

Willy Sudiarto Raharjo willysr at slackbuilds.org
Sat Feb 27 02:23:31 UTC 2021


> My name is Diniz Bortolotto and I'm a Slackware64-current user.
> Some days ago I changed my SBo default repository on sbopkg to Ponce's
> repository to get current compliant packages.
> 
> After that, I noticed that some *SBo Queues* should be updated to keep
> track of correct dependencies of the new repository.
> I started a full update and after that noticed that it didn't work.
> Studying the *sqg* script and BASH rules maybe I identified a
> misunderstanding of source command and substitutions.
> 
> I think that error occurs because when we use a command substitution (like
> *${...}* construct), we are creating a subshell that could inherit
> variables from their parent shells, but this only works in one way and the
> subshell cannot modify the environment of its parent shell (*sqg* in this
> case).
> 
> I've made some changes to *sqg script* to test cases and after those tests
> my suggestion is to *REMOVE REPOs variables* of sqg. (patch attached) I
> also created two sbopkg.confs to test and added an option to show what I
> wanna explain. (patch of test if someone want also try it)
> 
> Below I tried to make a graphical explanation of what I got on tests. :-)
> Note that the third case is the default sqg and it should use REPOs in
> sbopkg.conf not the sqg's defined.

Hi Diniz

You should try this version instead :)
https://sbopkg.org/test/sbopkg-0.38.2-noarch-1_wsr.tgz

make sure to change the REPO version to 14.2 first since 15.0 isn't
available yet.


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://sbopkg.org/pipermail/sbopkg-users/attachments/20210227/110f1de2/attachment.asc>


More information about the sbopkg-users mailing list