Opened 9 years ago

Closed 4 years ago

Last modified 4 years ago

#11948 closed bug (fixed)

dependency disaster of DjVuviewer

Reported by: dillcn Owned by: nobody
Priority: normal Milestone: R1/beta2
Component: Applications Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

In hrev49001 gcc2h, when I uninstall DjVuviewer, a lot of system packages are uninstalled. I think package dependency strategy in haiku may be another dependency disaster like in Linux.

BTW, after upgrade to hrev49001, webpositive disappeared, I don't know why and if it is an error.

Change History (12)

comment:1 by richienyhus, 9 years ago

What packages are uninstalled?

Was it libjpeg, libtiff & zlib?

comment:2 by pulkomandy, 9 years ago

Your ticket lacks half the information needed to be useful.

  • Which version were you upgrading from?
  • Does reinstalling Web+ work?
  • Which packages were removed?
  • Did it actually remove packages, or just uninstall old and now unneeded versions?
  • Do you have extra repositories enabled, or just haiku and haikuports?

Here installing djvuviewer installs djvulibre and does not remove anything.

in reply to:  1 comment:3 by dillcn, 9 years ago

Replying to richienyhus:

What packages are uninstalled?

Was it libjpeg, libtiff & zlib?

I did not remember exactly, and can not reproduce this because these packages are removed, if I reinstall DjVuViewer the removed system packages will not be installed, so they will not be uninstalled when uninstall DjVuViewer. Are there anyone kindly to reproduce this problem? Thank you!

in reply to:  2 comment:4 by dillcn, 9 years ago

Replying to pulkomandy:

Your ticket lacks half the information needed to be useful.

  • Which version were you upgrading from?

About hrev48991.

  • Does reinstalling Web+ work?

No, I failed to reinstall webkit and webpositive for several times. I think this is because some system packages were removed.

  • Which packages were removed?

Sorry, I did not remember exactly.

  • Did it actually remove packages, or just uninstall old and now unneeded versions?

It did remove packages.

  • Do you have extra repositories enabled, or just haiku and haikuports?

No, just haiku and haikuports.

Here installing djvuviewer installs djvulibre and does not remove anything.

When you uninstall djvuviewer, there are no system packages removed? So weird.

comment:5 by pulkomandy, 9 years ago

What happens when you try to reinstall Web+? The command to use (for a gcc2hybrid install) is:

pkgman install webpositive_x86

If any important packages were removed, they should be added again when running this. What happens exactly when doing that? Can you copy the output of this command here?

When doing an update, the old state of the system is saved. You can boot your system to the older version by going to the early boot menu (press space before the bootscreen is shown) and go to "select boot partition". After selecting your haiku system partition, you will get a list of older revisions which you can boot from. You can also look at

ls /system/packages/administrative/state-nnn

To see which packages were removed or upgraded during the last update (replace nnn with the date of the upgrade your are interested in). Please show us this package list for the relevant update(s) so we can understand where the dependencies went bad.

Please also check if you have packages left in /system/packages/administrative/transaction-1/. Sometimes the packages stay locked there and won't be installed. Deleting all the "transaction" folders can get you out of that state.

comment:6 by dillcn, 9 years ago

~> ls /system/packages/administrative/state_2015-04-05_21:04:36
activated-packages
ca_root_certificates-2015_02_25-1-any.hpkg
haiku_devel-r1~alpha4_pm_hrev48982-1-x86_gcc2.hpkg
haiku_loader-r1~alpha4_pm_hrev48982-1-x86_gcc2.hpkg
haiku_x86_devel-r1~alpha4_pm_hrev48982-1-x86_gcc2.hpkg
haiku_x86-r1~alpha4_pm_hrev48982-1-x86_gcc2.hpkg
haiku-r1~alpha4_pm_hrev48982-1-x86_gcc2.hpkg
makefile_engine-r1~alpha4_pm_hrev48982-1-any.hpkg
webpositive_x86-r1~alpha4_pm_hrev48982-1-x86_gcc2.hpkg
~> ls /system/packages/administrative/state_2015-04-06_10:57:46
activated-packages
haiku_devel-r1~alpha4_pm_hrev48996-1-x86_gcc2.hpkg
haiku_loader-r1~alpha4_pm_hrev48996-1-x86_gcc2.hpkg
haiku_x86_devel-r1~alpha4_pm_hrev48996-1-x86_gcc2.hpkg
haiku_x86-r1~alpha4_pm_hrev48996-1-x86_gcc2.hpkg
haiku-r1~alpha4_pm_hrev48996-1-x86_gcc2.hpkg
makefile_engine-r1~alpha4_pm_hrev48996-1-any.hpkg
webpositive_x86-r1~alpha4_pm_hrev48996-1-x86_gcc2.hpkg
~> ls /system/packages/administrative/state_2015-04-06_11:05:28
activated-packages  beam-1.2alpha-4-x86_gcc2.hpkg
~> ls /system/packages/administrative/state_2015-04-06_11:09:15
activated-packages

