[sbopkg-users] sbopkg-0.30.1 bug - uncheck installed packages w/ local repo

slakmagik jsunx1 at bellsouth.net
Tue Sep 8 16:25:24 UTC 2009


On 2009-09-08 (Tue) 09:49:52 [+0200], Mauro Giachero wrote:
> On Tue, Sep 8, 2009 at 9:12 AM, Phillip Warner
> <phillip.c.warner at gmail.com>wrote:
> 
> > When you manage the local repo build queue and try to "uncheck installed
> > packages" nothing happens.  I was testing this using a queue where
> > everything was already installed but one or two packages.
> >
> > It is worth noting that I export arch=i686.  Perhaps the function is
> > looking for i486 in the packages names.
> >
> > I don't have time to investigate (hack the code) the issue, but I wanted to
> > report it.  I can test a fixed svn if desired.
> >
> > --phillip
> >
> 
> Thank you for the report.
> I tried to replicate this, but failed.
> What do you see on the right column for the installed packages (in the "View
> queue" dialog)?
> 

I can't replicate it either. The function in question would seem to be
uncheck_installed() via view_queue() which is unconditional (no
i[46]86). If you can give more details (including what's in a queue when
it happens and what Mauro suggests and so on) that'd be great.

I did find a bug, though - it should be a no-op but the regex is wrong:
it's currently 's:^\([^ ]* .*Installed.*\)[^ ]*$:\1OFF:' and it should
be something like 's:^\([^ ]* .*Installed.*\) .*$:\1 OFF:' - it's
currently returning 'ONOFF' which dialog happens to interpret as 'not
ON'. Anyway - that shouldn't cause your problem. The only thing I can
think is that you have a package named 'Installed' - that would likely
mess it up. Not sure - I'll try to look into this more thoroughly when I
have time later today.


More information about the sbopkg-users mailing list