aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: how to install on OpenDebianSlug (NSLU2)  (Read 6602 times)

janoonk

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
how to install on OpenDebianSlug (NSLU2)
« on: April 06, 2006, 12:19:14 AM »

Hi,

I have an LinkSys NSLU2 and I patched it to OpenDebianSlug (Debian ARM, big endian) from http://www.nslu2-linux.org/wiki/DebianSlug/OpenDebianSlug

How do I install amule for this platform? I tried several deb sources and then apt-get update and apt-get install amule
but it keeps saying "can't find package".

Can someone help me?

greetings Jan
« Last Edit: April 06, 2006, 12:19:27 AM by janoonk »
Logged

Ramiro

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 71
RE: how to install on OpenDebianSlug (NSLU2)
« Reply #1 on: April 06, 2006, 08:04:43 AM »

Standard debian sources are for arm little endian only.
You could download amule and wxbase ipk's from
http://www.telefonica.net/web2/deb/amulefeed
unpack them with ar and tar, and manually copy each file to the right place.
I think it should work.
Don't forget to run ldconfig.
Or perhaps apt-get will recognize the ipk format, cause is very similar to deb.
Logged

Ramiro

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 71
RE: how to install on OpenDebianSlug (NSLU2)
« Reply #2 on: April 06, 2006, 08:15:09 AM »

It seems you are lucky

root@debian:/home/pal# dpkg -i ./amule_2.1.1_armeb.ipk
dpkg: error processing ./amule_2.1.1_armeb.ipk (--install):
 package architecture (armeb) does not match system (i386)
Errors were encountered while processing:
 ./amule_2.1.1_armeb.ipk

This was done in my PC. dpkg obviously won't install the package because of non matching arquitectures, but seems that it can recognize the format. So you could add http://www.telefonica.net/web2/deb/amulefeed to your sources.list or download and install the packages manually.
« Last Edit: April 06, 2006, 08:16:02 AM by Ramiro »
Logged

janoonk

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
RE: how to install on OpenDebianSlug (NSLU2)
« Reply #3 on: April 06, 2006, 09:44:51 PM »

What do I have to exactly insert in my /etc/apt/sources.list ? Because inserting
deb http://www.telefonica.net/web2/deb/amulefeed

and then I'll do apt-get install amule
complains about a malformed line!

I then manually downloaded and did the following:
-------
dpkg -i ./amule_2.1.1_armeb.ipk
Selecting previously deselected package amule.
(Reading database ... 9879 files and directories currently installed.)
Unpacking amule (from ./amule_2.1.1_armeb.ipk) ...
dpkg: dependency problems prevent configuration of amule:
 amule depends on wxbase-u (>= 2.7); however:
  Package wxbase-u is not installed.
 amule depends on binutils (>= 2.16); however:
  Package binutils is not installed.
 amule depends on libpng12-0 (>= 1.2.8); however:
  Package libpng12-0 is not installed.
