dCore Import Debian Packages to Mountable SCE extensions > dCore X86
sce-update md5.txt query
nitram:
Deleting an md5.txt file for testing flagged it for update, despite no other library updates required, nice.
Purposely altering the md5.txt file contents (changed one digit) also flagged it, very nice.
The only feedback is could the md5 check occur first in the check cycle, as it may not be necessary to check library updates. For example, xorg-intel takes several minutes to update check all libraries but a failed md5 check takes <1 second to determine whether re-import is necessary. Checking library updates seems irrelevant at that point as the SCE will need to be re-imported fresh anyway.
Jason W:
Makes sense, will be in the next RC I will upload shortly.
nitram:
Just re-tested in latest RC, dCore-jessie:2016.02.19.16.43, notes:
1. Altered md5 file, update check completes almost immediately. Everything works as expected when checking the exension with sce-update , but not when running sce-update -c , provides view package updates option but it does not display any output, just exits:
--- Code: ---sce-update -c
.
.
xorg-intel
Press Enter to update check above SCE(s), (q)uit to exit:
Checking xorg-intel.sce...
xorg-intel update check...
Update check completed.
xorg-intel
Press Enter to view package updates, Ctrl-C aborts: v
tc@box:/mnt/sdb4/tce/sce$
--- End code ---
Running sce-update then checking xorg-intel, check is quick and everything works as expected:
--- Code: ---sce-update
.
.
xorg-intel
Press Enter to update check above SCE(s), (q)uit to exit:
Checking xorg-intel.sce...
xorg-intel update check...
Update check completed.
xorg-intel
Press Enter to update above SCE(s), (v)iew package updates, Ctrl-C aborts: v
xorg-intel updates:
xorg-intel did not pass the md5sum check, needs re-importing..
Press Enter to proceed with updates, Ctrl-C aborts:
--- End code ---
2. When booting system get extension loading error, something like 'md5sum error xorg-intel, exiting..', Some sort of error is expected, but it loads anyway despite the error. Wouldn't this be a concern if the SCE was either corrupt or maliciously altered.
nitram:
Nevermind issue #1 above, can't read my own instructions (used ' v ' instead of Enter).
Darn scripts are so Enter friendly now :)
Just query #2 outstanding, thanks.
Jason W:
Ok, should be fixed in the next RC.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version