Error trying to update Omega2 to latest software! [Resolved]

  • We're just attempting to install the latest (-l) software package.
    The update went fine, but deleted all of the additional files from the Onion.
    Now we're trying to re-install PHP 7, but getting errors from the install:

    *root@Omega-DDE9:~# opkg install php7
    Package php7 (7.2.16-1) installed in root is up to date.
    root@Omega-DDE9:~# opkg install php7-cli
    Unknown package 'php7-cli'.
    Collected errors:
    *opkg_install_cmd: Cannot install package php7-cli.

    Not sure how to proceed, or where to find the php7-cli package!

    Any ideas?


  • @Orrin-Charm
    Check which repo's you have enabled: How to Switch Back to the Official LEDE Package Repos

    The update may have switched you back to using the Onion repo's only. Remember to reboot and opkg update if you change your distfeeds.conf file.

  • @Orrin-Charm Presumably you have just installed the v0.3.2 b222 firmware.
    Please enable / uncomment the fifth (5th) line in the '/etc/opkg/distfeeds.conf' file.

    # Omega2+ FW v0.3.2 b222
    root@Omega-5BE1:/# cat /etc/opkg/distfeeds.conf
    #src/gz openwrt_core
    #src/gz openwrt_base
    #src/gz openwrt_luci
    #src/gz openwrt_onion
    src/gz openwrt_packages
    #src/gz openwrt_routing
    #src/gz openwrt_telephony
    src/gz omega2_core
    src/gz omega2_base
    src/gz omega2_packages
    src/gz omega2_routing
    src/gz omega2_onion
    root@Omega-5BE1:/# opkg update
    root@Omega-5BE1:/# opkg list | grep -i php7-cli
    php7-cli - 7.2.16-1 - PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. This package contains the CLI version of the PHP7 interpreter.

    Good luck!

  • @György-Farkas Thanks! That fixed it!!

Looks like your connection to Community was lost, please wait while we try to reconnect.