Chris Nasr wrote:
I was wondering if anyone can explain to me why every once and a while
on boot up qnx says it can’t open the package repository then locks up?
Twice this has happened and I was forced to re-install because I
couldn’t think of what else to do. Now it happened again, and rather
then give up I tried to change the boot options (space on boot up) then
told it to Enable a previous package configuration. It booted, but now I
have lost the last thing I installed, the libraries for X Photon (so I
could run ddd) and I can’t seem to install it because the Package
Installer says it’s already installed.
What the heck is going on? I’m becoming depressed, I love QNX, but I’ve
had more problem with this new RTOS in a few weeks then I’ve had in 2
years of using Win2000. Can anyone explain to me exactly what this
package manager/configuration/repository is and why it should affect
QNX6 not running properly?
I sympathize with you. I have been running QNX RtP since its initial
release, and each time I upgrade (6.0 → 6.0a,b,c → 6.1 ->6.1a) it
mucked up the file permissions on everything (it takes about an hour of
twiddling to get the permissions back again - primarily making all
executables executable by everybody instead of just root). It is
amazing to me that it appears so difficult to get rwxr-xr-x permissions
on executables automatically after install…
Now as for your problem, have you tried uninstalling the package in
question, and then re-installing ? I have had success with this in the
past (this is a little too Windoze like for my tastes really - but it
does seem to work).
I have also seen the pkg-installer cause an entire hierarchy of
“virtual” filesystem to be spilled (for no apparent reason) to
/var/pkg/spill. Quite often a directory in the hierarchy will appear as
a file in /var/pkg/spill, which causes the type of problem you are
seeing. The fix for this is to simply delete the spilled hierarchy (and
any mention of it in .fspkg-spilled), and restart fs-pkg (the real files
are still where they belong in /pkgs/* and will re-appear in the install
locale when the config is re-read).
On the good side, the fs-pkg/pkg-installer has improved a lot, so I am
hopeful that one day it will do what it is supposed to do (which
presumably is to make life easier, not more difficult