OpenWRT 18.06 no have some packages



  • OpenWRT 18.06 not have the following packages:

    -nano
    -php7-mod-mcrypt

    Please help

    Best regards



  • Yeah, I can't get nano anymore either.



  • @Adrian-Aguirre @oliolioli For example on FW v0.3.2 b218 edit the '/etc/opkg/distfeeds.conf' file and enable / uncomment the fifth (5th) line:
    src/gz openwrt_packages http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages

    root@Omega-99A5:/# cat /etc/opkg/distfeeds.conf
    #src/gz openwrt_core http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages
    #src/gz openwrt_base http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base
    #src/gz openwrt_luci http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci
    #src/gz openwrt_onion http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/onion
    src/gz openwrt_packages http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages
    #src/gz openwrt_routing http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing
    #src/gz openwrt_telephony http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony
    src/gz omega2_core http://repo.onioniot.com/omega2/packages/core
    src/gz omega2_base http://repo.onioniot.com/omega2/packages/base
    src/gz omega2_packages http://repo.onioniot.com/omega2/packages/packages
    src/gz omega2_routing http://repo.onioniot.com/omega2/packages/routing
    src/gz omega2_onion http://repo.onioniot.com/omega2/packages/onion
    
    root@Omega-99A5:/# opkg update
    Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_packages
    Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.sig
    Signature check passed.
     ...
    
    root@Omega-99A5:/# opkg list | grep -i nano
    nano - 3.2-1 - Nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone of the Pico text editor.
    
    root@Omega-99A5:/# opkg list | grep -i php7
     ...
    
    

    BTW There isn't / I can not find 'php7-mod-mcrypt'.


    You could edit '/etc/opkg/distfeeds.conf' - for example - whith vi.

    If you are not familiar with vi than you could run these commands - for example -

    • to enable / uncomment the fifth (5th) line:
      sed -i '5s/^#//' /etc/opkg/distfeeds.conf
      opkg update
    • or to disable / comment out the fifth (5th) line:
      sed -i '5s/^/#/' /etc/opkg/distfeeds.conf
      opkg update
    • You could "restore" the original file with:
      cp /etc/opkg/distfeeds.conf.new /etc/opkg/distfeeds.conf
      opkg update

    Good luck.



  • @György-Farkas said in OpenWRT 18.06 no have some packages:

    php7-mod-mcrypt

    Hi @György-Farkas

    I add the next line

    add your custom package feeds here

    http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/

    Next:

    opkg update
    opkg install nano

    Installing nano (3.2-1) to root...
    Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages//nano_3.2-1_mipsel_24kc.ipk
    Collected errors:

    • opkg_install_cmd: Cannot install package nanoopkg.
    • opkg_install_cmd: Cannot install package install.
    • satisfy_dependencies_for: Cannot satisfy the following dependencies for nano:
    •  libncurses6 *
      
    • opkg_install_cmd: Cannot install package nano.

    :(

    Best regards



  • @Adrian-Aguirre Did you read my post? I wrote (if you want to install nano):

    • enable / uncomment the appropriate line of the '/etc/opkg/distfeeds.conf' file
      for example on FW v0.3.2 b218 this is the fifth (5th) line
    • run opkg update
    • I'm sorry, I forgot to write (because I thought it's obvious)
      run opkg install nano

    And I really did not find the OpenWrt 18.06 'php7-mod-mcrypt' package (2019-03-11).
    See also: OpenWrt Packages

    Best regards. :-)



  • @György-Farkas

    And I really did not find the OpenWrt 18.06 'php7-mod-mcrypt' package (2019-03-11).
    See also: OpenWrt Packages

    I was interested in uncovering where it went and found this in the OpenWrt 18.06 php7 package changelogs for the php7.2.0 commit:

    Also drop mcrypt module as it's deprecated.

    php7: update to 7.2.0

    So @Adrian-Aguirre I suppose you will have to review why it was deprecated and what the current best practises are around using the mcrypt functionality.
    [edit]
    Deprecated features in PHP 7.1.x
    Migrating from PHP 7.1.x to PHP 7.2.x -> Other changes
    [/edit]



  • @Adrian-Aguirre You may modify also the '/etc/opkg/customfeeds.conf' file and can use also OpenWrt 'snapshots' of course.

    Installing OpenWrt development snapshots
    In a nutshell:
    Q: I am a standard consumer, do I want a development snapshot firmware?
    A: No!

    In detail: Development builds / snapshots

    nano Version: 3.2-1
    Dependencies: libc, libssp, libncurses

    So - I think - it's much more simple to use the usual method.

    Good luck.



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