dpkg: error processing amule (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 amule

LinkSys:/tmp# dpkg -i ./wxbase-u_2.7cvs20060319_armeb.ipk
Selecting previously deselected package wxbase-u.
(Reading database ... 10093 files and directories currently installed.)
Unpacking wxbase-u (from .../wxbase-u_2.7cvs20060319_armeb.ipk) ...
dpkg: dependency problems prevent configuration of wxbase-u:
 wxbase-u depends on libz1 (>= 1.2.3); however:
  Package libz1 is not installed.
 wxbase-u depends on libstdc++6 (>= 3.4.4); however:
  Package libstdc++6 is not installed.
dpkg: error processing wxbase-u (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 wxbase-u

LinkSys:/tmp# apt-get install libz1
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting zlib1g instead of libz1
zlib1g is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  amule: Depends: binutils (>= 2.16) but it is not going to be installed
         Depends: libpng12-0 (>= 1.2.8)
  wxbase-u: Depends: libz1 (>= 1.2.3)
            Depends: libstdc++6 (>= 3.4.4) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

LinkSys:/tmp# apt-get install binutils
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:
  amule: Depends: binutils (>= 2.16) but 2.15-6 is to be installed
         Depends: libpng12-0 (>= 1.2.8)
  wxbase-u: Depends: libz1 (>= 1.2.3)
            Depends: libstdc++6 (>= 3.4.4) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

LinkSys:/tmp# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libpng12-0
The following packages will be REMOVED:
  amule wxbase-u
The following NEW packages will be installed:
  libpng12-0
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 111kB of archives.
After unpacking 250kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.debonaras.org sarge/main libpng12-0 1.2.8rel-1 [111kB]
Fetched 111kB in 0s (200kB/s)
(Reading database ... 10097 files and directories currently installed.)
Removing amule ...
Removing wxbase-u ...
Selecting previously deselected package libpng12-0.
(Reading database ... 9879 files and directories currently installed.)
Unpacking libpng12-0 (from .../libpng12-0_1.2.8rel-1_armeb.deb) ...
Setting up libpng12-0 (1.2.8rel-1) ...

LinkSys:/tmp# apt-get install binutils
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
  binutils-doc
The following NEW packages will be installed:
  binutils
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2084kB of archives.
After unpacking 5685kB of additional disk space will be used.
Get:1 http://ftp.debonaras.org sarge/main binutils 2.15-6 [2084kB]
Fetched 2084kB in 5s (348kB/s)
Selecting previously deselected package binutils.
(Reading database ... 9890 files and directories currently installed.)
Unpacking binutils (from .../binutils_2.15-6_armeb.deb) ...
Setting up binutils (2.15-6) ...

LinkSys:/tmp# apt-get install libstdc++6
Reading Package Lists... Done
Building Dependency Tree... Done
Package libstdc++6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libstdc++6 has no installation candidate

LinkSys:/tmp# dpkg -i ./wxbase-u_2.7cvs20060319_armeb.ipk
Selecting previously deselected package wxbase-u.
(Reading database ... 10004 files and directories currently installed.)
Unpacking wxbase-u (from .../wxbase-u_2.7cvs20060319_armeb.ipk) ...
dpkg: dependency problems prevent configuration of wxbase-u:
 wxbase-u depends on libz1 (>= 1.2.3); however:
  Package libz1 is not installed.
 wxbase-u depends on libstdc++6 (>= 3.4.4); however:
  Package libstdc++6 is not installed.
dpkg: error processing wxbase-u (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 wxbase-u
 
LinkSys:/tmp# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  wxbase-u
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 10008 files and directories currently installed.)
Removing wxbase-u ...

LinkSys:/tmp# apt-get install libz1
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting zlib1g instead of libz1
zlib1g is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

LinkSys:/tmp# dpkg -i ./amule_2.1.1_armeb.ipk
Selecting previously deselected package amule.
(Reading database ... 10004 files and directories currently installed.)
Unpacking amule (from ./amule_2.1.1_armeb.ipk) ...
dpkg: dependency problems prevent configuration of amule:
 amule depends on wxbase-u (>= 2.7); however:
  Package wxbase-u is not installed.
 amule depends on binutils (>= 2.16); however:
  Version of binutils on system is 2.15-6.
dpkg: error processing amule (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 amule

LinkSys:/tmp# apt-get install wxbase-u
Reading Package Lists... Done
Building Dependency Tree... Done
Package wxbase-u is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package wxbase-u has no installation candidate
----------

What do I have to do? Hope you can help me...
Logged

Ramiro

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 71
Re: how to install on OpenDebianSlug (NSLU2)
« Reply #4 on: April 06, 2006, 10:36:05 PM »

It seems that OpenDebianSlug is based on stable while OpenSlug is based on testing :(
libstdc6++ is included in debian stable, but for some reason it is not in OpenDebianSlug. This is the main problem, and you'll not be able  to install libstdc++6  from openslug cause it depends on libc6 >=2.3.5 and OpenDebianSlug libc6 version is 2.3.2.
Anyway, I think that running Debian BE is pointless now that you can install real LE Debian and those beautiful packages built by thedude.
I will move to LE Debian after the release of amule 2.1.2 next weekend  :P
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: how to install on OpenDebianSlug (NSLU2)
« Reply #5 on: April 07, 2006, 09:58:02 AM »

Quote
Originally posted by Ramiro
Anyway, I think that running Debian BE is pointless now that you can install real LE Debian and those beautiful packages built by thedude.

Uhm, not sure I follow here, but we are talking about ARM boxes, aren't we? I only provide i386 packages since that's the only hardware I own. ^^
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Ramiro

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 71
Re: how to install on OpenDebianSlug (NSLU2)
« Reply #6 on: April 07, 2006, 10:05:44 AM »

Quote
Originally posted by thedude0001
Uhm, not sure I follow here, but we are talking about ARM boxes, aren't we? I only provide i386 packages since that's the only hardware I own. ^^

Ooops :]
Well, janoonk could always install the packages from testing or unstable.
Logged