Opened 12 years ago
Last modified 12 years ago
#9034 closed bug
Installoptionalpackages Segment Violation — at Initial Version
Reported by: | HAL | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications | Version: | R1/Development |
Keywords: | crash segment violation | Cc: | HAL |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Installoptionalpackage crashed when I typed
installoptionalpackage -f
in terminal to get a list of inatallable packages.
Steps to reproduce:
- In terminal type installoptionalpackage -f
- Press Enter.
This results in gdb and I have a back trace. I get similar crashes too when trying to install any application. If I don't click the button to show the gdb but OK instead, nothing gets installed. Here is an example:
installoptionalpackage -a -s SampleStudio /bin/installoptionalpackage: line 464: availablePackages[${pkg}]: bad array subscript ... no packages need to be installed. If you wish to re-install a package, run these two commands rm /boot/common/data/optional-packages/OptionalPackageNames open /boot/common/data/optional-packages/InstalledPackages and delete the line containing the package name(s). Not proceeding with installation. ~> rm /boot/common/data/optional-packages/OptionalPackageNames
When I rm /boot/common/data/optional-packages/OptionalPackageNames it does not make any difference when I try again. Also doing this: open /boot/common/data/optional-packages/InstalledPackages and delete the line containing the package name(s), the package name does not exist there anyway. I was testing in hrev1alpha4-44597.