Problem installing leech manually

Issue #8 invalid
renatorga created an issue

Good night. Amazing job but i am having some problem because as dependencies has mktemp but the package is coreutils-mktemp_8.23-1_ar71xx.ipk even when i install this one <- the program don't found and dont go through.

Ps: sorry for my english Ps2 : i am installing manually because my sip has decide to block openwrt.org so before i do the vpn i am trying this way

Comments (6)

  1. Aleksey Tulinov repo owner

    Hi, i assume you're using it on OpenWRT.

    Could you share details on what exactly you're running and what error messages are displayed? Preferably a copy-paste of console input/output, if there is any private info (like feed URL), it's OK to strip it from output.

    I assume you're following this instruction (INSTALL AS USER): https://bitbucket.org/alekseyt/leech#markdown-header-install-as-user, is that correct? In that case i'm particularly interested in what is printed to console when you run CONFIG_DIR=config ./sbin/leech or equivalent call if you've changed directories.

    Could you also post the output of which mktemp, mktemp and mktemp -t abc.XXXXXX commands? If mktemp is not found, could you possibly locate directory on disk where it is installed (i assume it is installed somewhere from coreutils-mktemp_8.23-1_ar71xx.ipk package).

    Thanks.

  2. renatorga reporter
    hi, 
    Thanks for reply so quick 
    yes iam using openwrt 
    
    leech is not yet installed because of the error below
    
    this is the error | |
              v v   
    root@OpenWrt:/# opkg install leech_1.5-2_optware_all.ipk
    Installing leech (1.5-2) to root...
    Collected errors:
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for leech:
     *      mktemp *
     * opkg_install_cmd: Cannot install package leech.
    root@OpenWrt:/# opkg list-installed |grep mktemp
    coreutils-mktemp - 8.23-1
    
    "Could you also post the output of which mktemp, mktemp and mktemp -t abc.XXXXXX commands? If mktemp is not found, could you possibly locate directory on disk where it is installed (i assume it is installed somewhere from coreutils-mktemp_8.23-1_ar71xx.ipk package)."
    
    
    root@OpenWrt:/# ls /usr/bin/ |grep mktemp
    mktemp
    root@OpenWrt:/# ls /bin/ |grep mktemp
    mktemp
    root@OpenWrt:/# mktemp
    /tmp/tmp.L0wCoCSXFL
    root@OpenWrt:/#  mktemp -t abc.XXXXXX
    /tmp/abc.KodGlJ
    root@OpenWrt:/# opkg status coreutils-mktemp
    Package: coreutils-mktemp
    Version: 8.23-1
    Depends: libc, coreutils
    Status: install user installed
    Architecture: ar71xx
    Installed-Time: 1465947948
    
  3. Aleksey Tulinov repo owner

    I think it's just a wrong package. leech_1.5-2_optware_all.ipk is a package for Optware, for OpenWRT you could use leech_1.5-2_all.ipk - that package doesn't have dependency on mktemp and should install.

  4. renatorga reporter
    hi, you help a lot was exactly that the wrong package. 
    when i use leech_1.5-2_all.ipk works fine. 
    thank you so much
    sorry to bother
    
  5. Log in to comment