Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#15837 closed bug (fixed)

pkgman and WebPositive are broken in beta1 after first update

Reported by: jjido Owned by: waddlesplash
Priority: blocker Milestone: R1/beta2
Component: - General Version: R1/beta1
Keywords: Cc:
Blocked By: Blocking: #15829
Platform: All

Description (last modified by jjido)

Reproduction steps:

  1. Install Haiku hybrid
  2. Run SoftwareUpdater to install latest software
  3. Start WebPositive

Expected:

  • WebPositive starts

Actual:

  • WebPositive fails to start with error "Missing libraries: libcrypto.so.1.0.0, libssl.so.1.0.0"

Also, HaikuDepot starts but does not work.

Workaround:

go to /system/packages/administrative and install older openssl hpkg from previous state

Change History (17)

comment:1 by jjido, 3 months ago

Description: modified (diff)

comment:2 by diver, 3 months ago

Have you tried pkgman full-sync?

comment:3 by diver, 3 months ago

Also always mention Haiku revision and involved packages and if it's a 32bit or 64bit.

comment:4 by modeenf, 3 months ago

I had the same problem. I have 32 bit and that worked for me. I did get an error saying the name was in use when it was applying the changes but some how it now works.

comment:5 by jjido, 3 months ago

Version: R1/beta1 (Revision hrev52295+132) x86_gcc2

HaikuWebKit 1.6.9 WebKit 608.1.6

What is that supposed to do?

pkgman full-sync
Refreshing repository "Haiku" failed  0%: Out of memory
Refreshing repository "HaikuPorts" failed  0%: Out of memory
The following changes will be made:
  in system:
    upgrade package bison-3.0.5-1 to 3.0.5-1 from repository HaikuPorts
    upgrade package zlib-1.2.11-3 to 1.2.11-3 from repository HaikuPorts
    upgrade package libiconv-1.15-4 to 1.15-4 from repository HaikuPorts
    upgrade package which-2.21-5 to 2.21-5 from repository HaikuPorts
    upgrade package zlib_x86-1.2.11-3 to 1.2.11-3 from repository HaikuPorts
    upgrade package gmp_x86-6.1.2-3 to 6.1.2-3 from repository HaikuPorts
    upgrade package pkgconfig-0.29.2-3 to 0.29.2-3 from repository HaikuPorts
    upgrade package mpfr_x86-3.1.6-3 to 3.1.6-3 from repository HaikuPorts
    install package gawk_x86-5.0.1-2 from repository HaikuPorts
    upgrade package mpc_x86-1.1.0-1 to 1.1.0-1 from repository HaikuPorts
    uninstall package gawk-4.1.4-2
Continue? [yes/no] (yes) : yes
*** Failed to download package bison: Out of memory
  0%

If that is the cure, can you please add it to SoftwareUpdater so users don't need to open a terminal?

comment:6 by modeenf, 3 months ago

But I think that mine downloaded some file..

Did it work for you after that?

comment:7 by diver, 3 months ago

Another user on Telegram reported "Out of memory" with pkgman. I think beta1 could be broken now, could be openssl related.

comment:8 by diver, 3 months ago

"Out of memory" error is caused by curl-7.69.1-1-x86_gcc2.hpkg, replacing it with curl-7.61.1-2-x86_gcc2.hpkg (from beta1) fixes it.

comment:9 by diver, 3 months ago

Owner: changed from nobody to waddlesplash
Priority: normalblocker
Status: newassigned
Summary: WebPositive does not start on fully updated systempkgman and WebPositive are broken in beta1 after first update
Version: R1/DevelopmentR1/beta1

comment:10 by X512, 3 months ago

I think that update of dependencies of haiku.hpkg should be blocked for Haiku release update channel to prevent such issues. We should avoid Linux mistakes that package update can break system. Users that want to update Haiku dependencies should switch to nightly update channel.

Last edited 3 months ago by X512 (previous) (diff)

comment:11 by modeenf, 3 months ago

Did a fresh install of hrev54010. (had problem with my graficcard).

Now I can't use WebPositive ether. Did a pkgman full-sync. Last time I did that 2-3 times and then WebPositive worked. Now it won't, last time I did get the same result

Welcome to the Haiku shell.