~> pkgman install webpositive_x86
Downloading repochecksum-1...done.
Validating checksum for Haiku...done.                                           
Downloading repochecksum-1...done.
Validating checksum for HaikuPorts...done.                                      
The following changes will be made:
  in system:
    install package gcc_x86_syslibs-4.8.4_2014_12_21-1 from repository HaikuPorts
    install package haiku_x86-r1~alpha4_pm_hrev49002-1 from repository Haiku
    install package zlib_x86-1.2.8-4 from repository HaikuPorts
    install package libpng16_x86-1.6.17-1 from repository HaikuPorts
    install package bzip2_x86-1.0.6-5 from repository HaikuPorts
    install package freetype_x86-2.5.5-1 from repository HaikuPorts
    install package icu_x86-54.1-5 from repository HaikuPorts
    install package jasper_x86-1.900.1-4 from repository HaikuPorts
    install package libpng_x86-1.5.22-1 from repository HaikuPorts
    install package libicns_x86-0.8.1-1 from repository HaikuPorts
    install package jpeg_x86-9-3 from repository HaikuPorts
    install package tiff_x86-3.9.6-2 from repository HaikuPorts
    install package giflib_x86-5.1.0-1 from repository HaikuPorts
    install package libwebp_x86-0.4.1-1 from repository HaikuPorts
    install package expat_x86-2.0.1-7 from repository HaikuPorts
    install package libsolv_x86-0.3.0_haiku_2014_12_22-1 from repository HaikuPorts
    install package libvpx_x86-1.0.0-2 from repository HaikuPorts
    install package libogg_x86-1.3.0-2 from repository HaikuPorts
    install package sqlite_x86-3.8.8.3-1 from repository HaikuPorts
    install package libxml2_x86-2.9.1-1 from repository HaikuPorts
    install package libexecinfo_x86-1.1-1 from repository HaikuPorts
    install package libvorbis_x86-1.3.5-1 from repository HaikuPorts
    install package libtheora_x86-1.1.1-2 from repository HaikuPorts
    install package speex_x86-1.2~rc1-2 from repository HaikuPorts
    install package libxslt_x86-1.1.28-2 from repository HaikuPorts
    install package ffmpeg_x86-0.11.5-2 from repository HaikuPorts
    install package haikuwebkit_x86-1.4.10-1 from repository HaikuPorts
    install package webpositive_x86-r1~alpha4_pm_hrev49002-1 from repository Haiku
