PDA

Bekijk de volledige versie : What is coreutils?And How to install?



xderam
10-01-2008, 14:22
When i install Bittorrent on WL-HDD
http://www.sprayfly.com/wiki/Bittorrent
and type ipkg list | grep -i core
this is only libbt to show
without coreutils - 5.2.1-8 - Bunch of heavyweight *nix core utilities
why?

[admin@(none) /]$ ipkg list | grep -i core
libbt - 1.05-5 - a C library implementing the core BitTorrent protocol

[admin@(none) /]$ ipkg install coreutils
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package coreutils.
Check the spelling or perhaps run 'ipkg update'

and i type 'ipkg update'

[admin@(none) /]$ ipkg update
Downloading http://wl500g.dyndns.org/ipkg/Packages
Updated list of available packages in /opt/lib/ipkg/lists/wl500g
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/Packages
Updated list of available packages in /opt/lib/ipkg/lists/unslung
Successfully terminated.

but the same error was show.

my firmware is WLHDD-1.9.2.7-8.trx

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3008 3008 0 100% /
/dev/discs/disc0/part6 15369788 140856 14448176 1% /opt
[admin@(none) /]$

[admin@(none) /]$ free
total used free shared buffers
Mem: 13876 12040 1836 0 1700
Swap: 40120 972 39148
Total: 53996 13012 40984
[admin@(none) /]$

al37919
10-01-2008, 14:34
switch from unslung to optware repository and reinstall everything

xderam
10-01-2008, 14:53
switch from unslung to optware repository and reinstall everything

mke2fs -j /dev/discs/disc0/part6
then mount it.
and step by step
1.http://www.sprayfly.com/wiki/Filesystem
2.http://www.sprayfly.com/wiki/Ipkg
PS:I do this step:echo nameserver 158.152.1.43 > /etc/resolv.conf
but the error is alsoT_T

al37919
10-01-2008, 15:18
every provider has his own dns server

I suggest before starting with setting all the stuff on hdd make sure that you have working internet connection, an dif neccessary ajust it using web-IF

what shows?:
cat /opt/etc/ipkg.conf
cat /etc/ipkg.conf

xderam
11-01-2008, 07:11
every provider has his own dns server

I suggest before starting with setting all the stuff on hdd make sure that you have working internet connection, an dif neccessary ajust it using web-IF

what shows?:
cat /opt/etc/ipkg.conf
cat /etc/ipkg.conf

[admin@(none) /opt]$ cat /etc/ipkg.conf
src wl500g http://wl500g.dyndns.org/ipkg
src optware http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable
dest root /
[admin@(none) /opt]$ cat /etc/ipkg.conf
src wl500g http://wl500g.dyndns.org/ipkg
src optware http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable
dest root /
[admin@(none) /opt]$

wengi
11-01-2008, 07:54
Hi,

did you update uclibc-opt?
did you update ipkg after switching to oleg opt?

ipkg update
ipkg install coreutils

If it still does not work: have a look at my howto chapter 5.

wengi

al37919
11-01-2008, 08:09
you showed twice cat /etc/ipkg.conf

Actually, the content of /etc/ipkg.conf is correct and it corresponds to 1.9.2.7-8 firmware :)
So you can just remove /opt/etc/ipkg.conf which should contain a reference on the obsolete unslung repository

xderam
11-01-2008, 08:29
Hi,

did you update uclibc-opt?
did you update ipkg after switching to oleg opt?

ipkg update
ipkg install coreutils

If it still does not work: have a look at my howto chapter 5.

wengi

How to update uclibc-opt?
and How to update switching to oleg opt?
sorry.I want to know type what command to wlhdd.because i am basic in oleg.

I update uclibc-opt like this:
[admin@WLHDD root]$ ipkg update uclibc-opt
Downloading http://wl500g.dyndns.org/ipkg/Packages
Updated list of available packages in /opt/lib/ipkg/lists/wl500g
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/Packages
Updated list of available packages in /opt/lib/ipkg/lists/unslung
Successfully terminated.
if this is right.and how to update switching to oleg opt?
and where is your howto chapter 5?
this one?
http://wl500g.info/showthread.php?t=8424
or this one?
http://wl500g.info/showthread.php?t=8425
?which one?

wengi
11-01-2008, 13:32
Hi,

your firmware needs to be switched to the opt feed.
The sprayfly wiki is not that up to date.

The new oleg firmware work withanother repository than the old ones.

simply have a look at my signature on how to install new firmware with torrent client.

wengi