~/Desktop> pkgman full-sync
100% repochecksum-1 [65 bytes]
Validating checksum for Haiku...done.
100% repochecksum-1 [64 bytes]
Validating checksum for HaikuPorts...done.
The following changes will be made:
  in system:
    upgrade package libiconv-1.15-4 to 1.15-4 from repository HaikuPorts
    upgrade package which-2.21-5 to 2.21-5 from repository HaikuPorts
    upgrade package zlib_x86-1.2.11-3 to 1.2.11-3 from repository HaikuPorts
    upgrade package mpfr_x86-3.1.6-3 to 3.1.6-3 from repository HaikuPorts
    upgrade package zlib-1.2.11-3 to 1.2.11-3 from repository HaikuPorts
    upgrade package pkgconfig-0.29.2-3 to 0.29.2-3 from repository HaikuPorts
    install package gawk_x86-5.0.1-2 from repository HaikuPorts
    upgrade package mpc_x86-1.1.0-1 to 1.1.0-1 from repository HaikuPorts
    uninstall package gawk-4.1.4-2
Continue? [yes/no] (yes) :  
*** please enter 'yes' or 'no'
Continue? [yes/no] (yes) : 
100% libiconv-1.15-4-x86_gcc2.hpkg [676.10 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/master/x86_gcc2/current/packages/libiconv-1.15-4-x86_gcc2.hpkg...done.
100% which-2.21-5-x86_gcc2.hpkg [14.89 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/master/x86_gcc2/current/packages/which-2.21-5-x86_gcc2.hpkg...done.
100% zlib_x86-1.2.11-3-x86_gcc2.hpkg [44.93 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/master/x86_gcc2/current/packages/zlib_x86-1.2.11-3-x86_gcc2.hpkg...done.
100% mpfr_x86-3.1.6-3-x86_gcc2.hpkg [601.95 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/master/x86_gcc2/current/packages/mpfr_x86-3.1.6-3-x86_gcc2.hpkg...done.
100% zlib-1.2.11-3-x86_gcc2.hpkg [47.27 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/master/x86_gcc2/current/packages/zlib-1.2.11-3-x86_gcc2.hpkg...done.
100% pkgconfig-0.29.2-3-x86_gcc2.hpkg [246.22 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/master/x86_gcc2/current/packages/pkgconfig-0.29.2-3-x86_gcc2.hpkg...done.
100% gawk_x86-5.0.1-2-x86_gcc2.hpkg [1.06 MiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/master/x86_gcc2/current/packages/gawk_x86-5.0.1-2-x86_gcc2.hpkg...done.
100% mpc_x86-1.1.0-1-x86_gcc2.hpkg [47.03 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/master/x86_gcc2/current/packages/mpc_x86-1.1.0-1-x86_gcc2.hpkg...done.
[system] Applying changes ...
*** failed to commit transaction: Failed to change the package activation in packagefs: Name in use
~/Desktop> 

comment:12 by waddlesplash, 3 months ago

Now it won't, last time I did get the same result

This is a completely unrelated bug for which there is already a ticket.

comment:13 by modeenf, 3 months ago

ok. don't know if I was miss understod.

I have the same problem with

WebPositive fails to start with error "Missing libraries: libcrypto.so.1.0.0, libssl.so.1.0.0"

Didn't find any ticket about this but I can create one :)

To reproduce

  • Crate a bootable usb image hrev54010 x86_gcc2
  • boot it
  • Clear a partition to install (image is to small to do a proper update)
  • Install the images to that partition
  • boot in to the new partition
  • try to start WebPositive (Works)
  • Run SystemUpdater (will run updates, 50 update , 11 new, 3 uninstall), One of the new to install, Openssl1.0 (1.0.2u-2)
  • try to start WebPositive (No luck, getting this missing library error)

To me it looks like we have a WebPositive and a pkgman error more than a nightly vs Beta1?

the above steps have I made 2-3 times now..

comment:15 by waddlesplash, 3 months ago

To me it looks like we have a WebPositive and a pkgman error more than a nightly vs Beta1?

Installing the package "openssl1.0_x86" should fix this problem. I don't know why it isn't installed automatically.

comment:16 by diver, 3 months ago

Blocking: 15829 added

comment:17 by nielx, 3 months ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.