Can't install nginx-ssl on master - missing package (LuCI bug)

I've been running self-compiled builds (based on v22 I presume) successfully for some time now on a Dell x86 SFF PC. I now need to set up a small web server using nginx-ssl but can't because of the following error:

  • Required dependency package nginx-ssl-util (>=1.5-1) is not available in any repository.

Is this package in the process of being updated to 22.03 or should I install Apache which doesn't appear to have any missing packages?

It is already there....

That's weird. Any reason why it doesn't show up? I've updated the software lists in LUCI.

I haven't done a new build for a couple of weeks so would creating one fix this?

Even weirder - just did opkg update && opkg --noaction install nginx-ssl and it was downloaded but try to install via LUCI and it still says not available

I have no idea what the contents of your /etc/opkg/distfeeds.conf
(are you even trying to update from the correct repo?)

You might show the output of "opkg update"

distfeeds

src/gz openwrt_core https://downloads.openwrt.org/snapshots/targets/x86/64/packages
src/gz openwrt_base https://downloads.openwrt.org/snapshots/packages/x86_64/base
src/gz openwrt_kmods https://downloads.openwrt.org/snapshots/targets/x86/64/kmods/5.10.142-1-d550584f210c3a802b7e21516551e888
src/gz openwrt_luci https://downloads.openwrt.org/snapshots/packages/x86_64/luci
src/gz openwrt_packages https://downloads.openwrt.org/snapshots/packages/x86_64/packages
src/gz openwrt_routing https://downloads.openwrt.org/snapshots/packages/x86_64/routing
src/gz openwrt_telephony https://downloads.openwrt.org/snapshots/packages/x86_64/telephony

Output of opkg update

Downloading https://downloads.openwrt.org/snapshots/targets/x86/64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/x86/64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/x86/64/kmods/5.10.142-1-d550584f210c3a802b7e21516551e888/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/x86/64/kmods/5.10.142-1-d550584f210c3a802b7e21516551e888/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/x86_64/telephony/Packages.sig
Signature check passed.

Is there a specific reason you are using the snapshot version?

Related:
Read here for possible solutions.

Wrong. Based on opkg output, you are running the development master, snapshot builds from there.

But even there, the package is normally in the download repo:

Ps.
what does your your /etc/banner or /etc/openwrt_release say the version to be ?

OpenWrt SNAPSHOT r20614-c27279dc26

As asked earlier… do you need to run snapshot for any specific reason? The stable release builds are almost always easier. 22.03.0 was released not long ago.

Internal development system

That doesn’t really answer the question about why you are using snapshots. You can run internal dev systems with the stable releases.

Regardless of running master or 22.03.x, it is curious that you say that opkg shows the package available on SSH console, while it remains unavailable on LuCI. Right?
Can you provide text outputs of both outcomes?

1 Like

We need snapshots for what we are developing.

Ok. If that is the case, you need to plan around that - make a mirror of the snapshot repo or keep your own local build of all of the required packages.

Snapshots will be out of sync in as little as 24 hours, meaning you need to install all packages the same day as you install the snapshot, or instal a new snapshot whenever you need to install things (or, keep a local copy as I mentioned above).

1 Like

It may work better for you to set up a build system and self-build a static snapshot. You can always return to it and build more packages as you need them. If bugs or missing packages occur in the daily snapshots you won't be affected.

1 Like

Screenshot from 2022-09-29 16-35-03

@jow
This might interest you.
master snapshot showing a package available for opkg in SSL console but not on LuCI. (nginx-ssl >= 1.5-1)

(master, not 22.03 although OP claimed that on thread title)

I first thought that might be too old buildd before the fix for luci-app-opkg in early August (below), but this looks like a build from mid-September.

In reference to my previous message, I assume that you have updated the feeds (like LuCI) before doing the build in September?
What is the version of the installed luci-app-opkg ???
Is it git-22.213.50348-43cea79 ?

root@router1:~# opkg list-installed | grep opkg
luci-app-opkg - git-22.213.50348-43cea79
opkg - 2022-02-24-d038e5b6-1

I get the same "not available" from LuCI in a up-to-date master:
(LuCI Master git-22.260.19132-34dd31a / OpenWrt SNAPSHOT r20779-c5e167e0d6)

SSL console opkg show it there:


root@router1:~# opkg list | grep nginx-ssl
nginx-ssl - 1.21.3-2 - nginx is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. This variant is compiled with SSL support enabled. To enable additional module select them in the nginx default configuration menu.
nginx-ssl-util - 1.6-14 - Utility that builds dynamically LAN listen directives for Nginx. Furthermore, it manages SSL directives for its server parts and can create corresponding (self-signed) certificates. It uses the PCRE library for performance.
nginx-ssl-util-nopcre - 1.6-14 - Utility that builds dynamically LAN listen directives for Nginx. Furthermore, it manages SSL directives for its server parts and can create corresponding (self-signed) certificates. It uses the standard regex library of C++.
uwsgi - 2.0.20-1 - The uWSGI project (to be used together with nginx or nginx-ssl).

Looks like a genuine bug in master.

EDIT:

@jow

Interestingly, the nginx-ssl-util is actually shown twice by LuCI.
The first line with a version requirement fails, while the second line without the version req shows the package available.