Opened 19 months ago

Last modified 5 months ago

#18419 new bug

pkgman update <package> fails silently.

Reported by: bipolar Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Package Kit Version: R1/beta4
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is on beta4 hrev56578+84 64 bits.

While trying to update koder-0.5.4 to koder-0.6.0, pkgman update koder insisted there was "Nothing to do.".

Shell output follows:

[~/]
> pkgman refresh
Fetching repository checksum from https://eu.hpkg.haiku-os.org/haiku/r1beta4/x86_64/current ...
Validating checksum for Haiku ...
Fetching repository checksum from https://eu.hpkg.haiku-os.org/haikuports/r1beta4/x86_64/current ...
Validating checksum for HaikuPorts ...
[~/]
> pkgman update koder
100% repochecksum-1 [65 bytes]
Validating checksum for Haiku...done.
100% repochecksum-1 [64 bytes]
Validating checksum for HaikuPorts...done.
Nothing to do.
[~/]
> pkgman search -D koder
Repository  Name          Version  Arch  
-----------------------------------------
<system>    koder         0.5.4-3  x86_64
HaikuPorts  koder         0.6.0-1  x86_64
HaikuPorts  koder_source  0.6.0-1  source
[~/]
> pkgman uninstall koder
The following changes will be made:
  in system:
    uninstall package koder-0.5.4-3
Continue? [yes/no] (yes) : y
[system] Applying changes ...
[system] Changes applied. Old activation state backed up in "state_2023-05-18_22:00:56"
[system] Cleaning up ...
[system] Done.
[~/]
> pkgman install koder
100% repochecksum-1 [65 bytes]
Validating checksum for Haiku...done.
100% repochecksum-1 [64 bytes]
Validating checksum for HaikuPorts...done.
Encountered problems:
problem 1: package koder-0.6.0-1 requires lib:libscintilla>=5.3.4, but none of the providers can be installed
  solution 1:
    - allow deinstallation of scintilla_lexers-4.3.2-1
  solution 2:
    - do not install "providing koder"
Please select a solution, skip the problem for now or quit.
select [1...2/s/q]: 1
The following changes will be made:
  in system:
    install package lexilla-5.2.4-1 from repository HaikuPorts
    upgrade package scintilla-4.3.2-1 to 5.3.4-2 from repository HaikuPorts
    upgrade package scintilla_devel-4.3.2-1 to 5.3.4-2 from repository HaikuPorts
    install package koder-0.6.0-1 from repository HaikuPorts
    uninstall package scintilla_lexers-4.3.2-1
Continue? [yes/no] (yes) : y
100% lexilla-5.2.4-1-x86_64.hpkg [1.41 MiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta4/x86_64/current/packages/lexilla-5.2.4-1-x86_64.hpkg...done.
100% scintilla-5.3.4-2-x86_64.hpkg [466.70 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta4/x86_64/current/packages/scintilla-5.3.4-2-x86_64.hpkg...done.
100% scintilla_devel-5.3.4-2-x86_64.hpkg [32.85 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta4/x86_64/current/packages/scintilla_devel-5.3.4-2-x86_64.hpkg...done.
100% koder-0.6.0-1-x86_64.hpkg [494.64 KiB]
Validating checksum for https://eu.hpkg.haiku-os.org/haikuports/r1beta4/x86_64/current/packages/koder-0.6.0-1-x86_64.hpkg...done.
[system] Applying changes ...
[system] Changes applied. Old activation state backed up in "state_2023-05-18_22:02:25"
[system] Cleaning up ...
[system] Done.
[~/]
> 

I would have expected pkgman update to inform the user that there is a conflict/problem, and offer to choose a solution (as pkgman install did above) instead of just failing silently.

(not sure if this is only a /bin/pkgman issue, or a PackageKit one, so I'm not setting the "Component" ticket field)

Change History (2)

comment:1 by diver, 15 months ago

Component: - GeneralKits/Package Kit

comment:2 by bipolar, 5 months ago

Hit this one again while trying to update Genio:

pkgman update genio said "Nothing to do". Uninstalled old genio, and then pkgman install genio showed the problem:

Encountered problems:
problem 1: package genio-3.0.0-1 requires cmd:clang>=16, but none of the providers can be installed
  solution 1:
    - allow deinstallation of llvm12_clang-12.0.1-8
  solution 2:
    - do not install "providing genio"
Please select a solution, skip the problem for now or quit.
select [1...2/s/q]: 
Note: See TracTickets for help on using tickets.