vinay25 / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 0 forks source link

download manager - guide and suggestion #105

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
transmission wasnt enough for me, so i installed pyLoad on my ns-k330 and now i 
can download from rapidshare easly
it has nice web interface, and it causes high cpu load but its worth it

if you want to install it, you should install debian chroot first, and download 
many pakages.

here is an undetailed guide i wrote:
(you need to write it all in debian)
cd /opt
wget http://get.pyload.org/static/pyload-v0.4.3-noarch.deb
dpkg -i pyload-v0.4.3-noarch.deb
***now it will try to install but it will tell you that you need to install 
some pakages first, and it will tell you to write "apt-get install", so do 
that..
apt-get install unzip
apt-get install screen
apt-get install nano
wget 
http://ubuntu.secsup.org//pool/main/p/python-django/python-django_1.2.3-1ubuntu0
.1_all.deb
dpkg -i python-django_1.2.3-1ubuntu0.1_all.deb
wget http://get.pyload.org/static/pyload-src-v0.4.3.zip
unzip pyload-src-v0.4.3.zip
python /opt/pyload/pyLoadCore.py

i assisted this guide: http://wl500g.info/showthread.php?t=21844
here is a picture of pyLoad: 
http://img213.imageshack.us/img213/1886/12308100.png

maybe you should integrate it in the next version of snake-os

Original issue reported on code.google.com by toxic0...@gmail.com on 9 Dec 2010 at 5:10

GoogleCodeExporter commented 9 years ago
Hi there.
I am really interested on pyLoad for my little nas. but my Linux knowledge is 
really poor and I can´t make it work with your instructions.

I installed debian following the wiki instructions. Then chroot to debian, cd 
to opt folder, donwload pyload (new version 0.4.5) and instalation fails as you 
said.

But my trouble starts when I tried to install unzip, screen and nano. This 
installation packages fails too (dependences not installed) and the can´t make 
pyLoad work.

Anyone can help me with the process?
Anyway to install this packages with all the dependences at the same time?

Integrate this in the snakeos firmware would be really cool !!!

Original comment by robertoy...@robertoyoldi.com on 7 Apr 2011 at 6:49

GoogleCodeExporter commented 9 years ago
try apt-get install. Type Y when asked.
If it asks to try apt-get -f install. Do it.
Then try apt-get unzip, screen and nano.
If everything is ok, do:
wget 
http://ftp.debian.org/debian/pool/main/p/python-support/python-support_1.0.12_al
l.deb
dpkg -i python-support_1.0.12_all.deb
wget 
http://ftp.debian.org/debian/pool/main/p/python-django/python-django_1.2.5-1_all
.deb
dpkg -i python-django_1.2.5-1_all.deb

Then do the rest as in the guide above:
wget http://get.pyload.org/static/pyload-src-v0.4.3.zip
unzip pyload-src-v0.4.3.zip
python /opt/pyload/pyLoadCore.py

Original comment by eliss...@gmail.com on 11 Apr 2011 at 2:22

GoogleCodeExporter commented 9 years ago
Thanks for the answer, but sadly, It still doesn´t work.
------------------------------------------------------------------------
When I try to install unzip after the apt-get -f install, I have this:

sh-3.1# apt-get install unzip
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  pyload: Depends: python (>= 2.5) but it is not going to be installed
          Depends: python-pycurl but it is not going to be installed
          Depends: python-qt4 (>= 4.3) but it is not going to be installed
          Depends: python-crypto but it is not going to be installed
          Depends: python-imaging but it is not going to be installed
          Depends: tesseract-ocr but it is not going to be installed
          Depends: tesseract-ocr-eng but it is not going to be installed
  python-django: Depends: python (>= 2.3) but it is not going to be installed
  python-support: Depends: python (>= 2.5) but it is not going to be installed
                  Depends: dpkg (>= 1.14.19) but 1.13.25 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a 
solution).
sh-3.1#

------------------------------------------------------------------------
And I I try to unzip pyload, Then I have this:

sh-3.1# unzip pyload-src-v0.4.5.zip
sh: unzip: command not found
sh-3.1#

------------------------------------------------------------------------
This is what I have when apt-get -f install:

