Discussion:
ipkg problem
zvsmedia
2006-02-07 08:48:20 UTC
Permalink
Hello - I'm a relative newbie to the slug, but I've successfully
unslung it and overclocked it. The next project I'd like to
undertake is to upgrade samba to solve the problem with Outlook
corrupting files; I've found the fix but can't get ipkg to work
correctly. Here are the errors I'm getting:

When I try to install samba:
# ipkg install samba
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package samba.
Check the spelling or perhaps run 'ipkg update'
# ipkg install samba
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package samba.
Check the spelling or perhaps run 'ipkg update'

When I try to update ipkg:
# ipkg update
Downloading http://ipkg.nslu2-
linux.org/feeds/unslung/cross/Packages.gz
Downloading http://ipkg.nslu2-
linux.org/feeds/unslung/native/Packages.gz
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/oe/Packages.gz
An error ocurred, return value: 3.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget --
passive-ftp
-q -P /tmp/ipkg-UXrmy5 http://ipkg.nslu2-
linux.org/feeds/unslung/cross/Packages
.gz'
ipkg_download: ERROR: Command failed with return value 1: `wget --
passive-ftp
-q -P /tmp/ipkg-UXrmy5 http://ipkg.nslu2-
linux.org/feeds/unslung/native/Package
s.gz'
ipkg_download: ERROR: Command failed with return value 1: `wget --
passive-ftp
-q -P /tmp/ipkg-UXrmy5 http://ipkg.nslu2-
linux.org/feeds/unslung/oe/Packages.gz
'

I'm probably off-base, but it almost seems like the slug can't get
out to the 'net. I put the slug's IP in a DMZ in my router, but that
didn't help. Any suggestions?

Thanks!
rolandkbs
2006-02-07 13:01:16 UTC
Permalink
Please read here:
http://www.nslu2-linux.org/wiki/FAQ/IpkgUpdateDoesntWork

regards, Roland
Post by zvsmedia
Hello - I'm a relative newbie to the slug, but I've successfully
unslung it and overclocked it. The next project I'd like to
undertake is to upgrade samba to solve the problem with Outlook
corrupting files; I've found the fix but can't get ipkg to work
# ipkg install samba
Nothing to be done
An error ocurred, return value: 4.
Cannot find package samba.
Check the spelling or perhaps run 'ipkg update'
# ipkg install samba
Nothing to be done
An error ocurred, return value: 4.
Cannot find package samba.
Check the spelling or perhaps run 'ipkg update'
# ipkg update
Downloading http://ipkg.nslu2-
linux.org/feeds/unslung/cross/Packages.gz
Downloading http://ipkg.nslu2-
linux.org/feeds/unslung/native/Packages.gz
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/oe/Packages.gz
An error ocurred, return value: 3.
ipkg_download: ERROR: Command failed with return value 1: `wget --
passive-ftp
-q -P /tmp/ipkg-UXrmy5 http://ipkg.nslu2-
linux.org/feeds/unslung/cross/Packages
.gz'
ipkg_download: ERROR: Command failed with return value 1: `wget --
passive-ftp
-q -P /tmp/ipkg-UXrmy5 http://ipkg.nslu2-
linux.org/feeds/unslung/native/Package
s.gz'
ipkg_download: ERROR: Command failed with return value 1: `wget --
passive-ftp
-q -P /tmp/ipkg-UXrmy5 http://ipkg.nslu2-
linux.org/feeds/unslung/oe/Packages.gz
'
I'm probably off-base, but it almost seems like the slug can't get
out to the 'net. I put the slug's IP in a DMZ in my router, but that
didn't help. Any suggestions?
Thanks!
Øyvind Repvik
2006-02-08 10:53:25 UTC
Permalink
Post by zvsmedia
Hello - I'm a relative newbie to the slug, but I've successfully
unslung it and overclocked it. The next project I'd like to
undertake is to upgrade samba to solve the problem with Outlook
corrupting files; I've found the fix but can't get ipkg to work
[snip]
Post by zvsmedia
I'm probably off-base, but it almost seems like the slug can't get
out to the 'net. I put the slug's IP in a DMZ in my router, but that
didn't help. Any suggestions?
A couple of quick questions:

1. Does your /etc/resolv.conf point to valid nameservers?
2. Does your default route (route -n) point to your gateway?

Regards,
Øyvind

Loading...