void-linux / xbps

The X Binary Package System (XBPS)
https://voidlinux.org/xbps/
Other
821 stars 124 forks source link

`./xbps-src show-sys-updates` doesn't show some outdated packages #495

Open unspecd opened 3 years ago

unspecd commented 3 years ago

System

Expected behavior

$ cd $(xdistdir) && git pull
$ ./xbps-src show-sys-updates
iproute2
libharfbuzz

Actual behavior

$ ./xbps-src show-sys-updates
iproute2

# xbps-install -Su
Name        Action    Version           New version            Download size
iproute2    update    5.11.0_1          5.12.0_1               1002KB 
libharfbuzz update    2.8.0_1           2.8.1_1                640KB
unspecd commented 3 years ago

Experiment:

$ sudo xdowngrade hostdir/binpkgs/harfbuzz-2.8.0_1.x86_64-musl.xbps
$ ./xbps-src show-sys-updates
harfbuzz
iproute2
AviKav commented 3 years ago

It doesn't check subpackages

Anachron commented 3 years ago

You can get the pending updates using: xbps-install -Mun, is that what you're looking for?

paper42 commented 3 years ago

The issue seems to be that xbps-checkvers doesn't print subpackages and doesn't have a flag to print the parent package when a subpackage would have been printed. Maybe move this issue to the xbps repository?

github-actions[bot] commented 2 years ago

Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.

Chocimier commented 2 years ago

Fixed in #404, issue in void-packages was left open to acknowledge issue until fix is released.