Opened 11 years ago
Closed 10 years ago
#8435 closed bug (no change required)
[installoptionalpackage] error when installing OpenSSL
|Reported by:||starsseed||Owned by:||mmadia|
|Component:||Applications/Command Line Tools||Version:||R1/Development|
~> installoptionalpackage -a webpositive To be installed: WebPositive CARootCertificates OpenSSL WebPositiveBookmarks SQLite LibXML2 Curl [...] Installing cert-2012-03-10.zip ... Downloading http://haiku-files.org/files/optional-packages/cert-2012-03-10.zip ... 2012-03-31 12:52:14 URL:http://haiku-files.org/files/optional-packages/cert-2012-03-10.zip [116480/116480] -> "cert-2012-03-10.zip"  Extracting cert-2012-03-10.zip ... Installing : ... Extracting ... Unhandled archive extension in InstallOptionalHaikuImagePackage() ... something went wrong when installing packages. ~>
Change History (11)
comment:1 by , 11 years ago
|Component:||Applications → Applications/Command Line Tools|
|Status:||new → assigned|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
I tested hrev43541. (gcc2h/gcc4h home-build)
It still does not work for me.
Note : it does not depend on the package to install. The first package is installed successfully, whereas the next ones fail.
InstallOptionalPackage -a carootcertificates
InstallOptionalPackage -a openssl InstallOptionalPackage -a curl
Any idea ?
comment:4 by , 11 years ago
|Summary:||[installoptionalpackage] error when installing CARootCertificates → [installoptionalpackage] error when installing OpenSSL|
Reading the script output, it seems installoptionalpackage try to install OpenSSL without downloading the package !
~> installoptionalpackage -a openssl To be installed: OpenSSL Installing : ... Extracting ... Unhandled archive extension in InstallOptionalHaikuImagePackage() ... something went wrong when installing packages.
tested hrev44062 ( fresh clean build)
comment:5 by , 11 years ago
|Milestone:||R1 → R1/beta1|
|Version:||R1/Development → R1/alpha4|
This is still present in hrev44582 (an rc-r1alpha4 build). Note that I had to remove OpenSSL and then it fails when trying to use installoptionalpackage to reinstall it. Since OpenSSL is installed by default this issue probably shouldn't be a hold up for the r1alpha4 release, but we should get it fixed in time for the first beta.
comment:6 by , 11 years ago
|Version:||R1/alpha4 → R1/Development|
comment:7 by , 11 years ago
I have the same bug hrev1alpha4-44612.
~> installoptionalpackage -a -s WebPositive WonderBrush BeBook Vision WebKit Generating a list of Package Names ... To be installed: WonderBrush BeBook WebKit Installing WonderBrush-2.1.2.zip ... Downloading http://haiku-files.org/files/optional-packages/WonderBrush-2.1.2-x86-gcc2-2008-11-08.zip ... 2012-09-30 14:58:22 URL:http://haiku-files.org/files/optional-packages/WonderBrush-2.1.2-x86-gcc2-2008-11-08.zip [2876122/2876122] -> "WonderBrush-2.1.2-x86-gcc2-2008-11-08.zip"  Extracting WonderBrush-2.1.2-x86-gcc2-2008-11-08.zip ... Installing bebook_20081026.zip ... Downloading http://haiku-files.org/files/optional-packages/bebook_20081026.zip ... 2012-09-30 14:58:33 URL:http://haiku-files.org/files/optional-packages/bebook_20081026.zip [2478123/2478123] -> "bebook_20081026.zip"  Extracting bebook_20081026.zip ... Installing : ... Downloading : ... :: Scheme missing. Extracting : ... Unhandled archive extension in InstallOptionalHaikuImagePackage() ... something went wrong when installing packages.
It is not just OpenSSL. The bug appeared with installing BeBook for me.
comment:8 by , 11 years ago
follow-up: 10 comment:9 by , 11 years ago
In this bug #8412 the workaround to installoptionalpackage and other kernel panic, is disabling all but 1 CPU core. I was trying to find if there was any relation between that bug and the bug reported here. I am not using a virtual box but installed on real hardware. When I disabled all but 1 core I had no trouble installing with installoptionalpackage not matter what or how many packages. Also since my terminal output is similar to here except it is not just installing OpenSSL (at least with me), I was wondering about any relation? Does the starsseed or anyone else find disabling all but one CPU core, is a work around? My CPU is a AMD Phenom II 960T. I have changed it a bit in the BIOS to unlock two extra cores, so now it is a six core, with no official name.
comment:10 by , 11 years ago
Replying to HAL:
When I disabled all but 1 core I had no trouble installing with installoptionalpackage not matter what or how many packages. [...] Does
thestarsseed or anyone else find disabling all but one CPU core, is a work around?
disabling all but 1 CPU core doesn't change anything for me.
comment:11 by , 10 years ago
|Resolution:||→ no change required|
|Status:||assigned → closed|
IIRC, the issue of this was the inability to parse the url for the OpenSSL package.
With package-management being merged sooner-than-later, this issue will disappear as installoptionalpackage is no longer included nor needed.
Works for me on hrev43937. Can you retest on hrev43930 or newer?