[OpenIndiana-discuss] "No solution was found to satisfy constraints"

Andreas Wacknitz A.Wacknitz at gmx.de
Sun Aug 22 08:57:03 UTC 2021


Hi,
Sorry for the inconvenience. We had some problems after golang-117 has 
been released as golang-116 which led to the following situation:

╰─➤  pkg list -a|grep golang
developer/golang 1.17-2020.0.1.0            ---
developer/golang-110 1.10.8-2020.0.1.0          ---
developer/golang-111 1.11.10-2020.0.1.0         ---
developer/golang-112 1.12.17-2020.0.1.0         ---
developer/golang-113 1.13.8-2020.0.1.0          ---
developer/golang-114 1.14.15-2020.0.1.0         ---
developer/golang-115 1.15.15-2020.0.1.0         ---
developer/golang-116 1.17-2020.0.1.0            ---
developer/golang-16 1.6.3-2017.0.0.3           --o
developer/golang-18 1.8.7-2020.0.1.0           ---

In such situation one would run "pkgrepo remove -s <path to repo> 
golang-116 at 1.17" in order to fix the repository contents.
Alas our system running the pkg server is too old to support "pkgrepo 
remove" and so I had to copy the whole repository to another system, 
fixing this problem there, and copy everything back.
What I also did was to shrink the repository by creating a clone 
repository that only contains the latest versions of everything because 
the respository size was so big that pkg updates took a vast amount of 
time and memory.

At the moment everything seems correct related to golang-116 on my side:
╰─➤  pfexec pkg refresh
╰─➤  pkg list -a|grep golang
developer/golang 1.17-2020.0.1.1            ---
developer/golang-110 1.10.8-2020.0.1.0          ---
developer/golang-111 1.11.10-2020.0.1.0         ---
developer/golang-112 1.12.17-2020.0.1.0         ---
developer/golang-113 1.13.8-2020.0.1.0          ---
developer/golang-114 1.14.15-2020.0.1.0         ---
developer/golang-115 1.15.15-2020.0.1.0         ---
developer/golang-116 1.16.7-2020.0.1.0          ---
developer/golang-117 1.17-2020.0.1.1            ---
developer/golang-16 1.6.3-2017.0.0.3           --o
developer/golang-18 1.8.7-2020.0.1.0           ---
╰─➤  pfexec pkg install golang-116
            Packages to install:  1
            Mediators to change:  1
        Create boot environment: No
Create backup boot environment: No

DOWNLOAD                                PKGS         FILES    XFER 
(MB)   SPEED
Completed                                1/1     9645/9645 230.9/230.9  
6.1M/s

PHASE                                          ITEMS
Installing new actions                     9661/9661
Updating package state database                 Done
Updating package cache                           0/0
Updating image state                            Done
Creating fast lookup database                   Done
Reading search index                            Done
Updating search index                            1/1
Updating package cache                           1/1


Your problem might indicate another inconsistency either on your side or 
in the repository. Can you run

pfexec pkg install userland-incorporation at 0.5.11-2020.0.1.14371

This will reveal the constraints that prohibit the update on your side.

Regards,
Andreas

Am 8/22/21 um 9:33 AM schrieb Richard L. Hamilton:
> What's up with this? Yesterday's pkg update was fine, and found a few things, so this seems odd. Not like I've done anything recently but run a pkg update every now and again (daily if I get to  it and my Internet, cranky in hot weather, is up).
>
> root at openindiana:~# pkg update
> Creating Plan (Running solver): /
> pkg update: No solution was found to satisfy constraints
> No solution found to update to latest available versions.
> This may indicate an overly constrained set of packages are installed.
>   
> latest incorporations:
>   
>    pkg://openindiana.org/consolidation/userland/userland-incorporation@0.5.11,5.11-2020.0.1.14371:20210821T075734Z
>   
> Dependency analysis is unable to determine the cause.
> Try specifying expected versions to obtain more detailed error messages.
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss


More information about the openindiana-discuss mailing list