Что показывает
ipkg list_installed
В списке есть оба пакета?
Всем привет. Возникла такая проблема при попытке установить 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
Установить wget так же не получается:Code:[@asus ]$ ipkg remove wget No packages removed. Nothing to be done Successfully terminated.
Хотя пакета wget-ssl вроде бы тоже в системе нет: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
Замкнутый круг какой-то :-/Code:[@asus ]$ ipkg remove wget-ssl No packages removed. Nothing to be done Successfully terminated.
Может кто сталкивался?
Хочется поставить полноценный wget-ssl , чтобы его и ADOS использовал и вообще его для закачек юзать.
Что показывает
ipkg list_installed
В списке есть оба пакета?
Было: WL500gP (fw 1.9.2.7-10-USB-1.71) + Toshiba TravelStar 250Gb 2.5" inside router.
(ADOS + rTorrent WebUI+rtorrent + samba + rrdtool + XMail + QuiXplorer + ClamAV)
> Мои инструкции < Для новичков и ленивых > Wiki переехало сюда < "Ночные" сборки >
Нету ни того, ни другого.
PHP Code:
ipkg list_installed
adduser - 1.10.2-1 - a multi-call binary for login and user account administration
apr - 1.2.12-1 - Apache Portable Runtime library
apr-util - 1.2.12-1 - Apache Portable Runtime utilities library
autoconf - 2.61-2 - Creating scripts to configure source code packages using templates
automake - 1.10-2 - Creates GNU standards-compliant Makefiles from template files
bash - 3.2.33-1 - A bourne style shell
bison - 2.3-2 - 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-1 - Very high-quality data compression program
coreutils - 6.9-7 - Bunch of heavyweight *nix core utilities
cron - 4.1-7 - Standard vixie cron, with cron.d addition
cups - 1.3.7-1 - Common Unix Printing System
cyrus-sasl-libs - 2.1.22-2 - Provides client or server side authentication (see RFC 2222).
diffutils - 2.8.1-6 - contains gnu diff, cmp, sdiff and diff3 to display differences between and among text files
dtach - 0.8-1 - A program that emulates the detach feature of screen.
e2fslibs - 1.40.9-1 - Ext2 Filesystem Libraries
e2fsprogs - 1.40.9-1 - Ext2 Filesystem Utilities
expat - 2.0.1-1 - XML Parser library
file - 4.24-1 - Ubiquitous file identification utility.
findutils - 4.2.32-1 - File finding utilities
flex - 2.5.34-1 - Generates programs that perform pattern-matching on text.
fontconfig - 2.5.0-0 - Font configuration library
freetype - 2.1.10-4 - Free truetype library
gawk - 3.1.6-1 - Gnu AWK interpreter
gconv-modules - 2.2.5-7 - Provides gconv modules missing from the firmware. These are used by glibcs iconv() implementation.
gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
glib - 2.12.13-1 - The GLib library of C routines.
gnutls - 1.6.3-1 - GNU Transport Layer Security Library.
groff - 1.19.2-2 - front-end for the groff document formatting system
hdparm - 8.6-1 - Linux hard drive parameter utility
ipkg - 0.99.149-2 -
libart - 2.3.17-2 - 2-d graphics library.
libcurl - 7.18.1-2 - Curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FI
libdb - 4.2.52-3 - Berkeley DB Libraries
libgcrypt - 1.2.4-1 - GNU cryptography libray, needed by gnutls
libgd - 2.0.35-2 - An ANSI C library for the dynamic creation of images
libgpg-error - 1.4-1 - Error handling library for libgcrypt
libjpeg - 6b-2 - collection of jpeg tools
libpng - 1.2.29-1 - Portable Network Graphics Libraries
libsigc++ - 2.0.18-1 - libsigc++ implements a typesafe callback system for standard C++.
libtasn1 - 0.3.10-1 - ASN.1 structure parser library.
libtiff - 3.8.2-1 - Tag Image File Format Libraries
libtool - 1.5.24-1 - Library tools.
libtorrent - 0.12.2-1 - libtorrent is a BitTorrent library with a focus on high performance and good code.
libuclibc++ - 0.2.2-8 - C++ standard library designed for use in embedded systems
libxml2 - 2.6.32-1 - Libxml2 is the XML C parser and toolkit developed for the Gnome project.
libxslt - 1.1.24-1 - An XML Stylesheet processor based on libxml2
lighttpd - 1.4.19-3 - A fast webserver with minimal memory footprint.
lsof - 4.78-1 - LiSt Open Files - a diagnostic tool.
lynx - 2.8.6-1 - A text browser for the World Wide Web
m4 - 1.4.8-1 - gnu macro processor and compiler front end
make - 3.81-2 - examines files and runs commands necessary for compilation
mc - 4.6.1-7 -
microperl - 5.8.8-11 - Microperl.
mysql - 4.1.22-2 - Popular free SQL database system
nano - 2.1.1-1 - A pico like editor
ncurses - 5.6-3 - NCurses libraries
ncursesw - 5.6-2 - NCurses libraries with wide char support.
neon - 0.24.7-2 - an HTTP and WebDAV client library, with a C interface
nmap - 4.62-1 - Nmap is a feature-rich portscanner
openldap-libs - 2.3.38-1 - Open Lightweight Directory Access Protocol
openssl - 0.9.7m-4 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari
patch - 2.5.9-3 - applies a diff to produce a patched file
pcre - 7.7-1 - Perl-compatible regular expression library
perl - 5.8.8-17 - Practical Extraction and Report Language.
php - 5.2.6-1 - The php scripting language
php-fcgi - 5.2.6-1 - The php scripting language, built as an fcgi module
php-gd - 5.2.6-1 - libgd extension for php
php-mbstring - 5.2.6-1 - mbstring extension for php
php-mysql - 5.2.6-1 - mysql extension for php
phpmyadmin - 2.6.2-2 - Web-based administration interface for mysql
pkgconfig - 0.15.0-1 - Package configuration tool
popt - 1.14-1 - A C library for parsing command line parameters.
python - 2.4.4-3 - This is a package that sets up the default python.
python24 - 2.4.5-1 - Python is an interpreted, interactive, object-oriented programming language.
readline - 5.2-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-1 - Round-Robin Database tool. Database collator and plotter
rsync - 3.0.2-1 - fast remote file copy program (like rcp)
rtorrent - 0.8.2-1 - rtorrent is a BitTorrent client for ncurses, using the libtorrent library.
samba - 3.0.28a-2 - Samba suite provides file and print services to SMB/CIFS clients.
screen - 4.0.3-2 - A screen manager that supports multiple logins on single terminal
sed - 4.1.5-3 - Stream editor.
slang - 2.1.3-1 - S-Lang is a multi-platform library designed to allow a developer to create robust multi-platform software.
sqlite - 3.5.9-1 - SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
svn - 1.4.6-1 - a compelling replacement for CVS
tar - 1.20-1 - heavyweight version of the Tape ARchiver
termcap - 1.3.1-2 - Terminal emulation library
uclibc-opt - 0.9.28-13 - micro C library for embedded Linux systems
vnstat - 1.6-1 - Network traffic monitor with log
weechat - 0.2.6-1 - (Wee Enhanced Environment for Chat) is a fast and light IRC client.
xinetd - 2.3.14-7 - Highly configurable, modular and secure inetd
xmlrpc-c - 1.11.00-3 - A library providing modular implementation of XML-RPC for C and C++.
zlib - 1.2.3-2 - zlib is a library implementing the deflate compression system.
Successfully terminated.
Как выход из положения:
Code:ipkg install wget-ssl -force-depends
Катящиеся камни не обрастают мхом...
С июля рапидшара отменила картинки для скачивания.
Вот здесь: Jasons blog был обнаружен скрипт (с комментариями) для закачки с рапидшары с помощью wget или curl.
Скрипт:
Однако на wl500g он не работает, поскольку для извлечения ссылки на файл использует "grep -o" (извлечение только подстроки соответствующей шаблону). Нужна помощь в переделке его в рабочий вид.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
wget после обновления до версии 1.12-1 перестал "работать". Попытка обновиться или установить пакет приводит к подобной ошибке:
И, что обидно, штатными средствами не удаётся загрузить предыдущую версию wget. Можно ли решить проблему средствами самого роутера, не прибегая к загрузке предыдущей версии или недостающей библиотеки на внешнем компьютере?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'
Last edited by Lupo_Alberto; 25-09-2009 at 11:58. Reason: Проблема решена
Сегодня тоже обновил, нажал N, правильно ли сделал? Я так понимаю, что конфигурация при этом сохраняется, или просто версия не обновилась. Так ли это? Не помню какая версия была, сейчас ADOS показывает - 1.12.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] ?
p.s. Вроде все работает...
У меня версия чуть новее и не работает - Version: 1.12-1
Лекарство:
ipkg remove wget
ipkg update
ipkg install wget
давно использую wget, в том числе и для хождения через прокси, для чего определил в /opt/etc/wgetrc соответствующий параметр
теперь же пытаюсь настроить динамическую смену прокси (на случай если выбранный на данный момент прокси не отвечает), и обнаружил, что пока прокси явно определен в /opt/etc/wgetrc никакие изменения env не помогают и wget настойчиво использует прокси из /opt/etc/wgetrcCode:# 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/
пробовал
пробовалCode:http_proxy='http://newproxy:8080/' export http_proxy
один фиг в моем шелл скрипте команда env показывает что дескать переменная http_proxy=http://newproxy:8080/ но wget видеть не хочетCode:export http_proxy='http://newproxy:8080/'
Однако, если прокси не прописывать в /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
Как правильно писать для wget длинные ссылки,
просто если ссылка очень длинная, то почему-то последние символы
обрезаются и закачка не идет?
Попробуйте брать их в 'кавычки'
Не получается, такое впечатление, что работает ограничение на длину строки, могу набрать только это:
А надо: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 части?
agolub
Не получается набрать длинную строку в терминале или просто не идет закачка?Не получается
И приведенном примере какие-то странные пробелы... Они там точно должны быть?
Ceterum censeo, Carthaginem esse delendam.
wl500gp v1 + 1.9.2.7-d-r655 + hdd