In an earlier post you gave the output:
Code: Select all
root@porteus:/home/guest# diff p10/Por/usm.conf /etc/usm
This is odd. Two config files. This is where I am confused.
When I bind mount the config directory somewhere and diff the usm.conf file there is no difference (expected behaviour) since the paths are bound.
root@porteus:/# mount --bind /etc/usm/ /mnt/bound/
root@porteus:/# diff /mnt/bound/usm.conf /etc/usm/usm.conf
If I ask for the output of a file in a certain path, please follow the instructions to the letter. Once again /etc/usm/usm.conf is a hard coded value so USM is not even going to look at your p10/Por directory. You can bind it for whatever purpose you like but USM won't care about your bind.
Here is the md5sum of the unchanged v3.1.5 usm.conf: 642fd67595b728e2a7f2e96ab09e989d
Have you looked at this script?
Yes. funcupdateDatabase is looking for a file that isn't there for whatever reason. It is expecting a number (the database version) which is not returning a value, hence the error.
root@porteus:/home/guest# ls /tmp/usm/vercheck.txt
/bin/ls: cannot access /tmp/usm/vercheck.txt: No such file or directory
root@porteus:/home/guest# md5sum /etc/usm/usm.conf p10/Por/usm.conf
Apart from including p10/Por/usm.conf (which is a path only on Bogomips computer) the md5sum shown is not that of the untouched v3.1.5 usm.conf file.
I am not sure what you mean by your next code tag. It shows code from USM. Looks fine.
root@porteus:/home/guest# cp -u -v funcupdateDatabase /usr/share/usm
‘funcupdateDatabase’ -> ‘/usr/share/usm/funcupdateDatabase’
root@porteus:/home/guest# usm -u usm
Downloading: vercheck.txt DONE
Again I don't know why you have copied a file from /home/guest into /usr/share/usm. Means nothing to me. Also the next output of RDBVER=140816 and DBVER= ... where is this from? It is certainly incorrect. Did you even try my suggestion to fix your problem? Until you start a new clean savefile (without running any of your custom cleanup scripts on it) and test USM again I am not really interested in any of your output. I simply can not troubleshoot a problem that I (nor anyone else) can not reproduce. It is just noise in this thread. I understand you want to troubleshoot this, but you are not showing any sign of following suggestions and I can not reproduce this problem which may be because of your current changes file.