sh-3.1# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  apt apt-utils aptitude ca-certificates defoma dpkg file fontconfig
  fontconfig-config gcc-4.3-base libaudio2 libcurl3-gnutls libcwidget3
  libdb4.5 libdb4.6 libept0 libexpat1 libfontconfig1 libfreetype6 libgcc1
  libgcrypt11 libgnutls26 libice6 libidn11 libjpeg62 libkeyutils1 libkrb53
  liblcms1 libldap-2.4-2 libmagic1 libmng1 libncursesw5 libpng12-0
  libqt4-assistant libqt4-dbus libqt4-designer libqt4-help libqt4-network
  libqt4-script libqt4-sql libqt4-svg libqt4-test libqt4-webkit libqt4-xml
  libqt4-xmlpatterns libqtcore4 libqtgui4 libsm6 libsqlite3-0 libssl0.9.8
  libstdc++6 libtiff4 libx11-6 libx11-data libxapian15 libxau6 libxcb-xlib0
  libxcb1 libxdmcp6 libxext6 libxi6 libxrandr2 libxrender1 libxt6 lzma
  mime-support openssl python python-central python-crypto python-elementtree
  python-imaging python-minimal python-pycurl python-qt4 python-qt4-common
  python-sip4 python2.5 python2.5-minimal tesseract-ocr tesseract-ocr-deu
  tesseract-ocr-eng ttf-dejavu ttf-dejavu-core ttf-dejavu-extra x11-common
Suggested packages:
  dpkg-dev apt-doc bzip2 python-apt debtags defoma-doc dfontmgr psfontmgr
  x-ttcidfont-conf nas libcwidget-dev libfreetype6-dev rng-tools gnutls-bin
  krb5-doc krb5-user liblcms-utils libqt4-dev xapian-tools python-doc
  python-tk python-profiler python-crypto-dbg python-elementtree-doc
  python-imaging-doc python-imaging-dbg libcurl4-gnutls-dev python-pycurl-dbg
  python-qt4-dbg python2.5-doc binfmt-support
Recommended packages:
  aptitude-doc-en aptitude-doc libparse-debianchangelog-perl libft-perl
  libqt4-sql-mysql libqt4-sql-odbc libqt4-sql-psql libqt4-sql-sqlite
  libqt4-sql-sqlite2 qt4-qtconfig
The following NEW packages will be installed:
  ca-certificates defoma file fontconfig fontconfig-config gcc-4.3-base
  libaudio2 libcurl3-gnutls libcwidget3 libdb4.5 libdb4.6 libept0 libexpat1
  libfontconfig1 libfreetype6 libgnutls26 libice6 libidn11 libjpeg62
  libkeyutils1 liblcms1 libldap-2.4-2 libmagic1 libmng1 libpng12-0
  libqt4-assistant libqt4-dbus libqt4-designer libqt4-help libqt4-network
  libqt4-script libqt4-sql libqt4-svg libqt4-test libqt4-webkit libqt4-xml
  libqt4-xmlpatterns libqtcore4 libqtgui4 libsm6 libsqlite3-0 libtiff4
  libx11-6 libx11-data libxapian15 libxau6 libxcb-xlib0 libxcb1 libxdmcp6
  libxext6 libxi6 libxrandr2 libxrender1 libxt6 lzma mime-support openssl
  python python-central python-crypto python-elementtree python-imaging
  python-minimal python-pycurl python-qt4 python-qt4-common python-sip4
  python2.5 python2.5-minimal tesseract-ocr tesseract-ocr-deu
  tesseract-ocr-eng ttf-dejavu ttf-dejavu-core ttf-dejavu-extra x11-common
The following packages will be upgraded:
  apt apt-utils aptitude dpkg libgcc1 libgcrypt11 libkrb53 libncursesw5
  libssl0.9.8 libstdc++6
10 upgraded, 76 newly installed, 0 to remove and 114 not upgraded.
3 not fully installed or removed.
Need to get 5579kB/52.2MB of archives.
After unpacking 127MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  python2.5-minimal mime-support libdb4.5 libncursesw5 libsqlite3-0
  libssl0.9.8 python2.5 gcc-4.3-base libgcc1 libstdc++6 lzma libdb4.6
  apt-utils libcwidget3 libxapian15 libept0 aptitude apt dpkg python-minimal
  python libgcrypt11 libgnutls26 libidn11 libkeyutils1 libkrb53 libldap-2.4-2
  openssl ca-certificates libcurl3-gnutls python-central python-pycurl
  libqtcore4 libqt4-network libqt4-assistant libqt4-xml libqt4-dbus
  libqt4-script x11-common libice6 libsm6 libxau6 libxdmcp6 libxcb1
  libxcb-xlib0 libx11-data libx11-6 libxt6 libaudio2 libexpat1 libfreetype6
  libmagic1 file defoma ttf-dejavu-core ttf-dejavu-extra ttf-dejavu
  fontconfig-config libfontconfig1 libjpeg62 liblcms1 libmng1 libpng12-0
  libtiff4 libxext6 libxi6 libxrender1 libxrandr2 fontconfig libqtgui4
  libqt4-designer libqt4-sql libqt4-help libqt4-svg libqt4-test libqt4-webkit
  libqt4-xmlpatterns python-sip4 python-elementtree python-qt4-common
  python-qt4 python-crypto python-imaging tesseract-ocr-eng tesseract-ocr-deu
  tesseract-ocr
Install these packages without verification [y/N]? y
Err http://security.debian.org stable/updates/main dpkg 1.14.29
  404 Not Found [IP: 195.20.242.89 80]
Err http://security.debian.org stable/updates/main libkrb53 
1.6.dfsg.4~beta1-5lenny3
  404 Not Found [IP: 195.20.242.89 80]
Err http://security.debian.org stable/updates/main libldap-2.4-2 2.4.11-1+lenny1
  404 Not Found [IP: 195.20.242.89 80]
Err http://security.debian.org stable/updates/main libpng12-0 1.2.27-2+lenny3
  404 Not Found [IP: 195.20.242.89 80]
Err http://http.us.debian.org stable/main libssl0.9.8 0.9.8g-15+lenny6
  404 Not Found [IP: 199.6.12.70 80]
Err http://http.us.debian.org stable/main libxext6 2:1.0.4-1
  404 Not Found [IP: 199.6.12.70 80]
Err http://security.debian.org stable/updates/main libssl0.9.8 0.9.8g-15+lenny6
  404 Not Found [IP: 195.20.242.89 80]
Err http://security.debian.org stable/updates/main openssl 0.9.8g-15+lenny6
  404 Not Found [IP: 195.20.242.89 80]
Err http://security.debian.org stable/updates/main libfreetype6 2.3.7-2+lenny1
  404 Not Found [IP: 195.20.242.89 80]
Err http://security.debian.org stable/updates/main libtiff4 3.8.2-11.2
  404 Not Found [IP: 195.20.242.89 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/o/openssl/libssl0.9.8_0.9.8g-15+len
ny6_arm.deb  404 Not Found [IP: 195.20.242.89 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_arm.deb  404 
Not Found [IP: 195.20.242.89 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/k/krb5/libkrb53_1.6.dfsg.4~beta1-5l
enny3_arm.deb  404 Not Found [IP: 195.20.242.89 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/o/openldap/libldap-2.4-2_2.4.11-1+l
enny1_arm.deb  404 Not Found [IP: 195.20.242.89 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/o/openssl/openssl_0.9.8g-15+lenny6_
arm.deb  404 Not Found [IP: 195.20.242.89 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/f/freetype/libfreetype6_2.3.7-2+len
ny1_arm.deb  404 Not Found [IP: 195.20.242.89 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/libp/libpng/libpng12-0_1.2.27-2+len
ny3_arm.deb  404 Not Found [IP: 195.20.242.89 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/t/tiff/libtiff4_3.8.2-11.2_arm.deb 
 404 Not Found [IP: 195.20.242.89 80]
Failed to fetch 
http://http.us.debian.org/debian/pool/main/libx/libxext/libxext6_1.0.4-1_arm.deb
  404 Not Found [IP: 199.6.12.70 80]
E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?
sh-3.1#

Seems that I can not download all dependencies. Tried apt-get update and 
apt-get update --fix-missing with no possitive resoults.

:(

Original comment by robertoy...@robertoyoldi.com on 11 Apr 2011 at 7:12

GoogleCodeExporter commented 9 years ago
It seems your /etc/resolv.conf in debian is not configured. You have to add 
your DNS server after nameserver in /etc/resolv.conf in debian etc. Try 8.8.4.4 
(google) if you don't know which one is yours.

Original comment by eliss...@gmail.com on 11 Apr 2011 at 11:24

GoogleCodeExporter commented 9 years ago
It this is not the case, try: apt-get -f install --fix-missing

Original comment by eliss...@gmail.com on 11 Apr 2011 at 2:06

GoogleCodeExporter commented 9 years ago
Thanks for your answer.
If I open resolv.conf this is what I have:
nameserver 62.42.230.24
nameserver 62.42.63.52

This two are my ISP´s (ONO (Spain)) DNS numbers. Downloading works because the 
wget command download files correctly

Anyway, I edited it to:
nameserver 8.8.4.4
nameserver 62.42.230.24
nameserver 62.42.63.52

Then tried apt-get -f install --fix-missing
But, the result was the same :(

--------------------------------------------------------------------------
sh-3.1# apt-get -f install --fix-missing
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  apt apt-utils aptitude ca-certificates defoma dpkg file fontconfig fontconfig-config gcc-4.3-base
  libaudio2 libcurl3-gnutls libcwidget3 libdb4.5 libdb4.6 libept0 libexpat1 libfontconfig1
  libfreetype6 libgcc1 libgcrypt11 libgnutls26 libice6 libidn11 libjpeg62 libkeyutils1 libkrb53
  liblcms1 libldap-2.4-2 libmagic1 libmng1 libncursesw5 libpng12-0 libqt4-assistant libqt4-dbus
  libqt4-designer libqt4-help libqt4-network libqt4-script libqt4-sql libqt4-svg libqt4-test
  libqt4-webkit libqt4-xml libqt4-xmlpatterns libqtcore4 libqtgui4 libsm6 libsqlite3-0 libssl0.9.8
  libstdc++6 libtiff4 libx11-6 libx11-data libxapian15 libxau6 libxcb-xlib0 libxcb1 libxdmcp6
  libxext6 libxi6 libxrandr2 libxrender1 libxt6 lzma mime-support openssl python python-central
  python-crypto python-elementtree python-imaging python-minimal python-pycurl python-qt4
  python-qt4-common python-sip4 python2.5 python2.5-minimal tesseract-ocr tesseract-ocr-deu
  tesseract-ocr-eng ttf-dejavu ttf-dejavu-core ttf-dejavu-extra x11-common
Suggested packages:
  dpkg-dev apt-doc bzip2 python-apt debtags defoma-doc dfontmgr psfontmgr x-ttcidfont-conf nas
  libcwidget-dev libfreetype6-dev rng-tools gnutls-bin krb5-doc krb5-user liblcms-utils libqt4-dev
  xapian-tools python-doc python-tk python-profiler python-crypto-dbg python-elementtree-doc
  python-imaging-doc python-imaging-dbg libcurl4-gnutls-dev python-pycurl-dbg python-qt4-dbg
  python2.5-doc binfmt-support
Recommended packages:
  aptitude-doc-en aptitude-doc libparse-debianchangelog-perl libft-perl libqt4-sql-mysql
  libqt4-sql-odbc libqt4-sql-psql libqt4-sql-sqlite libqt4-sql-sqlite2 qt4-qtconfig
The following NEW packages will be installed:
  ca-certificates defoma file fontconfig fontconfig-config gcc-4.3-base libaudio2 libcurl3-gnutls
  libcwidget3 libdb4.5 libdb4.6 libept0 libexpat1 libfontconfig1 libfreetype6 libgnutls26 libice6
  libidn11 libjpeg62 libkeyutils1 liblcms1 libldap-2.4-2 libmagic1 libmng1 libpng12-0
  libqt4-assistant libqt4-dbus libqt4-designer libqt4-help libqt4-network libqt4-script libqt4-sql
  libqt4-svg libqt4-test libqt4-webkit libqt4-xml libqt4-xmlpatterns libqtcore4 libqtgui4 libsm6
  libsqlite3-0 libtiff4 libx11-6 libx11-data libxapian15 libxau6 libxcb-xlib0 libxcb1 libxdmcp6
  libxext6 libxi6 libxrandr2 libxrender1 libxt6 lzma mime-support openssl python python-central
  python-crypto python-elementtree python-imaging python-minimal python-pycurl python-qt4
  python-qt4-common python-sip4 python2.5 python2.5-minimal tesseract-ocr tesseract-ocr-deu
  tesseract-ocr-eng ttf-dejavu ttf-dejavu-core ttf-dejavu-extra x11-common
The following packages will be upgraded:
  apt apt-utils aptitude dpkg libgcc1 libgcrypt11 libkrb53 libncursesw5 libssl0.9.8 libstdc++6
10 upgraded, 76 newly installed, 0 to remove and 114 not upgraded.
3 not fully installed or removed.
Need to get 5579kB/52.2MB of archives.
After unpacking 127MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  python2.5-minimal mime-support libdb4.5 libncursesw5 libsqlite3-0 libssl0.9.8 python2.5
  gcc-4.3-base libgcc1 libstdc++6 lzma libdb4.6 apt-utils libcwidget3 libxapian15 libept0 aptitude
  apt dpkg python-minimal python libgcrypt11 libgnutls26 libidn11 libkeyutils1 libkrb53 libldap-2.4-2
  openssl ca-certificates libcurl3-gnutls python-central python-pycurl libqtcore4 libqt4-network
  libqt4-assistant libqt4-xml libqt4-dbus libqt4-script x11-common libice6 libsm6 libxau6 libxdmcp6
  libxcb1 libxcb-xlib0 libx11-data libx11-6 libxt6 libaudio2 libexpat1 libfreetype6 libmagic1 file
  defoma ttf-dejavu-core ttf-dejavu-extra ttf-dejavu fontconfig-config libfontconfig1 libjpeg62
  liblcms1 libmng1 libpng12-0 libtiff4 libxext6 libxi6 libxrender1 libxrandr2 fontconfig libqtgui4
  libqt4-designer libqt4-sql libqt4-help libqt4-svg libqt4-test libqt4-webkit libqt4-xmlpatterns
  python-sip4 python-elementtree python-qt4-common python-qt4 python-crypto python-imaging
  tesseract-ocr-eng tesseract-ocr-deu tesseract-ocr
Install these packages without verification [y/N]? y
Err http://security.debian.org stable/updates/main dpkg 1.14.29
  404 Not Found [IP: 128.101.240.212 80]
Err http://security.debian.org stable/updates/main libkrb53 
1.6.dfsg.4~beta1-5lenny3
  404 Not Found [IP: 128.101.240.212 80]
Err http://security.debian.org stable/updates/main libldap-2.4-2 2.4.11-1+lenny1
  404 Not Found [IP: 128.101.240.212 80]
Err http://security.debian.org stable/updates/main libpng12-0 1.2.27-2+lenny3
  404 Not Found [IP: 128.101.240.212 80]
Err http://http.us.debian.org stable/main libssl0.9.8 0.9.8g-15+lenny6
  404 Not Found [IP: 199.6.12.70 80]
Err http://http.us.debian.org stable/main libxext6 2:1.0.4-1
  404 Not Found [IP: 199.6.12.70 80]
Err http://security.debian.org stable/updates/main libssl0.9.8 0.9.8g-15+lenny6
  404 Not Found [IP: 128.101.240.212 80]
Err http://security.debian.org stable/updates/main openssl 0.9.8g-15+lenny6
  404 Not Found [IP: 128.101.240.212 80]
Err http://security.debian.org stable/updates/main libfreetype6 2.3.7-2+lenny1
  404 Not Found [IP: 128.101.240.212 80]
Err http://security.debian.org stable/updates/main libtiff4 3.8.2-11.2
  404 Not Found [IP: 128.101.240.212 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/o/openssl/libssl0.9.8_0.9.8g-15+len
ny6_arm.deb  404 Not Found [IP: 128.101.240.212 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/d/dpkg/dpkg_1.14.29_arm.deb  404 
Not Found [IP: 128.101.240.212 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/k/krb5/libkrb53_1.6.dfsg.4~beta1-5l
enny3_arm.deb  404 Not Found [IP: 128.101.240.212 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/o/openldap/libldap-2.4-2_2.4.11-1+l
enny1_arm.deb  404 Not Found [IP: 128.101.240.212 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/o/openssl/openssl_0.9.8g-15+lenny6_
arm.deb  404 Not Found [IP: 128.101.240.212 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/f/freetype/libfreetype6_2.3.7-2+len
ny1_arm.deb  404 Not Found [IP: 128.101.240.212 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/libp/libpng/libpng12-0_1.2.27-2+len
ny3_arm.deb  404 Not Found [IP: 128.101.240.212 80]
Failed to fetch 
http://security.debian.org/pool/updates/main/t/tiff/libtiff4_3.8.2-11.2_arm.deb 
 404 Not Found [IP: 128.101.240.212 80]
Failed to fetch 
http://http.us.debian.org/debian/pool/main/libx/libxext/libxext6_1.0.4-1_arm.deb
  404 Not Found [IP: 199.6.12.70 80]
Unable to correct missing packages.
E: Aborting install.
sh-3.1#
--------------------------------------------------------------------------

I really appreciate your help, but I can´t make it work and don´t know what 
else can I do. Any other Idea?

Original comment by robertoy...@robertoyoldi.com on 12 Apr 2011 at 8:04

GoogleCodeExporter commented 9 years ago
If I try to manualy download from my internet browser a deb package from 
security.debian.org 
(http://security.debian.org/pool/updates/main/o/openssl/libssl0.9.8_0.9.8g-15+le
nny6_arm.deb for example), the page is not found. Maybe the problem is not in 
my side?

Original comment by robertoy...@robertoyoldi.com on 12 Apr 2011 at 8:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Same problem with security.debian.org here. Don't know what I did other than 
that. Just managed to install it by doing some of the commands I've told you. 
But you can also try downloading latest pinguino7 debian package. Google 
"Donwload image by pinguino7" with quotations. You'll find 2 links for parts 1 
and 2 right on the first link (don't need to open the page). Remember to rename 
your current debian folder and try this newer one. I have both installed, but 
I'm using the older one though which is lighter (from Downloads section at 
SnakeOS google code site).

Original comment by eliss...@gmail.com on 14 Apr 2011 at 12:55

GoogleCodeExporter commented 9 years ago
I've solved this Chroot problem.

Just edit your sources.lst  and make debian use lenny repositories these work 
for me).

Backup your data previously

Original comment by pepe.j...@gmail.com on 1 May 2011 at 4:40

GoogleCodeExporter commented 9 years ago
I tried editing sorces.lst to:
deb http://ftp.debian.org/debian/ lenny main non-free contrib
deb-src http://ftp.debian.org/debian/ lenny main non-free contrib
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free

Then,
apt-get update
apt-get dist-upgrade

But Still the same, can´t install unzip, etc, etc...

sh-3.1# apt-get update
Get:1 http://ftp.debian.org lenny Release.gpg [1033B]
Hit http://ftp.debian.org lenny Release
Get:2 http://security.debian.org lenny/updates Release.gpg [836B]
Get:3 http://ftp.us.debian.org testing Release.gpg [836B]
Hit http://security.debian.org lenny/updates Release
Err http://ftp.debian.org lenny Release

Get:4 http://ftp.debian.org lenny Release [73.8kB]
Hit http://ftp.us.debian.org testing Release
Err http://security.debian.org lenny/updates Release

Get:5 http://security.debian.org lenny/updates Release [40.8kB]
Err http://ftp.us.debian.org testing Release

Ign http://ftp.debian.org lenny Release
Get:6 http://ftp.us.debian.org testing Release [134kB]
Ign http://ftp.debian.org lenny/main Packages/DiffIndex
Ign http://ftp.debian.org lenny/non-free Packages/DiffIndex
Ign http://ftp.debian.org lenny/contrib Packages/DiffIndex
Ign http://ftp.debian.org lenny/main Sources/DiffIndex
Ign http://ftp.debian.org lenny/non-free Sources/DiffIndex
Ign http://ftp.debian.org lenny/contrib Sources/DiffIndex
Hit http://ftp.debian.org lenny/main Packages
Hit http://ftp.debian.org lenny/non-free Packages
Hit http://ftp.debian.org lenny/contrib Packages
Hit http://ftp.debian.org lenny/main Sources
Hit http://ftp.debian.org lenny/non-free Sources
Hit http://ftp.debian.org lenny/contrib Sources
Ign http://security.debian.org lenny/updates Release
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Sources/DiffIndex
Hit http://security.debian.org lenny/updates/main Packages
Hit http://security.debian.org lenny/updates/contrib Packages
Hit http://security.debian.org lenny/updates/non-free Packages
Hit http://security.debian.org lenny/updates/main Sources
Hit http://security.debian.org lenny/updates/contrib Sources
Hit http://security.debian.org lenny/updates/non-free Sources
Ign http://ftp.us.debian.org testing Release
Err http://ftp.us.debian.org testing/main Packages
  404 Not Found [IP: 199.6.12.70 80]
Err http://ftp.us.debian.org testing/contrib Packages
  404 Not Found [IP: 199.6.12.70 80]
Err http://ftp.us.debian.org testing/non-free Packages
  404 Not Found [IP: 199.6.12.70 80]
Hit http://ftp.us.debian.org testing/main Sources/DiffIndex
Hit http://ftp.us.debian.org testing/contrib Sources/DiffIndex
Hit http://ftp.us.debian.org testing/non-free Sources/DiffIndex
Fetched 251kB in 16s (14.9kB/s)
Failed to fetch 
http://ftp.us.debian.org/debian/dists/testing/main/binary-arm/Packages.gz  404 
Not Found [IP: 199.6.12.70 80]
Failed to fetch 
http://ftp.us.debian.org/debian/dists/testing/contrib/binary-arm/Packages.gz  
404 Not Found [IP: 199.6.12.70 80]
Failed to fetch 
http://ftp.us.debian.org/debian/dists/testing/non-free/binary-arm/Packages.gz  
404 Not Found [IP: 199.6.12.70 80]
Reading package lists... Done
W: GPG error: http://ftp.debian.org lenny Release: The following signatures 
couldn't be verified because the public key is not available: NO_PUBKEY 
9AA38DCD55BE302B NO_PUBKEY 4D270D06F42584E6
W: GPG error: http://security.debian.org lenny/updates Release: The following 
signatures couldn't be verified because the public key is not available: 
NO_PUBKEY 9AA38DCD55BE302B
W: GPG error: http://ftp.us.debian.org testing Release: The following 
signatures couldn't be verified because the public key is not available: 
NO_PUBKEY AED4B06F473041FA
W: Couldn't stat source package list http://ftp.us.debian.org testing/main 
Packages 
(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_main_binary-arm_Packa
ges) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org testing/contrib 
Packages 
(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_contrib_binary-arm_Pa
ckages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org testing/non-free 
Packages 
(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_non-free_binary-arm_P
ackages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones 
used instead.

Really appreciate your help, but seems to be imposible to get this work for a 
non-linux-user like me...

Can someone send me the whole Debian folder "ready to use" with pyload in a 
zipfile?
Is possible to do this?

Original comment by robertoy...@robertoyoldi.com on 17 May 2011 at 9:02

GoogleCodeExporter commented 9 years ago
apt-get update             OK

apt-get dist-upgrade     NO,

Instead, 
apt-get upgrade      After that it sais that coudn't install packages and whe 
should execute apt-get -f   (more or less, I don't remember exactly. As comment 
5)

After that You can use apt-get "name-of-thing-you-want-to-install"

Original comment by pepe.j...@gmail.com on 17 May 2011 at 10:10

GoogleCodeExporter commented 9 years ago
Followed 3 steps
apt-get upgrade
apt-get -f install --fix-missing
apt-get install unzip

No luck :(

sh-3.2# apt-get install unzip
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  zip
The following NEW packages will be installed:
  unzip
0 upgraded, 1 newly installed, 0 to remove and 118 not upgraded.
Need to get 0B/166kB of archives.
After unpacking 348kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  unzip
Install these packages without verification [y/N]? y
W: Couldn't stat source package list http://ftp.us.debian.org testing/main 
Packages 
(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_main_binary-arm_Packa
ges) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org testing/contrib 
Packages 
(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_contrib_binary-arm_Pa
ckages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org testing/non-free 
Packages 
(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_non-free_binary-arm_P
ackages) - stat (2 No such file or directory)
rm: cannot remove directory `/var/lib/dpkg/tmp.ci': Directory not empty
dpkg: error processing /var/cache/apt/archives/unzip_5.52-12_arm.deb (--unpack):
 subprocess rm cleanup returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/unzip_5.52-12_arm.deb
W: Couldn't stat source package list http://ftp.us.debian.org testing/main 
Packages 
(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_main_binary-arm_Packa
ges) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org testing/contrib 
Packages 
(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_contrib_binary-arm_Pa
ckages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org testing/non-free 
Packages 
(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_non-free_binary-arm_P
ackages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)
sh-3.2#

sh-3.2# unzip pyload-src-v0.4.5.zip
sh: unzip: command not found
sh-3.2#

Original comment by robertoy...@robertoyoldi.com on 17 May 2011 at 10:25

GoogleCodeExporter commented 9 years ago
Ok

I looked at your source.lst

and mine is

# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
deb http://http.us.debian.org/debian lenny main contrib non-free
# deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
# deb http://security.debian.org stable/updates main contrib non-free

# Uncomment if you want the apt-get source function to work
#deb-src http://http.us.debian.org/debian stable main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib 
non-free

Only one line is enabled, the first one under CDROM.

The problem could be that you have lenny and testing enabled.

deb http://ftp.debian.org/debian/ lenny main non-free contrib
deb http://ftp.us.debian.org/debian/ testing main contrib non-free

and you can comment all lines with "dev-src" as I guess that you won't be 
compiling anything from source.

Original comment by pepe.j...@gmail.com on 17 May 2011 at 10:45

GoogleCodeExporter commented 9 years ago
I tried with your source.lst config with no luck.
May be, the best idea can be to delete the debian folder, reinstall it and 
start again from cero (modifing only the source.lst file), because many changes 
where made from the original debian.

Will say you something.

Many, many thanks.

Original comment by robertoy...@robertoyoldi.com on 17 May 2011 at 11:02

GoogleCodeExporter commented 9 years ago
Yeah, finally working :)
As I said, delete debian folder, reinstall it and config source.lst with
deb http://http.us.debian.org/debian lenny main contrib non-free

Thanks you all!!!

Now, pyload is configured, tested and all is going fine, but...
I connect to the nas using putty and then chroot and start pyload.
But when I close putty... pyload stops o_O
How can I keep it runing in the nas without my pc powered on?

Original comment by robertoy...@robertoyoldi.com on 17 May 2011 at 2:19

GoogleCodeExporter commented 9 years ago
use "nohup" and "&"

Example: "nohup program-to-run options-of-the-program &"

It will send it to background "&" and it will keep it running until it finishes 
or snake reboots "nohup"

Original comment by pepe.j...@gmail.com on 17 May 2011 at 2:26

GoogleCodeExporter commented 9 years ago
Thanks pepe, but I found an option to run it and not to be closed with the 
terminal:
python /opt/pyload/pyLoadCore.py --daemon

Gracias !!!

Original comment by robertoy...@robertoyoldi.com on 17 May 2011 at 3:29

GoogleCodeExporter commented 9 years ago
The next question is... how to configure pyload to auto-start when rebooting 
snakenas?

Original comment by robertoy...@robertoyoldi.com on 17 May 2011 at 3:58

GoogleCodeExporter commented 9 years ago
Sorry!

I'm new at this. I am trying to install on my k330 but pyload of mmp error, as 
I understand it is a low memory error. This error occurs when I run with 
command apt-get update. What am I doing wrong?

Thank you

Original comment by fsimo...@gmail.com on 13 Jun 2011 at 7:14

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
You could create a package .OPK pyload? would be very interesting
or other download manager, but I know pylori and is very good
a greeting

Original comment by diegolop...@gmail.com on 17 Oct 2011 at 1:42

GoogleCodeExporter commented 9 years ago
How to do autostart????
Regards

Original comment by vittc...@gmail.com on 18 Oct 2011 at 1:03

GoogleCodeExporter commented 9 years ago
Yes, autostart would be awesome!

Original comment by digaum2...@gmail.com on 16 Nov 2011 at 10:41

GoogleCodeExporter commented 9 years ago
Tried everything and can't install pyload. Already removed the debian folder, 
reinstalled and changed the sources.lst to lenny.
Then pyload can't download due to version being 0.4.9. So I changed the command 
lines to the following:
- wget http://get.pyload.org/static/pyload-v0.4.9-all.deb
- dpkg -i pyload-v0.4.9-all.deb
After that I keep going, proceeded with the apt-get unzip, screen and nano.

When I try to complete the following I get errors, however:
wget 
http://ubuntu.secsup.org//pool/main/p/python-django/python-django_1.2.3-1ubuntu0
.1_all.deb

And this is where I'm stuck, unfortunatelly.
Also, the above .deb file for pyload is ok, or it HAS to be the "0.4.3 noarch" 
version?

Thanks!

Original comment by digaum2...@gmail.com on 6 Jan 2012 at 2:11

GoogleCodeExporter commented 9 years ago
Can all this procedure converted into a single opk file for installing from the 
Web GUI of snake-OS ? 

Original comment by svmb2...@gmail.com on 2 Mar 2012 at 5:35

GoogleCodeExporter commented 9 years ago
I think that'd be possible, bundling python is just a bit of a hassle.

digaum2003:
Newer versions of pyload don't need django anymore

A while back I posted a different way to get pyload working on the mailinglist:
http://groups.google.com/group/dealextreme-nas-/browse_thread/thread/9680df901b4
5fa4d/eea8beea728eb22f

Original comment by stefansc...@googlemail.com on 3 Mar 2012 at 1:04

GoogleCodeExporter commented 9 years ago
I just installed pyLoad successfully on my NAS and am happily downloading 
without having to leave my computer on.

Original comment by arionkra...@gmail.com on 3 Jul 2012 at 11:18

GoogleCodeExporter commented 9 years ago
By the way I followed this tutorial: 
http://groups.google.com/group/dealextreme-nas-/msg/2428c27fdbf9c892

Original comment by arionkra...@gmail.com on 3 Jul 2012 at 11:19