BIG!!! package tool bug

I am running pre Patch A, used package tool to install some new
software from the qnx www repository.

i upgraded package tool so that i could download new packages from the
www repository. after which i installed lib tool , automake and
autoconf.

package tool also automatically installed pearl core at the same time
probably to fix some dependency…

ok now heres the problem… after package tool was done nothing
worked… everything was dead. i could not even shutdown. upon hard
resetting and reboot it loads the package manager but then dies and
halts… im totally screwed… i have just spent several days porting
libraries over to qnx so i could run a big porting job and now im
totally locked out…

HELLLLLLLLLLLLPPPPPPP!!!


vince

vince <vgeisler@engineer.com> wrote:

I am running pre Patch A, used package tool to install some new
software from the qnx www repository.

i upgraded package tool so that i could download new packages from the
www repository. after which i installed lib tool , automake and
autoconf.

package tool also automatically installed pearl core at the same time
probably to fix some dependency…

ok now heres the problem… after package tool was done nothing
worked… everything was dead. i could not even shutdown. upon hard
resetting and reboot it loads the package manager but then dies and
halts… im totally screwed… i have just spent several days porting
libraries over to qnx so i could run a big porting job and now im
totally locked out…

Vince,

Step 1: Breath deeply!

This is a known problem with the package installer (unfortunately)
in that what most_likely_happened is that the perl core had a
dependancy on some component in the 2.1.1 release set. Unfortunately
only the base items got installed and your old packages were
removed from the package filesystem listing. A bad bug I know,
I have hit it twice … as has the guy who does the package
installer so it should be addressed.

Step 2: Attempt to get back to a sane state.

You can take a look at the rescue disk that I’ve got at:
http://staff.qnx.com/~thomasf/nto.html

This will allow you to boot, mount your systems hard drive
and the images and then you will have to go in and do some
poking around to make sure that your system is back to a
sane state. Unfortunately there is no clear-cut way to do
this.

  • Look for /pkgs/base/qnx/os/core
  • Look for /pkgs/repository/qnx/os/core

Make sure that there is an x86 component/directory for it.
Edit the file /etc/system/package/packges and make sure
that that entry is listed as part of the packages.

Iterate until successful.

Thomas

On 9 Mar 2001 18:47:28 GMT, Thomas Fletcher <thomasf@qnx.com> wrote:

vince <> vgeisler@engineer.com> > wrote:
I am running pre Patch A, used package tool to install some new
software from the qnx www repository.

i upgraded package tool so that i could download new packages from the
www repository. after which i installed lib tool , automake and
autoconf.

package tool also automatically installed pearl core at the same time
probably to fix some dependency…

ok now heres the problem… after package tool was done nothing
worked… everything was dead. i could not even shutdown. upon hard
resetting and reboot it loads the package manager but then dies and
halts… im totally screwed… i have just spent several days porting
libraries over to qnx so i could run a big porting job and now im
totally locked out…

Vince,

Step 1: Breath deeply!

This is a known problem with the package installer (unfortunately)
in that what most_likely_happened is that the perl core had a
dependancy on some component in the 2.1.1 release set. Unfortunately
only the base items got installed and your old packages were
removed from the package filesystem listing. A bad bug I know,
I have hit it twice … as has the guy who does the package
installer so it should be addressed.

Step 2: Attempt to get back to a sane state.

You can take a look at the rescue disk that I’ve got at:
http://staff.qnx.com/~thomasf/nto.html

This will allow you to boot, mount your systems hard drive
and the images and then you will have to go in and do some
poking around to make sure that your system is back to a
sane state. Unfortunately there is no clear-cut way to do
this.

  • Look for /pkgs/base/qnx/os/core
  • Look for /pkgs/repository/qnx/os/core

Make sure that there is an x86 component/directory for it.
Edit the file /etc/system/package/packges and make sure
that that entry is listed as part of the packages.

Iterate until successful.

Thomas



thank Thomas, you saved my hide… I have managed to get everything up

and running, the only noticeable problem im still having is that
helpviewer now core dumps on me. at least i haven’t lost 2 days work.
after i get this porting job done i can reload the latest qnx right
from the get.qnx.com site. (would that be patch A? or Patch B?).

the only reason i haven’t upgraded so far is that the latest Phab has
a really annoying bug in it. when you deselect all the flags under the
flags:render resource it also removes the borders and min/max/close
button on the development view of the dialog.
this makes it virtually impossible to develop borderless full screen
dialogs for embedded applications.


this particular bug was not present in the previous version, but seems
to have crept in after the latest release, so I’ve been reluctant to
upgrade my main development box.

thanks for the help…

vince