Skip to content

{upgrade} does not expand to 1 even though at least one slot can be upgraded #111

Description

@Flowdalic

Shouldn't the output of the following be 'true'

# FORMAT='{upgrade}true{else}false{}' eix --exact --pure-packages sys-kernel/gentoo-kernel
false

given that eix sys-kernel/gentoo-kernel shows

 # eix sys-kernel/gentoo-kernel
[?] sys-kernel/gentoo-kernel
     Available versions:  
     (5.4.242) 5.4.242-r2^tu
     (5.4.243) ~5.4.243^tu
     (5.4.244) 5.4.244^tu
     (5.10.179) 5.10.179-r2^tu
     (5.10.180) ~5.10.180^tu
     (5.10.181) 5.10.181^tu
     (5.15.110) 5.15.110-r2^tu
     (5.15.111) ~5.15.111^tu
     (5.15.112) ~5.15.112^tu
     (5.15.113) ~5.15.113^tu
     (5.15.114) 5.15.114^tu
     (6.1.27) 6.1.27-r2^tu{gpkg}
     (6.1.28) ~6.1.28^tu
     (6.1.29) ~6.1.29^tu
     (6.1.30) ~6.1.30^tu
     (6.1.31) 6.1.31^tu
     (6.2.16) ~6.2.16^tu
     (6.3.4) ~6.3.4-r1^tu
     (6.3.5) ~6.3.5^tu
       {debug hardened +initramfs savedconfig test}
     Installed versions:  6.1.21(6.1.21)^t(10:25:24 2023-04-04)(initramfs -debug -hardened -savedconfig -test) 6.1.22(6.1.22)^t(08:32:58 2023-04-04)(initramfs -debug -hardened -savedconfig -test) 6.1.27-r2(6.1.27)^t{gpkg}(21:39:40 2023-05-30)(initramfs -debug -hardened -savedconfig -test) 6.2.13(6.2.13)^t(10:56:21 2023-04-28)(initramfs -debug -hardened -savedconfig -test)
     Homepage:            https://wiki.gentoo.org/wiki/Project:Distribution_Kernel https://www.kernel.org/
     Description:         Linux kernel built with Gentoo patches

where 6.1.31 is stable and installable? Also note that [?] besides the package name. I would have expected [?U].

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions