Page 2 of 6 FirstFirst 1234 ... LastLast
Results 16 to 30 of 90

Thread: Проблема с установкой wget и wget-ssl

  1. #16

    Проблема с установкой wget и wget-ssl

    Всем привет. Возникла такая проблема при попытке установить wget-ssl.
    Code:
    [@asus ]$ ipkg install wget-ssl
    Installing wget-ssl (1.11.3-1) to root...
    Nothing to be done
    An error ocurred, return value: 1.
    Collected errors:
    ERROR: The following packages conflict with wget-ssl:
             wget
    В тоже время если попробовать удалить - то получаю это же:
    Code:
    [@asus ]$ ipkg remove wget
    No packages removed.
    Nothing to be done
    Successfully terminated.
    Установить wget так же не получается:
    Code:
    [@asus ]$ ipkg install wget
    Installing wget (1.11.3-1) to root...
    Nothing to be done
    An error ocurred, return value: 1.
    Collected errors:
    ERROR: The following packages conflict with wget:
             wget-ssl
    Хотя пакета wget-ssl вроде бы тоже в системе нет:
    Code:
    [@asus ]$ ipkg remove wget-ssl
    No packages removed.
    Nothing to be done
    Successfully terminated.
    Замкнутый круг какой-то :-/
    Может кто сталкивался?
    Хочется поставить полноценный wget-ssl , чтобы его и ADOS использовал и вообще его для закачек юзать.

  2. #17
    Join Date
    Feb 2008
    Location
    Moscow, Tver
    Posts
    3,962
    Что показывает
    ipkg list_installed
    В списке есть оба пакета?

  3. #18
    Quote Originally Posted by vectorm View Post
    Что показывает
    ipkg list_installed
    В списке есть оба пакета?
    Нету ни того, ни другого.
    PHP Code:
    ipkg list_installed
    adduser 
    1.10.2-a multi-call binary for login and user account administration
    apr 
    1.2.12-Apache Portable Runtime library
    apr
    -util 1.2.12-Apache Portable Runtime utilities library
    autoconf 
    2.61-Creating scripts to configure source code packages using templates
    automake 
    1.10-Creates GNU standards-compliant Makefiles from template files
    bash 
    3.2.33-A bourne style shell
    bison 
    2.3-a general-purpose parser generator that converts an annotated context-free grammar into an LALR(1) or GLR parser for that gramm
    buildroot 
    4.1.1-13 uClibc compilation toolchain
    bzip2 
    1.0.5-Very high-quality data compression program
    coreutils 
    6.9-Bunch of heavyweight *nix core utilities
    cron 
    4.1-Standard vixie cronwith cron.d addition
    cups 
    1.3.7-Common Unix Printing System
    cyrus
    -sasl-libs 2.1.22-Provides client or server side authentication (see RFC 2222).
    diffutils 2.8.1-contains gnu diffcmpsdiff and diff3 to display differences between and among text files
    dtach 
    0.8-A program that emulates the detach feature of screen.
    e2fslibs 1.40.9-Ext2 Filesystem Libraries
    e2fsprogs 
    1.40.9-Ext2 Filesystem Utilities
    expat 
    2.0.1-XML Parser library
    file 
    4.24-Ubiquitous file identification utility.
    findutils 4.2.32-File finding utilities
    flex 
    2.5.34-Generates programs that perform pattern-matching on text.
    fontconfig 2.5.0-Font configuration library
    freetype 
    2.1.10-Free truetype library
    gawk 
    3.1.6-Gnu AWK interpreter
    gconv
    -modules 2.2.5-Provides gconv modules missing from the firmware.  These are used by glibcs iconv() implementation.
    gdbm 1.8.3-GNU dbm is a set of database routines that use extensible hashingIt works similar to the standard UNIX dbm routines.
    glib 2.12.13-The GLib library of C routines.
    gnutls 1.6.3-GNU Transport Layer Security Library.
    groff 1.19.2-front-end for the groff document formatting system
    hdparm 
    8.6-Linux hard drive parameter utility
    ipkg 
    0.99.149--
    libart 2.3.17-2-d graphics library.
    libcurl 7.18.1-Curl is a command line tool for transferring files with URL syntaxsupporting FTPFTPSHTTPHTTPSGOPHERTELNETDICTFI
    libdb 
    4.2.52-Berkeley DB Libraries
    libgcrypt 
    1.2.4-GNU cryptography librayneeded by gnutls
    libgd 
    2.0.35-An ANSI C library for the dynamic creation of images
    libgpg
    -error 1.4-Error handling library for libgcrypt
    libjpeg 
    6b-collection of jpeg tools
    libpng 
    1.2.29-Portable Network Graphics Libraries
    libsigc
    ++ - 2.0.18-libsigc++ implements a typesafe callback system for standard C++.
    libtasn1 0.3.10-ASN.1 structure parser library.
    libtiff 3.8.2-Tag Image File Format Libraries
    libtool 
    1.5.24-Library tools.
    libtorrent 0.12.2-libtorrent is a BitTorrent library with a focus on high performance and good code.
    libuclibc++ - 0.2.2-C++ standard library designed for use in embedded systems
    libxml2 
    2.6.32-Libxml2 is the XML C parser and toolkit developed for the Gnome project.
    libxslt 1.1.24-An XML Stylesheet processor based on libxml2
    lighttpd 
    1.4.19-A fast webserver with minimal memory footprint.
    lsof 4.78-- LiSt Open Files a diagnostic tool.
    lynx 2.8.6-A text browser for the World Wide Web
    m4 
    1.4.8-gnu macro processor and compiler front end
    make 
    3.81-examines files and runs commands necessary for compilation
    mc 
    4.6.1--
    microperl 5.8.8-11 Microperl.
    mysql 4.1.22-Popular free SQL database system
    nano 
    2.1.1-A pico like editor
    ncurses 
    5.6-NCurses libraries
    ncursesw 
    5.6-NCurses libraries with wide char support.
    neon 0.24.7-an HTTP and WebDAV client librarywith a C interface
    nmap 4.62-Nmap is a feature-rich portscanner
    openldap
    -libs 2.3.38-Open Lightweight Directory Access Protocol
    openssl 
    0.9.7m-Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari
    patch 
    2.5.9-applies a diff to produce a patched file
    pcre 
    7.7-Perl-compatible regular expression library
    perl 
    5.8.8-17 Practical Extraction and Report Language.
    php 5.2.6-The php scripting language
    php
    -fcgi 5.2.6-The php scripting languagebuilt as an fcgi module
    php
    -gd 5.2.6-libgd extension for php
    php
    -mbstring 5.2.6-mbstring extension for php
    php
    -mysql 5.2.6-mysql extension for php
    phpmyadmin 
    2.6.2-Web-based administration interface for mysql
    pkgconfig 
    0.15.0-Package configuration tool
    popt 
    1.14-A C library for parsing command line parameters.
    python 2.4.4-This is a package that sets up the default python.
    python24 2.4.5-Python is an interpretedinteractiveobject-oriented programming language.
    readline 5.2-The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are
    rrdtool 
    1.2.27-Round-Robin Database toolDatabase collator and plotter
    rsync 
    3.0.2-fast remote file copy program (like rcp)
    rtorrent 0.8.2-rtorrent is a BitTorrent client for ncursesusing the libtorrent library.
    samba 3.0.28a-Samba suite provides file and print services to SMB/CIFS clients.
    screen 4.0.3-A screen manager that supports multiple logins on single terminal
    sed 
    4.1.5-Stream editor.
    slang 2.1.3-S-Lang is a multi-platform library designed to allow a developer to create robust multi-platform software.
    sqlite 3.5.9-SQLite is a small C library that implements a self-containedembeddablezero-configuration SQL database engine.
    svn 1.4.6-a compelling replacement for CVS
    tar 
    1.20-heavyweight version of the Tape ARchiver
    termcap 
    1.3.1-Terminal emulation library
    uclibc
    -opt 0.9.28-13 micro C library for embedded Linux systems
    vnstat 
    1.6-Network traffic monitor with log
    weechat 
    0.2.6-- (Wee Enhanced Environment for Chatis a fast and light IRC client.
    xinetd 2.3.14-Highly configurablemodular and secure inetd
    xmlrpc
    -1.11.00-A library providing modular implementation of XML-RPC for and C++.
    zlib 1.2.3-zlib is a library implementing the deflate compression system.
    Successfully terminated

  4. #19
    Join Date
    Dec 2007
    Location
    Санкт-Петербург
    Posts
    125
    Как выход из положения:
    Code:
    ipkg install wget-ssl -force-depends
    Катящиеся камни не обрастают мхом...

  5. #20

    Rapidshare free + wget (curl)

    С июля рапидшара отменила картинки для скачивания.
    Вот здесь: Jasons blog был обнаружен скрипт (с комментариями) для закачки с рапидшары с помощью wget или curl.
    Скрипт:
    Code:
    #!/bin/bash
    
    ################################################
    #Purpose: Automate the downloading of files from rapidshare using the free account 
    #using simple unix tools.
    #Date: 14-7-2008
    #Authors: Slith, Tune
    #Improvements, Feedback, comments: Please go to http://emkay.unpointless.com/Blog/?p=63
    #Notes: To use curl instead of wget use 'curl -s' and 'curl -s -d'
    #Version: 1.1
    ################################################
    
    #IMPORTANT! - PLEASE SHARE ALL IMPOROVEMENTS MADE.
    
    #Thanks to Tune for getting rid of the curl dependency, extracting the correct wait time and
    #makeing it work with file downloads other than .rar files.
    
    #TODO: Ignore new lines in input file
    #TODO: Make work concurrently with a list of proxys
    #TODO: If possible resume partially downloaded files using another mirror / move to next mirror
    #if the attempted mirror is down.
    
    mirror=dt.rapidshare.com;
    
    ## possible mirrors
    # cg.rapidshare.com
    # l34.rapidshare.com
    # tg.rapidshare.com
    # gc2.rapidshare.com
    # dt.rapidshare.com
    # tl2.rapidshare.com
    # l32.rapidshare.com
    # l3.rapidshare.com
    # gc.rapidshare.com
    # l33.rapidshare.com
    # tl.rapidshare.com
    # cg2.rapidshare.com
    
    while read line
    do
    	URL=$(wget -q -O - $line | grep "<form id=\"ff\" action=\"" | grep -o 'http://[^"]*');
    	output=$(wget -q -O - --post-data "dl.start=Free" "$URL");
    	time=$(echo "$output" | grep "var c=[0-9]*;" | grep -o "[0-9]\{1,3\}");
    
    	ourfile=$(echo "$output" | grep "document.dlf.action=" | grep -o "http://[^\"]*$mirror[^\\]*");
    	echo "Waiting $time secs for download of $ourfile";
    	sleep $time;
    	wget $ourfile;
    
    done < input.txt
    Однако на wl500g он не работает, поскольку для извлечения ссылки на файл использует "grep -o" (извлечение только подстроки соответствующей шаблону). Нужна помощь в переделке его в рабочий вид.

  6. #21
    Join Date
    Nov 2007
    Location
    Belarus, Gomel
    Posts
    168

    [РЕШЕНО] Ошибка после обновления wget

    wget после обновления до версии 1.12-1 перестал "работать". Попытка обновиться или установить пакет приводит к подобной ошибке:
    Code:
     
    [admin@wl500gP root]$ ipkg update
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz
    wget: can't load library 'libidn.so.11'
    An error ocurred, return value: 1.
    Collected errors:
    ipkg_download: ERROR: Command failed with return value 16: `wget     -P /opt/ipkg-lOsBh1 http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz'
    И, что обидно, штатными средствами не удаётся загрузить предыдущую версию wget. Можно ли решить проблему средствами самого роутера, не прибегая к загрузке предыдущей версии или недостающей библиотеки на внешнем компьютере?
    Last edited by Lupo_Alberto; 25-09-2009 at 11:58. Reason: Проблема решена

  7. #22
    Join Date
    Jul 2009
    Location
    Чебоксары
    Posts
    383
    Code:
    Configuration file '/opt/etc/wgetrc'
        ==> File on system created by you or by a script.
        ==> File also in package provided by package maintainer.
           What would you like to do about it ?  Your options are:
            Y or I  : install the package maintainer's version
            N or O  : keep your currently-installed version
              D     : show the differences between the versions (if diff is installed)
         The default action is to keep your current version.
        *** wgetrc (Y/I/N/O/D) [default=N] ?
    Сегодня тоже обновил, нажал N, правильно ли сделал? Я так понимаю, что конфигурация при этом сохраняется, или просто версия не обновилась. Так ли это? Не помню какая версия была, сейчас ADOS показывает - 1.12.

    p.s. Вроде все работает...

  8. #23
    Join Date
    Nov 2007
    Location
    Belarus, Gomel
    Posts
    168
    У меня версия чуть новее и не работает - Version: 1.12-1

  9. #24
    Лекарство:
    ipkg remove wget
    ipkg update
    ipkg install wget

  10. #25
    Join Date
    Nov 2007
    Location
    Belarus, Gomel
    Posts
    168
    Quote Originally Posted by Dr. View Post
    Лекарство:
    ipkg remove wget
    ipkg update
    ipkg install wget
    Спасибо, "лекарство" помогло.

  11. #26
    Join Date
    Dec 2008
    Location
    Moscow
    Posts
    83

    Lightbulb wget: export http_proxy не переназначает определение http_proxy в wgetrc

    давно использую wget, в том числе и для хождения через прокси, для чего определил в /opt/etc/wgetrc соответствующий параметр

    Code:
    # You can set the default proxies for Wget to use for http and ftp.
    # They will override the value in the environment.
    #http_proxy = http://proxy.yoyodyne.com:18023/
    теперь же пытаюсь настроить динамическую смену прокси (на случай если выбранный на данный момент прокси не отвечает), и обнаружил, что пока прокси явно определен в /opt/etc/wgetrc никакие изменения env не помогают и wget настойчиво использует прокси из /opt/etc/wgetrc

    пробовал

    Code:
    http_proxy='http://newproxy:8080/'
    export http_proxy
    пробовал

    Code:
    export http_proxy='http://newproxy:8080/'
    один фиг в моем шелл скрипте команда env показывает что дескать переменная http_proxy=http://newproxy:8080/ но wget видеть не хочет

    Однако, если прокси не прописывать в /opt/etc/wgetrc то export работает, точнее видится и wget реагирует на изменения переменной http_proxy!

    Кто баловался с этим? Знакомые грабли?
    Last edited by the; 04-10-2009 at 19:01. Reason: ВЕРСИЯ: wget-ssl - 1.11.4-1 - A network utility to retrieve files from the Web
    wl-500gp v2 + tor + polipo + барахло всякое на python

  12. #27

    Как с помощью wget качать длинные ссылки?

    Как правильно писать для wget длинные ссылки,
    просто если ссылка очень длинная, то почему-то последние символы
    обрезаются и закачка не идет?

  13. #28
    Join Date
    Nov 2007
    Location
    Belarus, Gomel
    Posts
    168
    Попробуйте брать их в 'кавычки'

  14. #29
    Не получается, такое впечатление, что работает ограничение на длину строки, могу набрать только это:
    wget -P/opt/download/ 'http://93.84.113.212:8085/getfile.php?id=29436764&access_key=e35b9bfd00ff452 c64051f9ca09ec3a5&t=4aef4eb7&o=EF27A795882514EC4DB 725C90F293F0FEF3BA695882514F050B727C906333F0C9D49D 59196207BB21DE93BB070293C13ED27&name=%D0%A2%D0%B0% D0%B'
    А надо:
    ttp://93.84.113.212:8085/getfile.php?id=29436764&access_key=e35b9bfd00ff452 c64051f9ca09ec3a5&t=4aef4eb7&o=EF27A795882514EC4DB 725C90F293F0FEF3BA695882514F050B727C906333F0C9D49D 59196207BB21DE93BB070293C13ED27&name=%D0%A2%D0%B0% D0%B9%D0%BD%D0%B0%20%D0%A7%D0%B8%D0%BD%D0%B3%D0%B8%D1% 81%20%D0%A5%D0%B0%D0%B0%D0%BD%D0%B0%20%28DVDRip%29 %20%D0%91%D0%9E%D0%A1%D0%A1%20%5Btumbochka.com%5D. part6.rar
    То что жирным, не набирается, пробовал ложить ссылку в файл, но wget все равно берет только кусок, может можно как-то разделить ссылку на 2 части?

  15. #30
    agolub
    Не получается
    Не получается набрать длинную строку в терминале или просто не идет закачка?
    И приведенном примере какие-то странные пробелы... Они там точно должны быть?
    Ceterum censeo, Carthaginem esse delendam.
    wl500gp v1 + 1.9.2.7-d-r655 + hdd

Page 2 of 6 FirstFirst 1234 ... LastLast

Similar Threads

  1. Проблемы с установкой пакетов OptWare & EntWare
    By djserg-minyar in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 64
    Last Post: 06-05-2015, 15:08
  2. Проблемы с установкой и настройкой VPN сервера poptop
    By icCE in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 123
    Last Post: 27-07-2012, 11:09
  3. wget update
    By duvik in forum WL-500gP Q&A
    Replies: 11
    Last Post: 02-07-2012, 22:19
  4. Replies: 32
    Last Post: 13-06-2008, 15:10

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •