Bug #4930
IPS repository web interface shows only packages for some component revisions
0%
Description
Hi,
Web interface on HOME page (http://pkg.openindiana.org/hipster-2014.1/en/index.shtml) tells us:
Publisher openindiana.org Packages 2934 Last Updated 2014-06-16 06:54:37
If you browse (only 151.1.8.1 is available, http://pkg.openindiana.org/hipster-2014.1/en/catalog.shtml?version=0.5.11%2C0.5.11-0.151.1.8.1&action=Browse) it shows ONLY 345 package(s)
From other side, CLI also stopped to work:
$ pkgrecv -s http://pkg.openindiana.org/hipster-2014.1/ --newest pkgrecv: http protocol error: code: 500 reason: Internal Server Error URL: 'http://pkg.openindiana.org/hipster-2014.1/publisher/0/'
NOTE: this works fine:
pkgrecv -s http://pkg.openindiana.org/hipster/ --newest
Also, during move from /hipster to /hipster-2014.1 I had to use:
$ pfexec pkg set-publisher -O http://pkg.openindiana.org/hipster-2014.1 openindiana.org
instead of:
$ pfexec pkg set-publisher -p http://pkg.openindiana.org/hipster-2014.1
like it is described on http://wiki.openindiana.org/oi/Hipster (Switching to "hipster" branch). In both cases I've got same error:
http protocol error: code: 500 reason: Internal Server Error URL: 'http://pkg.openindiana.org/hipster-2014.1/publisher/0/'
but setting publisher with switch '-O' worked!
Is this normal behavior or not?
What we have to do in order to SEE and GET new(er) packages?
Regards.
Files
Updated by Predrag Zečević over 6 years ago
Update:
$ uname -rosv SunOS 5.11 illumos-b461c74 Solaris
this now works:
$ pkgrecv -s http://pkg.openindiana.org/hipster-2014.1/ --newest
and IPS web interface for it still shows less packages... http://pkg.openindiana.org/hipster-2014.1/en/index.shtml -> Packages 2943
But, http://pkg.openindiana.org/hipster-2014.1/en/catalog.shtml?version=0.5.11%2C0.5.11-2014.1.1.0&action=Browse display just 10 packages.
Regards
Updated by Nikola M. over 4 years ago
Please see if you can reproduce with newest Oi /hipster publisher
Updated by Predrag Zečević over 4 years ago
Update:
just loaded latest /hipster build:
$ uname -rosv SunOS 5.11 illumos-0f5217f Solaris
Web interface http://pkg.openindiana.org/hipster/en/index.shtml currently shows:
Publisher openindiana.org Packages 3562 Last Updated 2016-06-16 19:01:52
Clicking on Browse button opens http://pkg.openindiana.org/hipster/en/catalog.shtml?version=0.5.11%2C0.5.11-2016.0.0.0&action=Browse page which at the bottom displays
808 package(s)
Running:
$ pkgrecv -s http://pkg.openindiana.org/hipster/ --newest > ~/tmp/pkg.openindiana.org_hipster--newest.txt $ wc -l ~/tmp/pkg.openindiana.org_hipster--newest.txt 3562 /export/home/predrag_zecevic/tmp/pkg.openindiana.org_hipster--newest.txt
which is number reported on web interface initial page.
I was complaining about being not possible to see all of them when clicking on Browse.
If that is not possible to implement, then we should close this issue.
Regards.
Updated by Predrag Zečević over 4 years ago
Moreover, when trying to get year from last parto of package ID, example for apache:
pkg://openindiana.org/web/server/apache-24@2.4.20-2016.0.0.0:20160616T182736Z
it shows this:
$ awk -F ":" '{print substr($NF, 0,4)}' ~/tmp/pkg.openindiana.org_hipster--newest.txt | sort | uniq -c | sort -rn 2730 2016 832 2015
Regards
Updated by Aurélien Larcher over 4 years ago
As explained by Adam the pkg version running on servers is old so it is better to check if the same pattern applies with current pkg.
Plus the branch shows 2016.0.0.0 which means component revision = 0 (last digit).
If a package has component revision > 0 it should not show: you get what you ask for.
Updated by Aurélien Larcher over 4 years ago
- Subject changed from /hipster-2014.1 repository web interface shows not all packages (same is true fot /hipster) to IPS repository web interface shows only packages for some component revisions