Continue? [y/n] (y) : 
Downloading gcc_x86_syslibs-4.8.4_2014_12_21-1-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/gcc_x86_syslibs-4.8.4_2014_12_21-1-x86_gcc2.hpkg...done.
Downloading haiku_x86-r1~alpha4_pm_hrev49002-1-x86_gcc2.hpkg...done.
Validating checksum for http://download.haiku-os.org/haiku-repositories/master/x86_gcc2/current//packages/haiku_x86-r1~alpha4_pm_hrev49002-1-x86_gcc2.hpkg...done.
Downloading zlib_x86-1.2.8-4-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/zlib_x86-1.2.8-4-x86_gcc2.hpkg...done.
Downloading libpng16_x86-1.6.17-1-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/libpng16_x86-1.6.17-1-x86_gcc2.hpkg...done.
Downloading bzip2_x86-1.0.6-5-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/bzip2_x86-1.0.6-5-x86_gcc2.hpkg...done.
Downloading freetype_x86-2.5.5-1-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/freetype_x86-2.5.5-1-x86_gcc2.hpkg...done.
Downloading icu_x86-54.1-5-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/icu_x86-54.1-5-x86_gcc2.hpkg...done.
Downloading jasper_x86-1.900.1-4-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/jasper_x86-1.900.1-4-x86_gcc2.hpkg...done.
Downloading libpng_x86-1.5.22-1-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/libpng_x86-1.5.22-1-x86_gcc2.hpkg...done.
Downloading libicns_x86-0.8.1-1-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/libicns_x86-0.8.1-1-x86_gcc2.hpkg...done.
Downloading jpeg_x86-9-3-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/jpeg_x86-9-3-x86_gcc2.hpkg...done.
Downloading tiff_x86-3.9.6-2-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/tiff_x86-3.9.6-2-x86_gcc2.hpkg...done.
Downloading giflib_x86-5.1.0-1-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/giflib_x86-5.1.0-1-x86_gcc2.hpkg...done.
Downloading libwebp_x86-0.4.1-1-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/libwebp_x86-0.4.1-1-x86_gcc2.hpkg...done.
Downloading expat_x86-2.0.1-7-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/expat_x86-2.0.1-7-x86_gcc2.hpkg...done.
Downloading libsolv_x86-0.3.0_haiku_2014_12_22-1-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/libsolv_x86-0.3.0_haiku_2014_12_22-1-x86_gcc2.hpkg...done.
Downloading libvpx_x86-1.0.0-2-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/libvpx_x86-1.0.0-2-x86_gcc2.hpkg...done.
Downloading libogg_x86-1.3.0-2-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/libogg_x86-1.3.0-2-x86_gcc2.hpkg...done.
Downloading sqlite_x86-3.8.8.3-1-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/sqlite_x86-3.8.8.3-1-x86_gcc2.hpkg...done.
Downloading libxml2_x86-2.9.1-1-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/libxml2_x86-2.9.1-1-x86_gcc2.hpkg...done.
Downloading libexecinfo_x86-1.1-1-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/libexecinfo_x86-1.1-1-x86_gcc2.hpkg...done.
Downloading libvorbis_x86-1.3.5-1-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/libvorbis_x86-1.3.5-1-x86_gcc2.hpkg...done.
Downloading libtheora_x86-1.1.1-2-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/libtheora_x86-1.1.1-2-x86_gcc2.hpkg...done.
Downloading speex_x86-1.2~rc1-2-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/speex_x86-1.2~rc1-2-x86_gcc2.hpkg...done.
Downloading libxslt_x86-1.1.28-2-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/libxslt_x86-1.1.28-2-x86_gcc2.hpkg...done.
Downloading ffmpeg_x86-0.11.5-2-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/ffmpeg_x86-0.11.5-2-x86_gcc2.hpkg...done.
Downloading haikuwebkit_x86-1.4.10-1-x86_gcc2.hpkg...done.
Validating checksum for http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current/packages/haikuwebkit_x86-1.4.10-1-x86_gcc2.hpkg...done.
Downloading webpositive_x86-r1~alpha4_pm_hrev49002-1-x86_gcc2.hpkg...done.
Validating checksum for http://download.haiku-os.org/haiku-repositories/master/x86_gcc2/current//packages/webpositive_x86-r1~alpha4_pm_hrev49002-1-x86_gcc2.hpkg...done.
[system] Applying changes ...
[system] Changes applied. Old activation state backed up in "state_2015-04-06_22:31:54"
[system] Cleaning up ...
[system] Done.

*
After I do "pkgman install webpositive_x86" command, webpositive appeares in Applications. But when I run it, alert box shows that can not open webpositive, (missing libcrypto.so.1.0.0, libssl.so.1.0.0)
*

~> ls /system/packages/administrative/state_2015-04-06_22:31:54
activated-packages

*
After pkgman update to hrev49002, and reboot, still can not open webpositive and missing library.
*
~> ls /system/packages/administrative/state_2015-04-06_22:52:48
activated-packages
haiku_devel-r1~alpha4_pm_hrev49001-1-x86_gcc2.hpkg
haiku_loader-r1~alpha4_pm_hrev49001-1-x86_gcc2.hpkg
haiku-r1~alpha4_pm_hrev49001-1-x86_gcc2.hpkg
makefile_engine-r1~alpha4_pm_hrev49001-1-any.hpkg
Version 1, edited 9 years ago by pulkomandy (previous) (next) (diff)

comment:7 by dillcn, 9 years ago

Thanks pulkomandy and other friends!

comment:8 by korli, 9 years ago

Seems openssl_x86 is missing (libcrypto.so.1.0.0, libssl.so.1.0.0).

in reply to:  8 comment:9 by dillcn, 9 years ago

Replying to korli:

Seems openssl_x86 is missing (libcrypto.so.1.0.0, libssl.so.1.0.0).

Yes, you are right. After I install openssl_x86, webpositive works fine.

comment:10 by pulkomandy, 9 years ago

The haiku_x86 package should depend on openssl_x86 if the build feature is enabled when building (it is still optional).

comment:11 by pulkomandy, 4 years ago

Resolution: fixed
Status: newclosed

HaikuPorts has improved a lot, now it is possible to install djvulibre without problems.

comment:12 by nielx, 4 years ago

Milestone: R1R1/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.