Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: nitram on January 10, 2016, 03:41:23 AM

Title: sce-debpurge error
Post by: nitram on January 10, 2016, 03:41:23 AM
Get this error related to line #41 with first run of sce-debpurge, subsequent runs okay:
Code: [Select]
can't open /tmp/debinx_security: no such file.

Commenting out the line appears to fix, as the next line obtains DEBINX_SECURITY.
Query solution:
Code: [Select]
#read DEBINX_SECURITY < /tmp/debinx_security    # remove, causing error, read DEBINX_SECURITY next line                         
DEBINX_SECURITY="/etc/sysconfig/tcedir/import/debinx/"$DEBINX_SECURITY""

Title: Re: sce-debpurge error
Post by: Jason W on January 10, 2016, 01:00:07 PM
Thanks.  But if we comment that line, then DEBINX_SECURITY would be an empty variable.  It appears that the issue is those lines are before debGetEnv is run.  And before the first run, /tmp/debinx_security does not exist therefore the error.

Will be fixed in next release candidate. 
Title: Re: sce-debpurge error
Post by: nitram on January 11, 2016, 04:39:19 AM
Fixed, thanks again.